We may earn an affiliate commission when you visit our partners.
Rahul Trisal

AWS Cloud Development Kit (CDK) v2 - Beginner to Advanced

New Sections Included

Read more

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

  • 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

  • I strongly believe this is the best If you are looking to learn 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

  • 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

Enroll now

What's inside

Learning objectives

  • Learn provisioning and deploying resources using cloud development kit - cdk v2 (using typescript) - no previous coding experience in typescript required
  • Using aws cdk, provision s3, dynamodb, lambda, cloudwatch, api gateway, iam
  • Section on aws generative ai tool - aws codewhisperer to auto generate cdk code with exceptional results.
  • Use case 1 - provision a banking serverless application - aws api gateway, lambda and s3 using aws cdk v2
  • Use case 2 : provision retail enterprise serverless application - api gateway, lambda, dynamodb using aws cdk v2
  • Learn to create aws ci-cd pipeline using cdk and deploy aws services usning the ci-cd pipeline built using cdk
  • Learn the cdk best practices based on real world migrations experience of the instructor in migrating large number of apps from on-premise to aws using cdk v2
  • Use case 3 : provision a web server with vpc, subnets, security group, ec2 and userdata using aws cdk v2
  • Learn the fundamentals and advanced concepts of the aws cdk and typescript
  • Learn concepts related to multi-stack deployment and outputs
  • Aws cdk testing : fine-grained assertions tests and snapshot test
  • I strongly believe this is the best aws cdk v2 course on internet. try out the course, if you donot like it, comes with 30 day money back guarantee from udemy.
  • If you are an advanced user of typescript and aws cdk , please review the course content to determine suitability as this course will start from absolute basics
  • Aws cdk - intermediate concepts 1 - l1, l2 and l3 constructs demos
  • Strategies for resource sharing across apps and stacks using aws ssm, cfnoutput and multistack
  • Show more
  • Show less

Syllabus

AWS CDK v2 - Course Introduction and Download Course Slides

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

Read more
AWS CDK v2 - Setup
AWS CDK - Basic Concepts
VPC, Subnets and Other VPC Components
Evolution of AWS Infrastructure as Code
AWS CloudFormation - Overview
What is AWS CDK and Benefits
AWS CDK - Project Structure
AWS Service Creation using AWS CDK v2 - S3, DynamoDB, AWS Lambda and CloudWatch
Create S3 bucket using AWS CDK v2
Create DynamoDB using AWS CDK v2

The code uploaded for this lecture includes code for Lambda, Environment Variables and CloudWatch

Important - Course Rating and Feedback

The code for this lecture has been uploaded in the lecture where we created the lambda function(Lecture 11)

AWS CDK Removal Policy - How to Destroy or Retain AWS Resources using CDK
Use Case 1 - API Gateway, Lambda and S3
Architecture for Serverless Use Case
S3 Bucket creation with CDK v2
IAM Role and S3 Bucket with CDK v2
Lambda, IAM Role and S3 creation with CDK v2
Lambda Application Code
API Gateway, Lambda, IAM Role and S3 creation with CDK v2
Optional Lecture - Explanation of Lambda Code in Services Folder
Use Case 2 - Web Server - VPC, Subnets, EC2 and UserData
Architecture for Web Server Use Case
Security Group
EC2 Instance
EC2 UserData and Demo
Generative AI Coding Tool - AWS CodeWhisperer
AWS CodeWhisperer - Overview
Installing AWS CodeWhisperer
Create S3 Bucket using AWS CodeWhisperer
Create VPC and RDS Instance using AWS CodeWhisperer
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
CI-CD Pipeline : Creating and Deploying AWS CDK Apps using CI-CD Pipeline
Building and Deploying a CI-CD Pipeline using AWS CDK v2
Deploying AWS Services using the CI-CD Pipeline
Use Case 3 - S3, Lambda and DynamoDB
IAM Role Creation for Use Case
Lambda Function and IAM Creation
Lambda - Application Code
S3, Lambda Function and IAM Creation
DynamoDB, S3, Lambda Function and IAM
End to End Demo - DynamoDB, S3, Lambda Function and IAM
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 - Part 1
Strategy 1 : Using SSM Parameter Store for Resource Sharing across Apps - Part 2
Strategy 2 : Using CfnOutput for Resource Sharing across Apps - Part 1
Strategy 2 : Using CfnOutput for Resource Sharing across Apps - Part 2
Strategy 3 - Multi Stack Deployment (Same App) - Theory
Strategy 3 - Multi Stack Deployment (Same App) - HandsOn
CDK Best Practices : 10 Best Practices based on my learnings from App Migrations
10 Best Practices based on my learnings from Enterprise Application Migrations
CDK Additional Concepts - Termination Protection, CDK Commands and Outputs
CDK - Termination Protection
Summary of AWS CDK Commands
Outputs in CDK
AWS CDK Testing : Fine-Grained Assertions Tests and Snapshot Test
AWS CDK Testing : Fine-Grained Assertions Tests
AWS CDK Testing : Snapshot Tests

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Uses AWS CDK v2, which is the current version, so learners can be assured they are learning the most up-to-date methods for infrastructure as code
Covers CI/CD pipelines using AWS CDK, which is essential for automating the deployment of AWS services in a professional environment
Includes real-world enterprise use cases, which provides practical experience in applying AWS CDK to solve common business problems
Explores resource sharing across applications and stacks using AWS SSM, CfnOutput, and MultiStack, which are valuable techniques for managing complex deployments
Features a section on AWS CodeWhisperer, which can help learners automate CDK code generation and improve their coding efficiency
Requires no previous coding experience in TypeScript, but advanced users should review the course content to determine suitability, as it starts from the basics

Save this course

Save AWS Cloud Development Kit (CDK) - V2- Beginner to Advanced to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in AWS Cloud Development Kit (CDK) - V2- Beginner to Advanced with these activities:
Review AWS CloudFormation Concepts
Reviewing AWS CloudFormation concepts will provide a solid foundation for understanding how CDK simplifies infrastructure provisioning.
Browse courses on AWS CloudFormation
Show steps
  • Read the AWS CloudFormation documentation.
  • Watch introductory videos on CloudFormation.
  • Complete a basic CloudFormation tutorial.
Practice TypeScript Fundamentals
Practicing TypeScript fundamentals will enable you to write CDK code more effectively and understand the underlying logic.
Browse courses on TypeScript
Show steps
  • Complete online TypeScript tutorials.
  • Write small TypeScript programs.
  • Review TypeScript documentation.
Read 'Infrastructure as Code: Managing Servers in the Cloud'
Reading this book will provide a broader understanding of Infrastructure as Code concepts.
Show steps
  • Obtain a copy of the book.
  • Read the book chapter by chapter.
  • Take notes on key concepts and examples.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Follow CDK v2 Tutorials
Following CDK v2 tutorials will give you hands-on experience with the framework and help you understand its practical applications.
Show steps
  • Find CDK v2 tutorials online.
  • Follow the tutorials step-by-step.
  • Modify the tutorial code and experiment.
Document Your CDK Projects
Creating documentation for your CDK projects will reinforce your understanding and help you explain your code to others.
Show steps
  • Write a README file for each project.
  • Document the CDK code with comments.
  • Create diagrams of the infrastructure.
Deploy a Simple Web Application
Starting a project to deploy a simple web application using CDK will solidify your understanding of the framework and its capabilities.
Show steps
  • Design the architecture of the web application.
  • Write the CDK code to provision the infrastructure.
  • Deploy the application using CDK.
  • Test the deployed application.
Contribute to CDK Open Source Projects
Contributing to CDK open source projects will expose you to real-world use cases and best practices.
Show steps
  • Find CDK open source projects on GitHub.
  • Identify issues or features to contribute.
  • Submit pull requests with your changes.

Career center

Learners who complete AWS Cloud Development Kit (CDK) - V2- Beginner to Advanced will develop knowledge and skills that may be useful to these careers:
Infrastructure as Code Engineer
Infrastructure as Code Engineers specialize in using code to manage and provision infrastructure, which is the core function of AWS CDK. If you want to be an Infrastructure as Code Engineer, this course is ideal. The course provides hands-on experience building infrastructure components such as S3 buckets, DynamoDB databases, and Lambda functions. It provides specific guidance on how to use AWS CDK. Learning how to create CI/CD pipelines using CDK and how to share resources across applications and stacks will help you to become a highly effective Infrastructure as Code Engineer.
Cloud Automation Engineer
Cloud Automation Engineers are responsible for automating tasks related to cloud infrastructure, a core skill developed in this AWS Cloud Development Kit course. You'll learn to use AWS CDK to automate the creation and management of resources like S3, DynamoDB, Lambda, and EC2 instances. The course’s focus on CI/CD pipelines is crucial for automating deployments, a key skill for any Cloud Automation Engineer. Moreover, learning how to use AWS CodeWhisperer to generate CDK code efficiently is highly valuable for automating code creation. The course's content on cross-application resource sharing will help you automate complex cloud environments.
Cloud Engineer
A Cloud Engineer is responsible for designing, implementing, and managing cloud infrastructure. This AWS Cloud Development Kit course directly provides the skills needed to build this infrastructure using code, specifically with AWS CDK. The course covers provisioning services like S3, DynamoDB, Lambda, and API Gateway, all essential for a Cloud Engineer. Furthermore, the course includes the creation of CI/CD pipelines using CDK, a critical component of modern cloud deployment. Exposure to advanced concepts and resource sharing strategies also make this course ideal for those aiming to excel in cloud engineering.
DevOps Engineer
DevOps Engineers focus on automating and streamlining the software development lifecycle, including infrastructure provisioning. This AWS Cloud Development Kit course aligns perfectly with the responsibilities of a DevOps Engineer by teaching the fundamentals of Infrastructure as Code using AWS CDK. The course emphasizes creating repeatable deployments via CI/CD pipelines, a key area for DevOps. Learning to automate the creation of AWS resources like VPCs, EC2 instances, and serverless functions will help a DevOps engineer manage deployments and infrastructure. The course's focus on real-world enterprise use cases and best practices will give learners a solid practical base.
Solutions Architect
A Solutions Architect designs cloud-based solutions, often involving the selection and configuration of various AWS services. This AWS Cloud Development Kit course may be particularly useful because it provides hands-on experience in provisioning these services using code via AWS CDK. The course's use cases, including building serverless applications and web servers, are highly relevant to a Solutions Architect. This course helps build a foundation for using infrastructure as code with CDK to create reliable and scalable solutions. Also, it helps in understanding how different AWS components fit together, and this may help you to make informed architectural decisions in the future.
Site Reliability Engineer
Site Reliability Engineers focus on the reliability and scalability of systems, and this AWS Cloud Development Kit course may help in automating infrastructure management. The course teaches how to use AWS CDK for provisioning resources such as EC2 instances, databases, and serverless functions like AWS Lambda. The focus on CI/CD pipelines and resource sharing strategies is relevant to ensuring reliable deployments. A Site Reliability Engineer may find the course useful to better understand infrastructure as code, an important aspect of managing large-scale systems. The best practices emphasized in the course also align with SRE goals.
Backend Developer
A Backend Developer works on the server-side logic of applications, which often involves working with databases and APIs hosted in the cloud. This AWS Cloud Development Kit course provides a strong foundation for the cloud-based aspects of backend development. The course teaches how to provision resources like DynamoDB, Lambda, and API Gateway using AWS CDK, all of which are frequently use by backend developers. By gaining experience with infrastructure as code, you will be able to work effectively with the cloud environment. This course may also help backend developers who want to expand their skillset.
Cloud Consultant
Cloud Consultants advise organizations on cloud adoption strategies, and this AWS Cloud Development Kit course will give one first hand experience working with cloud infrastructure. With this course, you can learn how to provision AWS resources using CDK and gain a practical understanding of the process. The course also covers important concepts such as CI/CD pipelines, multi-stack deployments, and resource sharing strategies. With the practical experience of creating serverless applications and web servers using AWS CDK, a Cloud Consultant can make recommendations for cloud solutions. This course may better prepare a Cloud Consultant for the technical challenges of cloud migration.
System Administrator
System Administrators manage computer systems and infrastructure. This AWS Cloud Development Kit course will expose you to managing infrastructure using code rather than traditional manual processes. The core of this course is using AWS CDK to provision compute, storage, and networking and security resources. Although traditionally, system administrators did not work with code, this course will help you to adapt to modern automation practices by learning how to manage systems via code. The course's coverage of CI/CD pipelines and advanced resource sharing may be valuable for streamlining system administration. You might find it helpful to understand how cloud resources are structured via code.
Software Developer
A Software Developer writes code to create software applications and may be involved in deploying these applications to the cloud. This AWS Cloud Development Kit course focuses on using AWS CDK to manage cloud infrastructure. The use cases covered in the course include deploying serverless applications and web servers. This may be helpful to a Software Developer as it gives practical experience using infrastructure as code for production deployments. The course also covers CI/CD pipelines, which will help you understand the deployment process. This exposure to the cloud may be valuable for a Software Developer.
Technical Trainer
Technical Trainers educate others on technical topics, and this AWS Cloud Development Kit course may be useful for learning how to use AWS CDK. The course provides hands-on experience in provisioning and managing AWS resources. The trainer can then use this knowledge to create better training material for cloud based technologies. This course also covers a wide variety of topics such as CI/CD pipelines, multi-stack deployments and resource sharing, which could help a technical trainer become a better subject matter expert. The hands-on experience in building infrastructure using AWS CDK makes the course a good way for technical trainers to learn.
Technical Project Manager
Technical Project Managers oversee projects related to technology. This AWS Cloud Development Kit course may be useful for gaining a better understanding about the technical aspects of cloud infrastructure. The course covers how to use AWS CDK to provision and manage AWS resources. When leading a team of cloud engineers, the course will help the technical project manager understand the technical conversations. The course covers important concepts such as CI/CD pipelines, resource management, and multi-stack deployments. Knowing these technical details can help a manager in their role.
Data Engineer
Data Engineers build and manage the infrastructure for data storage and processing. This AWS Cloud Development Kit course may equip a Data Engineer with the tools to automate cloud infrastructure. The course covers how to use AWS CDK for provisioning resources, including databases like DynamoDB and compute resources like Lambda functions. The use of AWS CDK for building CI/CD pipelines can be relevant for automating data pipelines. This course may be useful in understanding how the infrastructure side of data engineering is managed in AWS.
IT Manager
IT Managers oversee the technology infrastructure of an organization, and this AWS Cloud Development Kit course may be useful in better understanding cloud technologies. The course introduces how to use AWS CDK to manage cloud resources. IT managers may find it useful to understand the underlying technology. The course covers topics such as CI/CD pipelines, resource management and best practices for cloud deployments. With this understanding, an IT Manager can make informed decisions about cloud strategy. The course may also help IT managers understand the capabilities of their technical staff.
Cloud Security Engineer
A Cloud Security Engineer focuses on securing cloud environments. Although this AWS Cloud Development Kit course is not directly about security, the course may help a cloud security engineer gain a foundational understanding of how cloud resources are provisioned. By understanding how infrastructure is built with AWS CDK, a Cloud Security Engineer may be able to better identify vulnerabilities. The course covers the use of IAM roles and security groups. An understanding of infrastructure as code, taught in the course, may also help with the automation of security configurations. Also, they can use the knowledge they gained to propose security improvements.

Reading list

We've selected one books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in AWS Cloud Development Kit (CDK) - V2- Beginner to Advanced.
Provides a comprehensive overview of Infrastructure as Code (IaC) principles and practices. It covers various tools and techniques for managing infrastructure in the cloud. Reading this book will give you a broader understanding of the concepts behind CDK and how it fits into the larger IaC landscape. It is more valuable as additional reading to expand your knowledge.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Similar courses are unavailable at this time. Please try again later.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser