
Gain a basic understanding of types, interfaces, functions, imports, and objects in JavaScript and TypeScript, set up an AWS account, install Node.js, and access the course repository on GitHub.
Toggle video quality to 720p in the settings to resolve auto resolution issues, improving readability. Note that transcripts may not match, and no fix is available.
Encourage learners to write a brief course review, sharing what they like or dislike to help improve future AWS CDK v2 with TypeScript – build and deploy projects.
Set up a working AWS account using the readme link or aws.amazon.com. A valid credit card is required, with some free services and optional multi-factor authentication for security.
Lock a region in the AWS console to ensure consistent results, then create a monthly budget with email alerts to monitor costs in billing and cost management.
Set up an AWS IAM CLI user to securely deploy CDK resources from the command line, attaching administrator access and generating access keys.
Create your first CDK project by running cdk init app with TypeScript in a new folder, and avoid numeric folder names to prevent stack name errors.
Explore the AWS CDK v2 with TypeScript boilerplate, including the first stack, app and bin setup, constructors, scope and props, and deployment workflows using build, deploy, diff, and synth.
Explore AWS S3, the simple storage service, a scalable, highly durable cloud storage with buckets as its foundation, and learn to create and manage them in the first CDK stack.
create the first S3 bucket with AWS CDK v2 and TypeScript, configuring the bucket construct with scope, id, and optional props, then deploy the stack.
Learn how to deploy your first AWS CDK v2 stack with TypeScript by building, synthesizing a CloudFormation template, bootstrapping the region, and deploying to AWS.
Removing a cdk stack may destroy or retain resources depending on each service’s default removal policy, so set destroy where you want cleanup and empty s3 buckets first.
Learn how to troubleshoot AWS CDK v2 with TypeScript by handling common errors during deploy and destroy, such as unique bucket names, CloudFormation events, and auto delete objects.
Build a lightweight, serverless backend API on AWS that scales, featuring dynamic routes, environment variables, and secure access to sensitive data using API Gateway, AWS Lambda, and Secrets Manager.
Explore how AWS Lambda enables serverless compute by running small functions in response to events, such as API requests or file uploads, with automatic scaling and no infrastructure management.
Create a TypeScript AWS CDK v2 project, build a Lambda function with a Node.js runtime, and deploy it with an API gateway and Secrets Manager.
API gateway acts as a front door for applications, providing http api for speed and lower cost and rest api for advanced features; both are fully managed and scale automatically.
Learn to test a post route in a CDK v2 TypeScript project by sending a JSON body to /profile, checking CloudWatch logs, and validating echoed username with Rest client.
Connect a Next.js front end to an AWS CDK v2 API and fix CORS with preflight allowing origins, methods, and headers. Deploy and test get and post calls.
Learn how to access environment variables in lambda functions using process.env, set them in CDK or the AWS console, and deploy with CDK.
Explore AWS Secrets Manager to store, access, and rotate sensitive data with KMS encryption and AWS SDK. Set up with CDK and manage access via IAM for Lambda, EC2, containers.
Learn how to create and manage secrets with AWS Secrets Manager in CDK v2 using TypeScript, share secrets across stacks, access the secret arn, and deploy all stacks with dependencies.
Build a users API in an AWS CDK v2 TypeScript project by creating a single Lambda behind API Gateway routes for /users and /users/{id}, with faker and uuid for data.
Explore how DynamoDB, a fully managed NoSQL database, stores and retrieves data at any scale for serverless apps, highlighting schema-less tables, primary keys, and seamless Lambda and API gateway integration.
Test and verify your AWS CDK v2 deployed stack by exercising the user endpoints, creating, updating, and deleting users, and validating the front-end integration with the backend.
Build and deploy a product management system with AWS CDK v2 and TypeScript. Create, fetch, and delete products using API gateway, Lambda, DynamoDB, and S3 with image uploads.
Initialize a CDK v2 TypeScript project, scaffold lambdas for create, get all, and delete product, and wire a DynamoDB table, S3 bucket, and HTTP API gateway v2.
Define product and product record types, then implement a DynamoDB-backed upload flow that validates input, generates a uuid, uploads the image to S3, and builds an image URL with logging.
Create a product workflow by uploading an image to S3, building a DynamoDB item with id, name, description, price, image URL, and timestamps, and deploy the CDK stack.
Create a get all products lambda using DynamoDB document client to scan the product table, sort by createdAt, return 200 with products, and handle 500 errors, deployed with CDK.
Configure block public access for the product images bucket, create an IAM policy to allow s3 getObject, and deploy the stack with CDK to enable image access.
Initialize the CDK app, install Axios and the SQS SDK, and set up producer and consumer lambdas for an orders API with an API gateway v1 post route.
Test the prod stage of AWS API gateway, validate Lambda responses with HTTP requests, and observe a two-second delay. Explore concurrency limits and Axios requests as prep for SQS integration.
Discover AWS SQS, a fully managed message queue that enables sending, storing, and receiving messages between app components asynchronously, with standard and FIFO options and transparent pricing.
Demonstrates integrating SQS with a TypeScript CDK v2 stack by sending an order ID to a queue using the SQS client, offloading processing to a consumer and speeding responses.
Set the batch size to ten to limit received messages, observe records array growing to ten, deploy the stack, and verify log group shows batches can be up to ten.
Course Description – AWS CDK v2 with TypeScript: Build and Deploy Projects
This course is a hands-on journey into AWS Cloud Development Kit (CDK) v2 with TypeScript, designed to help you master Infrastructure as Code (IaC) while building real-world, production-ready stacks. Instead of manually writing CloudFormation templates, you’ll define AWS infrastructure using TypeScript, synthesize it to CloudFormation, and deploy it with the ease of a modern programming workflow.
You’ll start by setting up your AWS environment—creating your account, configuring budgets to prevent surprise costs, setting up IAM users for CLI access, and installing the AWS CLI and CDK. You’ll learn how to initialize and structure CDK projects, understand stack definitions, and work with deployment commands like cdk deploy, cdk diff, and cdk synth.
From there, the course walks you through a progressive series of projects, each introducing new AWS services and design patterns:
S3 Bucket Stack – Create secure, private S3 buckets with proper removal policies and lifecycle management. Learn about static website hosting, public access configurations, and deployment troubleshooting.
API Gateway + Lambda + Secrets Manager Stack – Build HTTP APIs with Lambda backends, manage environment variables, handle CORS, and securely store and retrieve secrets. Explore how to structure Lambda handlers, integrate with API Gateway routes, and enforce cross-stack dependencies.
Users API with DynamoDB – Design a RESTful API for user management with API Gateway, Lambda, and DynamoDB. Implement CRUD operations, generate test data, and manage permissions. Learn about partition keys, billing modes, and DynamoDB query best practices.
Product Management Stack – Combine DynamoDB for product data and S3 for image storage, building APIs for product creation, retrieval, and deletion. Manage IAM permissions, handle file uploads, and optimize Lambda execution for performance.
Event-Driven Workflows with SQS – Integrate Amazon Simple Queue Service (SQS) into a document processing pipeline with Lambda and API Gateway, ensuring reliable, decoupled communication between services.
Throughout the course, you’ll gain experience in:
Designing scalable, maintainable CDK stacks.
Managing multiple stacks and their dependencies.
Using NodejsFunction for automatic TypeScript bundling with esbuild.
Configuring resource policies for safe deletion in development and data retention in production.
Understanding AWS service pricing models and cost optimization strategies.
Handling common deployment errors and using troubleshooting techniques.
By the end, you’ll have a portfolio of deployed AWS projects, a strong grasp of CDK fundamentals, and the ability to design and deploy complex cloud architectures in a repeatable, version-controlled manner. Whether you’re aiming to enhance your DevOps skills, automate infrastructure deployments, or build cloud-native applications, this course gives you the practical knowledge and confidence to do it efficiently with AWS CDK v2 and TypeScript.