This project was completed by following along with the course Infrastructure as Code, Master AWS Cloud Development Kit CDK. I wanted to get some more experience with AWS and creating infrastructure as code.
Note: This online course is very outdated. Many of the packages used are depricated and have security vulnerabilities. In order to improve security I attempted to refactor the project to an updated version. I regret to say that I was unable to make the final change to the app, as a particular package does not have a current and working version that did not have conflicts.
Building an app was not the point of this project. However, you can still spin up a local version if you so desire. Complete instructions will be added shortly.
npm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpx cdk deploydeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current statenpx cdk synthemits the synthesized CloudFormation templatenpm startruns the app in local development mode
There is no longer anything deployed at this time, as I have deleted all corresponding buckets for the application.
Technologies used include:
- s3 Buckets
- Lambda Function
- CloudFront Distribution
- API Gateway
- CDK Metadata