ECS, Lambda, Batch, Lightsail Flashcards
Docker
Containers that can run on any OS
Docker images are found in…
Docker repositories
Public Docker Hub
Private Amazon ECR
Amazon ECR Acronym
Elastic Container Registry
ECS Acronym
Elastic Container Service
ECS purpose
Run Docker containers
What AWS service runs Docker containers?
ECS
Fargate
Run Docker containers on AWS without servers
Biggest benefit of Fargate
No need for EC2 instances
Where do you store docker images on AWS?
ECS
Serverless definition
Developers deploy without managing servers
FaaS
Function as a Service
Lambda purpose
Virtual functions
Short runs
On-demand
Automated scaling
Lamda pricing
Per request and compute time
Lamda benefits
Event-driven
Easy monitoring
Easy to get more resources
Which AWS service is event driven?
Lambda
Lamda Container Image
Containers must implement Lamda runtime
Lamda pricing per call
Pay per call
First 1 million free
.20 per 1 million requests after
Lamda pricing per duration
First 400,00GB seconds free (or 3.2 million seconds for memory
$1 for 600,000 GB seconds
Why is Lamda popular?
It’s cheap
Amazon API Gateway
Service to create API’s to AWS services like Lamda
API gateway API types
RESTful and WebSocket
AWS Batch
Batch processing service
Batch job defintion
Job that has a start and end
What types of instances does AWS Batch start?
ECS
Spot
What is a batch job for AWS?
Docker image run on ECS
Lamda vs. Batch
Lambda has time and space limits Serverless
Batch has no time limit
EBS storage
Relies on EC2
Lightsail
Simpler alternative to EC2, RDS, ELB, EBS, Route 53, etc.
Lightsail use cases
Simple web apps
Websites
Dev/Test
No autoscaling
Lightsail is good for which people?
People with no cloud experience