Serverless Computing Flashcards
Serverless compute service that lets you run code without provisioning or managing the underlying servers
Lambda
Run code on demand with automated scaling
Lambda
Free tier of 1,000,000 requests and 400,000 GB of compute per month
Lambda
Built-in logging and monitoring by using CloudWatch
Lambda
Does lambda automatically scale the CPUs with memory?
Yes
Ideal for serverless short-term executions with unpredictable or inconsistent workloads
Lambda
Lambda time limit per execution
15 minutes
Environment that Lambda will run your code in
Runtime
Required if your Lambda function needs to make an AWS API call
Permissions (IAM Role)
Defines the amount of available memory allocated to your function
Resources
What starts Lambda code, alerts your lambda function to start
Trigger
Does Lambda integrate with EFS?
Yes
Lambda memory allocation
128mb-10gb
Lambda compressed deployment package size (.zip)
<= 50 mb
Lambda uncompressed deployment package size
<= 250mb
Lambda request and response payload size
up to 6 mb
Used to find deploy and publish their own serverless applications
Serverless Apps
AWS Sam Template
Application Code + manifest file
Standard unit of software that packages up code and all its dependencies used for flexibility, ease of use, ability to run on-premise
Container
Contains all the commands or instructions that will be sued to build an image for containers
Dockerfile
File used in containers that contains all files needed to run an application
Image
Stores docker images for distribution
Registry
Service that allows you to easily launch and manage docker containers running on AWS Compute
Elastic Container Service ECS
Container service used for extremely large-scale complex operations with thousands of containers
Kubernetes
AWS-managed version of Kubernetes used when not all in on AWS
Elastic Kubernetes Service (EKS)
Serverless compute engine for docker containers. Used when you have more consistent workloads
Fargate
Is their access to the underlying operating system in Fargate?
No
Allows you to pass events from a source and an endpoint
Amazon EventBridge
A recorded change in an AWS environment
Event
Used to match incoming events and send them to the appropriate targets
Rules
A router that receives events and delivers them to targets
Event Bus
Define an event source and event pattern that will trigger your rule
Event Pattern
Set up a recurring schedule for triggering your rule
Scheduled
Managed container image registry that offers secure, scalable and reliable infrastructure
Amazon Elastic Container Registry (ECR)
Private registry provided to each account that contains all docker images OCI images and OCI artifacts. Requires an Authentication token for pushing and pulling from registry
ECR
Helps identify software vulnerabilities in your container images within ECR
Image Scanning
Cross-region support, cross-account support. Configured per repository and per region
ECR
Integrates with ECS EKS Amazon Linux
ECR
Can you set lifecycle policies in ECR?
Yes
Prevents image tags from being overwritten in ECR
Tag Mutability
Kubernetes distribution based on and used by EKS that is managed by the customer
EKS-D
Service that allows you to manage Kubernetes (K8s) clusters on-premises (Lifecycle Policies)
EKS Anywhere
Services for deployment usage and management methods for clusters in data center. Based for EKS Anywhere
EKS Distro
What are cluster updates done by in EKS Anywhere
Manual CLI or Flux
Managed solution of management of container-based apps on-premises
ECS Anywhere
Does ECS Anywhere allow inbound traffic?
No
Required to be installed for ECS Anywhere
SSM Agent, ECS agent, Docker
provides a complete view of requests as they travel through your application and filters visual data across payloads, functions, traces, services, APIs, and more with no-code and low-code motions. (Application Insights)
AWS X-Ray
AWS-managed GraphQL interface for development. Which AWS service would meet this requirement?
AppSync
provides a robust, scalable GraphQL interface for application developers to combine data from multiple sources, including Amazon DynamoDB, AWS Lambda, and HTTP APIs
AppSync