Other Compute (ECS, Lambda, Batch, Lightsail) Flashcards
What is a software development platform for deploying apps?
Docker
What allows you to launch docker containers on AWS? What is the difference?
Elastic Container Service (via EC2)
Fargate (no EC2 = serverless)
What is a private docker registry used for docker images so that they can run on ECS or Fargate?
Elastic Container Registry
What serverless things have we seen?
S3, DynamoDB, Fargate, Lambda, Athena
What is a serverless service that runs on-demand, scales automatically, and has short execution?
Lambda
What is event-driven?
Lambda
How does Lambda pricing work?
Per call (First 1M requests free) & Duration
What is used to build a severless API?
API Gateway
What is a fully managed batch processing service that dynamically launch EC2 instances or Spot instances and result in Docker Images that run on ECS?
AWS Batch
What are the key differences between Batch vs. Lambda?
Lambda: • Time limit • Limited runtimes • Limited temporary disk space • Serverless
Batch:
• No time limit
• Any runtime as long as it’s packaged as a Docker image
• Rely on EBS / instance store for disk space
• Relies on EC2 (can be managed by AWS)
What is a great service for the following use cases but with little cloud experience?
- Simple web applications (has templates for LAMP, Nginx, MEAN, Node.js…)
- Websites (templates for WordPress, Magento, Plesk, Joomla)
- Dev / Test environment
Lightsail (predictable & low pricing)
What is a function-as-a-svc that is serverless? How does the billing, language support, invocation time, use cases, and API gateway work for this?
- Lambda Billing:
- By the time run x by the RAM provisioned
- By the number of invocations
- Language Support: many programming languages except (arbitrary) Docker
- Invocation time: up to 15 minutes
- Use cases:
- Create Thumbnails for images uploaded onto S3
- Run a Serverless cron job
- API Gateway: expose Lambda functions as HTTP API