Introduction to Serverless and API Architecture
API Gateway, Lambda and event-driven designs that scale, stay secure and control cost.
- 10 lessons
- Module quiz
Serverless services remove servers from the design: AWS provides and scales the compute, and the customer pays for what is used. AWS Lambda runs code in response to events, Amazon API Gateway exposes APIs, and services such as Amazon SQS, Amazon SNS and Amazon EventBridge connect components. Serverless designs scale quickly and need little operational work, which makes them attractive for new applications and for modernising old ones.
At scale, however, serverless designs raise their own architectural questions. Which front door suits an API: a REST, HTTP or WebSocket API in API Gateway, an Application Load Balancer or a Network Load Balancer? How does a multi-step process keep its progress through failures and long waits? How is Lambda concurrency controlled so that a traffic spike does not overwhelm a database? How are failed events handled? And at what point would containers or instances be cheaper than Lambda?
Why it matters for the exam
These lessons cover most of Task 1.1, Design architectures built for the cloud, in Domain 1: messaging guarantees, stateless design, serverless data pipelines, durable workflows, event routing, ingress and edge patterns, real-time APIs and multi-tenant design. Questions usually turn on a specific requirement and ask for the managed feature that meets it with the least operational effort.
How this module is organised
Choosing an Ingress Front Door: API Gateway, ALB or NLB compares the ways of exposing an application. Architecting Lambda Applications at Scale and Choosing Event-Driven Integration Services explain serverless building blocks. Designing Durable Workflows with Step Functions and Lambda Durable Functions, Building Real-Time APIs with WebSockets and Publish-Subscribe, Routing Events Across Accounts and Regions with EventBridge, Designing Multi-Tenant SaaS Architectures with Tenant Isolation, Designing Stateless Applications with Externalised State, Building Serverless Data Pipelines with Kinesis, Lambda, Glue and Athena and Running Logic at the Edge with CloudFront Functions and Lambda@Edge cover the remaining cloud-native patterns.
- Choosing an Ingress Front Door: API Gateway, ALB or NLB Lesson 1
- Architecting Lambda Applications at Scale Lesson 2
- Choosing Event-Driven Integration Services Lesson 3
- Designing Durable Workflows with Step Functions and Lambda Durable Functions Lesson 4
- Building Real-Time APIs with WebSockets and Publish-Subscribe Lesson 5
- Routing Events Across Accounts and Regions with EventBridge Lesson 6
- Designing Multi-Tenant SaaS Architectures with Tenant Isolation Lesson 7
- Designing Stateless Applications with Externalised State Lesson 8
- Building Serverless Data Pipelines with Kinesis, Lambda, Glue and Athena Lesson 9
- Running Logic at the Edge with CloudFront Functions and Lambda@Edge Lesson 10
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 11 questions