This project is the result of my studies on the AWS CDK Workshop website. It serves as both a learning exercise and a practical implementation of the concepts I've learned throughout the workshop.
The AWS CDK Workshop is a comprehensive guide to building infrastructure as code using the AWS Cloud Development Kit (CDK). It covers various topics related to AWS CDK, including the creation of AWS resources, application deployment, and best practices for managing infrastructure using code.
For more details, visit the CDK Workshop website.
This project is a practical implementation of the AWS CDK concepts I learned during the workshop. It includes the following:
- Create new CDK applications
- Define app’s infrastructure using the AWS Construct Library
- Create my own constructs
- Deploy CDK apps to AWS account
- Consume constructs published by other people
- Test Constructs via CDK assert library
To run this project locally or in your AWS environment, follow the steps below.
Before you begin, ensure you have all the prerequisites. For more details, visit the CDK Workshop prequisites page.
- Clone this repository to your local machine:
git clone https://github.com/rerinhi/cdk-workshop.git- Navigate to the project directory:
cd cdk-workshop- Install the project dependencies:
npm installnpm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testscdk listlist all stacks available to deploycdk deploydeploy this stack to your default AWS account/regioncdk diffcompare deployed stack with current statecdk synthemits the synthesized CloudFormation templatecdk destroydestroy this stack of your default AWS account/region