Other Compute Services: ECS, Lambda, Batch, Lightsail Flashcards
What is Docker
a Software development platform to deploy apps
apps are packaged in containers that can run on any OS
Where are docker images stored
In Docker Repositories
What is ECS and what does it do
Elastic Container Service . Launches Docker containers on AWS
You must provision and maintain the infrastructure
AWS takes care of starting/ stopping containers
Has intergrations with the Application Load Balancer
What is Fargate
Launches Docker containers without an EC2 instance
AWS just run containers for you based on the CPU/RAM you need
What is ECR
Elastic Container Registry
Private Docker Registry on AWS
Where you store your Docker images so they can be run by ECS or Fargate
What is Serverless
a new paradigm in which the developers dont have to manage servers anymore
What is Lambda
is a compute service that lets you run code without provisioning or managing servers.
What are the benefits of using Lambda
Easy pricing
Integrated with the whole AWS suite of services
Event Driven : functions get involed by AWS when needed
Easy monitoring through AWS CLoudWatch
Easy to get more resources per functions (up to 10GB of RAM!)
increasing RAM will also improve CPU and network
What is the preferred way of running arbitrary Docker images
ECS/ Fargate
What is a cron job
used to schedule commands at a specific time.
How is Lambda pricing calculated
Per call and per duration
What is a api gateway
Fully managed service for developers to easily creat, publish, maintain, monitor, and secure APIs
Serverless and scalable
Supports RESTFUL api and websocket api
Support for security, user authentication, API throttling, API keys, monitoring
What is AWS Batch
Fully managed batch processing at any scale
Will help schedule jobs
what is a batch job
a job with a a start and an end
Name the differences between Lambda and Batch
Lambda -Time limit -Limited runtimes -Limited temp disk space -Serverless Batch -No time limit -Any runtime as long as its packaged as a docker image -Rely on EBS / instance store for disk space -Relies on EC2 (can be managed by AWS)