Serverless Architecture Flashcards
What are the benefits of serverless?
Ease, event based, pay as you go
Ceteris paribus, is serverless or traditional architecture better?
serverless
What is Lambda?
a serverless compute service that lets us run code without provisioning or managing the underlying servers. Kinda like running code without computers
What is a runtime in regards to Lambda?
The language you wrote the code in
If your Lambda makes API calls, what do you need?
Permissions
What begins a Lambda function?
A trigger
Can Lambda run inside and outside a VPC?
Yes
What is the AWS Serverless Application Repository?
Allows users to easily find, deploy, or even publish serverless applications
When you publish with AWS Serverless Application Repository, what are you doing?
Making the app available for others to deploy.
When you deploy with AWS Serverless Applicaiton Repository, what are you doing?
You are finding others applications and deploying those
How do you define apps with AWS Serverless Application Repository?
SAM Templates
Are published SAM Templates public by default?
No, private
What is a really helpful tool to migrate from on prem to AWS (hint: it utilizes dockerfiles?
containers
What is EKS?
Kubernetes is an open source container management service. EKS is amazon’s way to integrate Kubernetes.
What is ECS?
Elastic container service allows us to manage thousands of containers
Does ECS integrate with ELB?
Yes, containers come online with to the appropriate load balancer
Can containers have roles attached to them in ECS?
Yes
If you need a service to manage containers on prem and in the cloud, what should you use?
EKS
If you need a container management service that is just for AWS, what should you use?
ECS
What does AWS Fargate do?
a serverless compute engine for containers that works with ECS and EKS
Is Fargate cheaper than maintaining the EC2 instances yourself?
No
Should long running containers use Fargate?
Typically no
When should you use Fargate instead of Lambda?
When you have consistent workloads
What is Amazon EventBridge?
A serveless service that allows you to pass events from a source to an endpoint (formerly know as cloudwatch events)