
Build a serverless API on AWS using the CDK. Install and configure the CDK, create the API gateway, connect to DynamoDB, and monitor the serverless API.
Install and configure the aws cli, create an admin IAM user, set credentials with aws configure, and verify access to manage cloud formation, CDK deployments, and API gateways.
Deploy an aws cdk project to your account using cdk deploy, with cloudformation translating yaml/json definitions into infrastructure. Extend the stack with constructs to build an api gateway.
Provision an API gateway with CDK by installing the API gateway package, creating a REST API root and a GET method, then deploy with Siddiqui.
Provision a serverless api with AWS CDK, api gateway, and Lambda by creating a users resource, wiring a Lambda handler, deploying, testing responses, and planning Dynamo DB integration.
Read data from DynamoDB with AWS Lambda by scanning the table and returning mapped items; deploy with CDK and grant read permissions, using an environment variable for the table name.
Learn to monitor a serverless API by enabling CloudWatch logs and X-Ray on API gateway stages, configuring log groups, and logging Lambda events for actionable insights.
This course walks you through building a serverless REST API on AWS — one that scales from your first request to millions without you touching the infrastructure.
You'll define the entire stack as Infrastructure as Code with AWS CDK, so every resource is versioned, repeatable, and easy to tear down when you're done. By the end you'll have a working project with:
A REST API exposed through AWS API Gateway
Lambda functions handling each route, scaling on demand
A DynamoDB table for storage, with no servers to manage
A CDK codebase you can fork and extend for your own ideas
Why this stack
Serverless on AWS gives you something traditional servers can't: you pay only for what you use, and the platform handles the scaling for you. If a side project suddenly takes off, the API keeps responding while you sleep. If nobody touches it for a month, the bill stays near zero.
CDK is what ties it together. Instead of clicking through the AWS console or writing thousands of lines of CloudFormation YAML, you describe your infrastructure in TypeScript and let CDK generate the deployment.
What you should already know
Some JavaScript or TypeScript, and a rough sense of how HTTP and cloud services work. You don't need prior AWS experience — we'll set up the account and tools together in the first lessons.
What this course doesn't cover
This isn't a deep dive into IAM hardening, VPC networking, or multi-region failover. The goal is to get you fluent with the core serverless pattern. Once you have that, the rest is much easier to pick up on your own.