What does serverless mean?
Focus on the code and leave the management of compute architecture behind. AWS takes care of the physical data centers, the virtualization of computers. We are are responsible for the rest.
What are the benefits of serverless?
What are the two serverless compute options in AWS?
When given a scenario where one of the options is EC2 and the other is serverless, which would you recommend?
Serverless
What is Lambda?
AWS Lambda is a serverless compute service that lets you run your code without provisioning or managing the underlying servers
What are the five main settings are required when creating a Lambda function?
If you have a scenario where you need to automatically remove entries from a security group, start and stop instances, or do anything else that is built-in, what service would you use?
Lambda
What are the limitations of Lambda?
What are common services that can trigger a Lambda function?
When given a scenario where it asks what service would be best for writing microservices, what would you recommend?
Lambda
If you are given a scenario where you have a Lambda that needs access to private architecture (private database or private API), what would you recommend?
Run your Lambda in a VPC
What is the AWS Serverless Application Repository?
What are the two options you have in the AWS Serverless Application Repository?
What is a container?
A container is a standard unit of software that packages up code and all its dependencies, so the application runs quickly and reliably from one computing environment to another.
A running copy of an image.
In terms of containers, what is a Dockerfile?
Text document that contains all the commands and instructions that will be used to build an image.
In terms of containers, what is an image?
Immutable file that contains the code, libraries, dependencies and configuration files needed to run an application.
In terms of containers, what is a registry?
Stores Docker images for distribution. They can be both private and public.
In terms of scenarios, what are important things to remember about containers?
What is ECS?
Elastic Container Service
What is an open-source alternative to ECS?
Kubernetes
How do you decide between using ECS and EKS?
ECS - proprietary AWS container management solution (best used when you are all in for AWS and looking for something simple)
EKS - AWS managed version of open-source Kubernetes container managed solution (best used when you are not all-in on AWS, because it is more work to configure and integrate with AWS)
Generally assume that in scenarios, ECS is the best option, with the only exception being if open-source, Kubernetes or running the container on-premises, then assume EKS is best.
If you see a scenario that talks about Kubernetes, what service would you recommend?
EKS (Elastic Kubernetes Service)
If you have a scenario that requires a long-running application, what service would you recommend?
ECS (Elastic Container Service)
What is Fargate?
AWS Fargate is a serverless compute engine for containers that works with both ECS and EKS