Serverless
What serverless means, the serverless services on AWS, a typical serverless web application, and the map of this group.
What it is
Serverless is a way of building applications where developers don't manage servers anymore. They just deploy code, or functions.
- At first, serverless meant FaaS (Function as a Service), pioneered by AWS Lambda.
- Today it includes anything managed where the customer doesn't provision capacity: databases, messaging, storage and more.
- Serverless doesn't mean there are no servers. It means the customer doesn't manage, provision or even see them. Billing is per use, and capacity scales by itself.
Serverless on AWS
Services covered in earlier groups, and some in this group:
- AWS Lambda (functions) and AWS Fargate (containers);
- DynamoDB and Aurora Serverless (databases);
- Amazon S3 (storage);
- Cognito (users), API Gateway (APIs);
- SNS, SQS, Data Firehose, Step Functions (integration).
A typical serverless web app:
- Users load the static content (HTML, JavaScript, images) from S3, usually through CloudFront.
- They log in with Cognito.
- The app calls a REST API on API Gateway.
- API Gateway runs Lambda functions with the business logic.
- Lambda reads and writes DynamoDB.
Nothing runs (or costs much) when nobody uses it, and every part scales on its own.
In this group
AWS Lambda
Functions on demand: languages, integrations, examples, pricing.
Lambda limits and concurrency
Limits, throttling, cold starts, provisioned concurrency, SnapStart.
Lambda networking and RDS
Lambda in a VPC, RDS Proxy, invoking Lambda from a database.
Amazon API Gateway
REST, HTTP and WebSocket APIs, endpoint types, security.
AWS Amplify and Device Farm
Build and host web and mobile apps, and test them on real devices.
Serverless Application Repository
Find, share and deploy ready-made serverless apps.
Related serverless topics live in other groups: DynamoDB, Step Functions, Cognito, edge functions and Fargate.
Exam tips
- "No servers to manage", "pay only for what you use", "scales automatically" → a serverless design (Lambda, API Gateway, DynamoDB, S3, Fargate).
- "Serverless REST API" → API Gateway + Lambda (+ DynamoDB).
- "Least operational overhead" usually points to the serverless option.
Common traps
- "Serverless means no servers at all." AWS runs them; the customer doesn't manage them.
- "Serverless is only Lambda." DynamoDB, S3, SQS, SNS, Fargate and many more are serverless too.
AWS documentation
Amazon EKS
Amazon EKS as managed Kubernetes, how a cluster is laid out, node types including EKS Auto Mode, storage with CSI drivers, and running containers on premises with ECS Anywhere, EKS Anywhere and EKS Distro.
AWS Lambda
What AWS Lambda is and why it differs from EC2, its languages and container images, its main integrations, two classic examples, and how it's priced.