This repository contains an example of a project for the AWS Cloud Development Kit, here is a tutorial in case that you are not familiar with it. Currently only in TypeScript, there is a guide on how to read TypeScript code and translate it to Python here.
This is an open source application designed to showcase the usage of AWS CDK. Once deployed it will run and AWS EC2 t2.micro Instance with Ghost installed. For more details please check the infrastructure design.
You're welcome to report issues with the documentation here or, if you have a moment, to submit a Pull Request with your suggested changes.
- AWS CDK - 1.31.0 (build 8f3ac79)
- NPM - 6.14.4
- Node - v13.12.0
First, install CDK CLI globally
npm install -g aws-cdk
Install required modules
npm install
npm run build
Don't forget to provide region and account information as environment variables.
export ACCOUNT_ID=”XXXXXXXXXXXX" AWS_REGION=”us-east-1"
Deployment - Replace the profile with your AWS profile. If you don’t have any profile setup yet follow the instructions here
cdk deploy --profile my-profile // Deploys the Infrastructure
Afterwards
cdk destroy
This sample code is made available under a modified MIT license. See the LICENSE.md file.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. See the list of contributors who participated in this project.