Other Computer Services: EC2, Lambda, Batch, Lightsail Flashcards
What is docker?
Docker is a software development platform to deploy apps. Scales up and down
What are apps in docker?
They run the same regardless of where they’re run
Can you run multiple docker apps running on a single EC2 instance?
Yes
Where are docker images stored?
Docker Repositories
- Public: Docker Hub
- Private: Amazon ECR (Elastic Container Registry)
Docker vs virtual machine?
Resources are shared with the host => many containers on one server
What is ECS?
Elastic Container Service. Used to launch docker containers on AWS
What is your responsibility with ECS?
You must provision and maintain the infrastructure (the EC2 instances)
What is AWS’s responsibility with ECS?
AWS takes care of starting/stopping containers
Does EC2 have integrations with ALB?
Yes
What is Fargate?
Used to launch docker containers on AWS, but you do not need to provision the infrastructure. (server-less)
What is ECR?
Elastic Container Registry. Private Docker Registry on AWS. You store your images here so you can run them on ECS or Fargate
What is serverless?
Server-less is a new paradigm in which the developers don’t have to manage servers anymore. Includes anything that is managed.
Does server-less mean there are no servers?
No, you just don’t manage / provision / see them
Which of these are server-less?
- Amazon S3
- DynamoDB
- Fargate
- Lambda
- EC2
- RDS
- Amazon S3
- DynamoDB
- Fargate
- Lambda
Why use AWS Lambda over EC2?
- No functions to manage
- Limited by time - short executions
- Run on-demand
- Scaling is automated