
Dear Learner,
The slides refered to in the lecture are uploaded here. Please use the one with latest date.
The code and any other artifact are uploaded in the respective lectures.
Please message me if anything is missing or you find any anamoly.
Thank you for the support
Regards
Rahul Trisal
Explore how aws CloudFormation uses json or yaml templates to automate infrastructure, learn about templates and stacks, and see how cdk converts code into a CloudFormation template to create stacks.
Explore the core CDK concepts—app, stacks, constructs, and resources—showing how a CDK app synthesizes to a cloud formation template and deploys via the CLI.
The code uploaded for this lecture includes code for Lambda, Environment Variables and CloudWatch
The code for this lecture has been uploaded in the lecture where we created the lambda function(Lecture 11)
The code for this lecture has been uploaded in the lecture where we created the lambda function(Lecture 11)
Build an S3 bucket, IAM role, Lambda, and API gateway with AWS CDK v2 to power a fictitious banking app that shows balance status.
Create an IAM role in a CDK v2 stack, configure the Lambda service principal, and attach an S3 full access policy. Deploy the stack and verify the CloudFormation output.
Develop a Lambda function with an IAM role and S3 bucket in CDK v2, using Python to read JSON data and expose an API response.
Watch the last optional lecture to learn more about the Python code in the services folder. The course focuses on CDK and omits the application code.
Create a rest api backed by a lambda using CDK v2, configure deployment, add bank status get method, test via the invoke URL, and destroy the stack.
Learn how to add EC2 user data in CDK v2, bootstrap a web server with a boot script, and deploy while handling status checks and http access.
Explore how AWS CodeWhisperer, a generative AI tool powered by a large language model, generates code from natural language in VS Code for AWS CDK projects, with 30% development-effort reduction.
Create a vpc and an rds mysql instance with aws cdk v2 and CodeWhisperer, importing ec2 constructs, configuring subnets, and deploying to observe CloudFormation outputs.
Explore the three CDK constructs—L1, L2, and L3—and compare CFN mappings, default-driven L2 resources, and pattern-based L3 constructs with S3, VPC, and API gateway examples.
Learn to provision S3 buckets with AWS CDK v2 using L1, L2, and L3 constructs, configuring bucket name and versioning, and deploy with CloudFormation and CDK.
Learn to create an L3 construct by wiring the aws api gateway to a lambda rest api with lambda proxy integration, including deployment and the invoke url.
Build and deploy a CI/CD pipeline for AWS CDK v2 by bootstrapping the environment, initializing a TypeScript CDK app, and deploying a lambda through CodePipeline using GitHub.
Implement serverless workflow with S3, Lambda, and DynamoDB. Load daily fee data (json or csv) into S3, trigger Lambda via event notification, and write to DynamoDB with IAM role.
Create an IAM role for a Lambda in a CDK v2 project, attach S3, DynamoDB, and CloudWatch policies, and deploy the stack end-to-end.
Explore how the Lambda code in the services folder operates, with detailed explanations in the optional last lecture; the course emphasizes CDK over application code.
Learn to create an S3 bucket with a unique name, configure an S3 event notification to invoke a Lambda function, and deploy the CDK stack end-to-end, including CloudFormation resources.
Explore optional lambda code in the services folder, showing json string to bytes conversion, serialization with loads and dumps, and inserting data into DynamoDB via an S3-triggered flow.
AWS Cloud Development Kit (CDK) v2 - Beginner to Advanced
New Sections Included
Included a Section on AWS Generative AI Tool - AWS CodeWhisperer to auto generate CDK Code with exceptional results (Section 7)
CDK Advanced Concepts - Cross App and Multi-Stack Resource Sharing using AWS SSM, CfnOutput (Section 11)
Section on L1, L2 and L3 Constructs (Section 8)
Welcome to the most comprehensive AWS Cloud Development Kit (CDK) - V2 on Udemy from an instructor with actual enterprise hands-on implementation experience migrating large number of workloads for Fortune 100 companies using AWS CDK V2.
This is a course for AWS CDK Beginners planning to gain expertise in provisioning AWS Resources using AWS CDK v2 in Typescript with no previous coding experience or experience in a different programming language.
Includes a Section on AWS Generative AI Tool - AWS CodeWhisperer to auto generate CDK Code with exceptional results.
It starts from absolute basics on AWS CDK v2, then builds on that to create AWS Resources using AWS CDK and finally culminating in developing advanced three real-world enterprise use case, developing the CI-CD Pipeline using AWS CDK and deploy AWS services developed using CDK through the pipeline and finally share the best practices from Real World Enterprise Cloud Migration using CDK.
If you are an advanced user of TypeScript and /or AWS CDK , please review the course content to determine suitability as this course will start from absolute basics.
I strongly believe this is the best AWS CDK V2 course on Internet. If you are looking to learn AWS CDK, try out the course and you will be amazed to see how much you can learn through a 5 hour course. If you donot like it, comes with 30 day money back guarantee from Udemy.
This course has been written in CDK V2 unlike other courses which were written in CDK V1 and then retrofitted to CDK V2.
Section 1 : Introduction
Course Outline
Section 2 : AWS CDK v2 - Setup and Pre-Requisites
AWS CDK Setup
Section 3 : AWS CDK - Basic Concepts
Evolution of AWS Infrastructure as Code
AWS CloudFormation - Overview
What is AWS CDK and Benefits
AWS CDK - Basic Concepts
AWS CDK - Project Structure
Section 4 : AWS Service Creation using AWS CDK v2 - S3, DynamoDB, Lambda and CloudWatch
Create S3 using AWS CDK v2
Create DynamoDB using AWS CDK v2
Create Lambda using AWS CDK v2
Create CloudWatch Alarm using AWS CDK v2
CDK Removal Policy - Removal, Retain and Snapshot
Part 5 : Serverless Use Case 1 - API Gateway, Lambda and S3
Architecture for Serverless Use Case
S3 Bucket creation with CDK v2
IAM Role and S3 creation with CDK v2
Lambda, IAM Role and S3 creation with CDK v2
API Gateway, Lambda, IAM Role and S3 creation with CDK v2
Optional (How to write the Lambda Code) - From my Udemy Course on AWS Lambda
Part 6 : Use Case 2 : Web Server - VPC, Subnets, EC2 and UserData
Architecture for WebServer Use Case
VPC, Subnets and Other VPC Components
Security Groups
EC2 Instance
Adding UserData to EC2 Instance
Part 7 : Generative AI Coding Tool - AWS CodeWhisperer
AWS CodeWhisperer - Overview
AWS CodeWhisperer - Installation
Create S3 Bucket with Auto Code Generation Tool - AWS CodeWhisperer
Create AWS VPC with Auto Code Generation Tool - AWS CodeWhisperer
Create RDS Instance with Auto Code Generation Tool - AWS CodeWhisperer
Part 8 : AWS CDK - Intermediate Concepts 1 - L1, L2 and L3 Constructs
L1, L2, L3 Constructs - Theory
L1 and L2 Constructs - Hands On
L3 Constructs - Hands On
Part 9 : CI-CD Pipeline : Creating and Deploying AWS CDK Apps using CI-CD Pipeline
Architecture for Serverless Use Case
IAM Role Creation for Use Case
Deploying AWS Services using the CI-CD Pipeline
Part 10 : Serverless Use Case 2 - S3, Lambda and DynamoDB
Introduction - Implementing Serveless Use Case 2
Create IAM Role using AWS CDK v2
Create Lambda using AWS CDK v2
Create S3 using AWS CDK v2
Create DynamoDB using AWS CDK v2
Optional (How to write the Lambda Code) - From my Udemy Course on AWS Lambda
Part 11: CDK Advanced Concepts - Cross App and Multi-Stack Resource Sharing
Need for Resource Sharing - Theory
AWS System Manager - Overview Theory
Strategies for Resource Sharing across Apps and Stacks - Theory
Strategy 1 : Using SSM Parameter Store for Resource Sharing across Apps
Strategy 2 : Using CfnOutput for Resource Sharing across Apps
Strategy 3 - Multi Stack Deployment (Same App) - Theory
Part 12: CDK Best Practices : 10 Best Practices based on my learnings from App Migrations
AWS CDK - 10 Best Practices
Part 13: CDK Additional Concepts - Termination Protection, CDK Commands and Outputs
Outputs in CDK
Summary of AWS CDK Commands
Multi-Stack Deployment
CDK - Termination Protection
Part 14 : AWS CDK Testing : Fine-Grained Assertions Tests and Snapshot Test
AWS CDK Testing : Fine-Grained Assertions Tests
AWS CDK Testing : Snapshot Tests
HandsOn AWS Services Covered in the Course using CDK v2:
AWS Lambda
S3
S3 Event Notification
API Gateway
DynamoDB
CloudWatch
CloudWatch Alarm
IAM Role
VPC
VPC Subnets, Internet Gateway and Route Tables etc.
Security Group
EC2 Instances and UserData
AWS System Manager
CI-CD Pipeline
Deploying AWS Services developed using CDK v2 through CI-CD Pipeline
AWS CDK Testing : Fine-Grained Assertions Tests
AWS CDK Testing : Snapshot Tests