Other Compute Flashcards
AWS Lambda
Lambda is a Serverless service which gives you the capability of a Function as a service. It has seamless scaling, so from one invocation to 2000 invocations per second, and it is fully reactive.
Lambda Billing
You have to components of the billing for Lambda.
1) The time run multiplied by the RAM provisioned
2) The number of times your lambda function has been invoked.
Lambda Invocation time
Up to 15 minutes
Use Cases for Lambda
1) Create Thumbnails for images uploaded to S3
2) Run a serverless cron job
How to expose Lambda functions as APIs?
Use API Gateway to expose Lambda functions as HTTP API.
Docker
Container technology that allows you to run applications
How to run Docker on AWS?
1) Use ECS (Elastic Container Service) which allows you to run Docker containers on EC2 instances. In this scenario you have to provision the EC2 instances yourself.
2) Fargate allows you to run containers without provisioning the containers. That makes Fargate a serverless offering because you do not have to manage any EC2 instances to run these Docker containers.
Which Service allows you to store Docker containers on AWS
ECR (Elastic Container Registry) is a private docker images repository.
Which Service allows you to run Batch jobs on AWS across managed EC2 instances.
AWS Batch
AWS Lightsail
Amazon Lightsail is a cloud service offered by Amazon Web Services (AWS) that bundles cloud compute power and memory for new or less experienced cloud users.
Amazon Lightsail offers easy-to-use virtual private server (VPS) instances, containers, storage, databases, and more at a cost-effective monthly price.
Container technology that allows you to run applications
Docker
AWS Batch
Which Service allows you to run Batch jobs on AWS across managed EC2 instances.
AWS Fargate
Fargate allows you to run containers without provisioning the infrastructure. That makes Fargate a serverless offering because you do not have to manage any EC2 instances to run these Docker containers.
ECS
Use ECS (Elastic Container Service) which allows you to run Docker containers on EC2 instances. In this scenario you have to provision the EC2 instances yourself.
Which Service allows you to run Docker containers on EC2 instances. In this scenario you have to provision the EC2 instances yourself.
ECS