Other Compute Services Flashcards
What is Docker?
Docker is a software development platform that allows you to deploy applications.
Applications are packaged into containers that can be run on any OS, and these containers can be scaled up and down very quickly.
Where are Docker images stored?
Docker images are stored in Docker Repositories.
What is Amzon ECS?
ECS = Elastic Container Service
Allows you to launch Docker containers on AWS on infrastructure (EC2) that you provision and maintain.
What is Amazon Fargate?
Allows you to launch Docker containers on AWS without having to provision infrastructure.
What is Amazon ECR?
ECR = Elastic Container Registry
It is a Private Docker registry on AWS and allows you to store Docker images to be run by ECR or Fargate.
What is Serverless?
Allows developers to simply deploy code or functions without needing to manage servers.
What is AWS Lambda?
Allows you to run virtual functions with no servers to manage.
What are the 5 benefits of AWS Lambda?
Easy Pricing - Payper request and compute time + very generous free tier
Integrated with the whole of AWS suite
Event-Driven: functions are invoked by AWS only when needed.
Integrated with many programming languages
East monitoring through CloudWatch
How is Lambda priced?
Pay per calls
Pay per duration (compute time)
It is very cheap to run AWS Lambda so it’s very popular
What is the Amazon API Gateway
Fully managed service for developers to easily create, publish, maintain, monitor and secure APIS.
What is AWS Batch?
Fully managed batch processing at any scale.
You submit or schedule the batch job and AWS will provision the right compute/memory (EC2 or spot instances) to run the job.
What is a batch job vs. a streaming?
A batch job is a job with a start and end date, as opposed to streaming which is continuous.
What is the difference between AWS Lambda and AWS Batch?
Lambda has a time limit, limited run time, limited temporary disk space, and is serverless.
Batch has no time limit and any runtime as long as it’s packaged as a Docker image. Relies on EBS for store space and EC2, though it is managed by AWS.
What is Amazon Lightsail?
AWS Service for users that have little to no cloud knowledge and want a low/predictable pricing to get started with Amazon. Packages Amazon services together.
You would like a serverless service to launch Docker containers with no infrastructure to provision. Which AWS service should you use?
Fargate allows you to launch Docker containers on AWS, and you don’t need to provision and maintain the infrastructure (=no EC2 instances to manage). It is serverless.