This project deploys a Web App running in AWS ECS Fargate, components are captured in the infrastructure diagram.
See instructions on how to get started with using AWS CDK https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html.
After Pre-reqs instructions:
- clone the repo
git clone git@github.com:Cadmiral/ecs_webapp.git
- modify config/prod.yaml to match your AWS Account and region
- bootstrap account
cdk bootstrap -c stage="prod"
- deploy the app
cdk deploy MyWebApp -c stage="prod"
Configuration files are located in the /config directory.
prod.yaml - shows an example on how to create additional stages, i.e dev.yaml - you can choose which account to deploy to using the '-c stage="$stage"' flag.
common.yaml - configuration for various parameters that can be easliy extended