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)
How do we create a rule for EventBridge?
We must define a pattern (what triggers it), select event bus, select your target, and tag it
What is the fastest way to respond to API calls?
EventBridge
What is Amazon ECR?
Elastic Container Registry is a managed registry that offers secure, scalable, and reliable infrastructure
Can you have private and open container repositories in ECR?
Yes
What is EKS Distro?
A Kubernetes distribution based on and used by Amazon EKS
What is the difference between EKS Distro and EKS?
EKS Distro is managed by you where EKS is managed by Amazon
If you need self-managed Kubernetes deployments, what should you use?
EKS Distro
What is EKS Anywhere?
An on prem way to manage Kubernetes clusters with the same practices used for Amazon EKS
What is ECS anywhere?
A feature within ECS that allows AWS managed container orchestration on prem
What are the requirements for ECS Anywhere?
Must have SSM agent, ECS agent, and Docker installed
What is Aurora serverless?
an on demand and auto scaling configuration for the Amazon Aurora database
What is AWS X-Ray?
collects application data for viewing, filtering, and gaining insights about requests and responses
What is AWS X-Ray?
collects application data for viewing, filtering, and gaining insights about requests and responses
If you wanted to view downstream response times for applications, what should you use?
AWS X-ray
What is AWS AppSync?
A robust and scalable GraphQL interface for application developers
What are lifecycle policies in regards to Amazon ECR?
allows you to manage the lifecycle of the images in your repositories
What is Scan on Push in regards to ECS?
image scanning that helps identify software vulnerabilities in your container images.
Can you enable tag immutability in ECR?
Yes
Can you configure the operating system in a serverless application?
No
What is a really common trigger for AWS Lambda?
EventBridge
What is the maximum amount of time Lambda can run?
15 minutes
How can you run Fargate without needing ECS or EKS?
You can’t