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 install
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk list
list all stacks available to deploycdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation templatecdk destroy
destroy this stack of your default AWS account/region