Other Compute (Docker, etc.) Flashcards
1
Q
What is ECS?
A
- Elastic Container Service
- Ability to launch Docker containers or AWS
- You must maintain EC2 infrastructure to host containers
- AWS handles starting/stopping containers
- Integrates with Load Balancer
2
Q
What is Fargate?
A
- Simpler method to launch Docker containers
- Serverless Compute engine
- “Serverless” - AWS managers all infrastructure. Don’t have to manage EC2 instances
3
Q
What is ECR?
A
- Elastic Container Registry
- AWS private docker registry
- Store your docker images for use on ECS or Fargate
4
Q
What is Serverless?
A
- developers don’t have to provision and manage servers
- Pioneered by AWS Lambda
- Serverless does not mean there are no servers. AWS manages them behind the scenes
- Examples: S3, DynamoDB, Fargate, Lamda
5
Q
Why Use Lambda?
A
- Runs on demand
- Short executions
- Virtual functions (no servers! , No EC2)
- Automated Scaling
6
Q
What are the benefits of Lambda?
A
- Event-Driven: active only when needed *** Event
- Easy pricing - per call/request and compute time (duration)
- Large free tier
- Integrated with all AWS services
- AWS monitoring tools
- Remember not for Docker
- Use cases: thumbnail creation, CRON jobs
7
Q
What is AWS Batch?
A
- Fully managed batch processing at any scale
- batch dynamically launches EC2 instances or Spot instances
- You submit - Batch does the rest
- Batch jobs are run as Docker (containerized) images and run on EC2 / Fargate
8
Q
What is the difference between Lambda and Batch?
A
Lambda - time limit - serverless - limited run times Batch - No time limit - Any Docker runtime - Relies on EC2 and EBS
9
Q
What is Lightsail?
A
- Simplified cloud deployment for novices
10
Q
What is API Gateway?
A
- can create a serverless API to allow users to access Lambda