
Paolo Deshon welcomes you to the aws cdk masterclass and shares his roles as software engineer, mobile developer, and cloud engineer who teaches cloud engineering and software development.
Explore the AWS cloud development kit objectives, prerequisites, core concepts, building blocks, and how to define, configure, deploy resources with the CDK CLI and Lambda functions using TypeScript or Python.
Learn AWS CDK through core concepts and real-world examples to provision resources using the Ada SDK. Build cloud infrastructures in code with prerequisites in Python, TypeScript/JavaScript, and cloud basics.
Explore what the AWS CDK is and why it benefits cloud provisioning, using familiar languages like Python, TypeScript, Go, or Java to define resources with constructs and stacks.
Set up Node.js, install the CLI, install VS Code, download credentials, configure profiles, and install the CDK to prepare your development environment for AWS CDK projects.
Install node.js by selecting your operating system on the download site, run the installer, and test with node -version to confirm a version appears.
Install and verify the AWS CLI across Linux, macOS, and Windows by following the official documentation, running the installation commands, and optionally checking the integrity of the downloaded zip file.
Verify your AWS configuration by checking identity, locate credentials in profiles if missing, and run aws configure to supply access key and secret key.
Install VS Code, the recommended lightweight code editor for this course. Download the appropriate version for Windows or Mac, explore the docs, and start coding quickly.
Install the AWS CDK v2 using npm, perform a global install, verify the installed version, and ensure Node.js is installed.
Launch your first CDK project by bootstrapping, synthesizing cloud formation, and deploying a simple lambda function with TypeScript, using CDK constructs to provision resources in the cloud.
Learn how AWS CDK pricing works: the SDK is free, but resources you provision may incur costs; monitor pricing and clean up resources to avoid surprises.
Explore the CDK building blocks from app, stacks, and constructs to resources, and see how the CDK synthesizes source code into a CloudFormation template for deployment via the CDK CLI.
Explore how the AWS CDK organizes infrastructure from the top app to stacks and resources, using constructs to provision DynamoDB, S3, Lambda, API Gateway, and CloudWatch.
Explore the construct hierarchy in AWS CDK from L1, L2, to L3, using the construct library to provision resources like DynamoDB tables and S3 buckets through CloudFormation.
Explore the AWS CDK project structure by walking through the bin, lib, and lambda resources, and see how the app loads the stack and defines a lambda function.
Master essential CDK commands such as diff and synth to generate CloudFormation templates, compare code with deployments, and perform hot swap deployments for Lambda resources.
Learn how to pass environment variables to a lambda in a CDK project, access them at runtime, and expose function ARNs via outputs, then practice with a DynamoDB table exercise.
Create a python lambda that lists S3 buckets using boto3, attach an inline IAM policy to enable listing, and run CDK diff and deploy.
Create a list lambdas function with boto3 and attach a list-lambdas policy in a cdk stack. Deploy and verify the function metadata and existence.
Destroy the stack with CDK destroy to avoid costs, confirm the prompt, and delete all back-end stacks created for this project for a clean slate.
Learn to build a rest API with the AWS CDK by wiring API Gateway to a Lambda that returns random quotes, then deploy and test the endpoint.
Learn to extend a quotes API by adding a DynamoDB table, wiring API gateway and lambda with proper permissions, to enable create, read, update, and delete operations.
Implement a create operation to save quotes in a Dynamo table, including a response helper and route-aware API logic for post and get operations.
Learn to save a quote to DynamoDB by implementing a post quotes path, invoking a shared integration handler, deploying with CDK, and testing via API Gateway.
fetch all quotes from the database by scanning the table and returning items in the api response, then deploy and prepare for crud operations.
Add an id-based path and delete method in the api, connect to a Lambda integration, and test deletion via api gateway and CloudWatch logs.
Update a quote with an async function, using an update expression to set id, data, and a timestamp, and rename the reserved keyword by to author in DynamoDB.
Learn to build a get-quote operation with a crud API using cdk, fetch a single item from the database via path parameters, deploy, and test the API.
Discover how Thunder Client and Serverless Console VS Code extensions streamline serverless development in VS Code, enabling in-editor API testing, Cloud Watch insights, and Dynamo DB item management.
Use CDK destroy to clean up the quotes stack after finishing the project, removing resources and stopping charges.
Use the construct library's table viewer to view a DynamoDB table, deploy with CDK, and test a development endpoint—bearing in mind it is not intended for production.
Create a thumbnail service that triggers a Lambda on S3 image uploads to generate thumbnails, store them back in S3, and save metadata for an API Gateway.
Set up S3 event notifications to trigger a lambda function when an object is created, configure S3 notification, lambda destination, and policy permissions, then deploy and test.
Learn how the thumbnail generator lambda processes s3 events to resize images to a 128-px thumbnail with pillow, upload to s3, and return its URL.
Debug a lambda function by adding layers to supply libraries for image resizing and thumbnail creation, deploy and test the workflow with s3 triggers and cloudwatch logs.
Create a DynamoDB table to store thumbnail metadata, including id, image name, size, and creation date, grant the handler write access, and store the image URL after upload.
Create a rest api that lists thumbnail urls and metadata by scanning a table, using lambda handlers and a get method through api gateway with a lambda integration.
Set up a cron-based scheduled event with the AWS CDK in TypeScript, creating a lambda and an event rule to trigger every weekday at 6 p.m. UTC.
Learn to provision an EC2 instance using AWS CDK, including a VPC with public subnets, a security group, a key pair, and user data to boot a web server.
AWS CDK Framework (Cloud Development Kit) is the best way to build scalable, reliable serverless (and other AWS resources) applications and deploy them in Amazon Web Services.
The great thing about the AWS CDK is that you don't need to worry about learning YAML/JSON syntax in order to create AWS resources for your cloud infrastructures - It's all code based - meaning you'll be writing code using a familiar modern programming language like Javascript, Typescript, Java, Go, Python...!
In this course, you will dive right in and learn how to create AWS resources and deploy them to AWS in no time!
In a nutshell, you will:
No longer need to create serverless infrastructures and any AWS resources using the AWS Management Console manually
Now have all your configurations and deployments in a project-structured manner using your favorite programming language
You no longer need to package your function into a zip file and manually upload them to the AWS cloud - use the A, allCLI to do all that for you!
You no longer need to understand the nighty-gritty, under-the-hood, jargon when it comes to provisioning AWS resources - with the AWS CDK, all that is abstracted out - all you focus on is write code and build your cloud infrastructures!
With the AWS CDK CLI and CDK Framework, you do all that using the Command Line Interface quicker!
With AWS CDK, you write code as infrastructure and you can easily share the infrastructure design patterns with other teams within the organization or, if you choose so, with the public.
The AWS CDK is based on modern programming paradigms and lets you build reliable, cost-effective applications in the cloud with the power of a programming language (Python, Go, Java, Javascript, Typescript, C#).
For this course, we'll deploy several real-world applications created with the AWS CDK:
An automated thumbnail generation service on S3
A REST API using AWS API Gateway & Lambda
An Email Service Using Lambda, SES, API Gateway, SQS
An EC2 Instance with User-data that serves a simple webserver
An ALB Service
Scheduled Events (EventBridge)
After finishing the course, you will be confident in being able to write complex applications using the CDK.
In this course, you will be learning, by doing, everything you need to know to be proficient with the AWS CDK and integrate with many different AWS services!
Try this course, and you have 30 days to be refunded if you don't like it. You have nothing to lose!
---------------------------------
This course also comes with:
Lifetime access to all future updates
A responsive instructor in the Q&A Section
Udemy Certificate of Completion Ready for Download
A 30-Day "No Questions Asked" Money Back Guarantee!
Join me in this course if you want to learn about the AWS CDK!