Deploy a Spring Boot + Postgres application to AWS.
Create an ECR
repository to push the Docker images
aws ecr create-repository --repository-name {project_name} --image-scanning-configuration scanOnPush=true --region {region}
Fill out the configuration file under config/config.yaml
.
Add your sql
scripts to initialize the db (add tables, and sample data) under db_scripts/*.sql
.
Run cdk deploy
.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template