Other Compute Services Flashcards
1
Q
What do you know about Elastic Container Service?
A
- launch docker container on AWS
- you must provision & maintain the infrastructure (the EC2 instances)
- AWS takes care of starting / stopping containers
- has integrations with the Application Load Balancer
2
Q
What do you know about Fargate?
A
- launch docker containers on AWS
- you do not provision the infrastructure (no EC2 instances to manage) -> simpler!
- serverless offering
- AWS just runs containers for you based on the CPU / RAM you need
3
Q
What do you know about Elastic Container Registry (ECR)?
A
- private docker registry on AWS
- this is where you store your docker images so they can be run by ECS or Fargate
4
Q
What does “serverless” mean?
A
- paradigm in which the developers don’t have to manage servers anymore
- it doesn’t mean, that there are no servers
- developers just deploy code (just deploy functions)
- initially serverless means FaaS (Function as a Service)
5
Q
What do you know about Amazon Lambda?
A
- virtual functions - no servers to manage!
- limited by time - short executions
- run on-demand
- scaling is automated
- pay per request and compute time
- event-driven: functions get invoked by AWS when needed
- integrated with the whole AWS suite of services
- integrated with many programming languages
- easy monitoring through AWS CloudWatch
- easy to get more resources per functions (up to 3GB of RAM)
- increasing RAM will also improve CPU and network
6
Q
What do you know about Amazon API Gateway?
A
- fully managed service for developers to easily create, publish, maintain, monitor and secure APIs
- serverless and scalable
- support RESTful APIs and Websocket APIs
- support for security, user authentication, API throttling, API keys, monitoring…
7
Q
What do you know about AWS Batch?
A
- fully managed batch processing at any scale
- efficently run 100000s of computing batch jobs on AWS
- a batch job is a job with a start and an end (opposed to continous)
- batch will dynamically launch EC2 instances or Spot instances
- AWS Batch provisions the right amount of compute / memory
- you submit or schedule batch jobs and AWS Batch does the rest
- batch jobs are defined as Docker images and run on ECS
- helpful for cost optimizations and focusing less on the infrastructure
8
Q
What do you know about Amazon Lightsail?
A
- virtual servers, storage, databases and networking
- low & predictable pricing
- simpler alternative to using EC2, RDS, ELB, EBS, Route 53…
- great for people with little cloud experience!
- can setup notifications and monitoring of your lightsail resources
- has high availability but no auto-scaling, limited AWS integrations
9
Q
Name three use cases for Amazon Lightsail
A
- simple web applications (has templates for LAMP, Nginx, MEAN, Node.js …)
- websites (templates for WordPress, Megento, Plesk, Joomla)
- Dev / Test environment