The purpose of this deployment is to run an AWS RDS PostgreSQL instance.
- The
cdk.json
file tells the CDK toolkit how to execute your app.
- ECS Task Execution Role
cdk deploy
deploy this stack to your default AWS account/regioncdk destroy --force
cleaning up stack
Run the following command to automatically install all the required modules based on the go.mod and go.sum files:
AWS_ECS_FARGATE_SONARQUBE:/deployrole/> go mod download
Let’s deploy a RDS database! When you’re ready, run cdk deploy
AWS_ECS_FARGATE_SONARQUBE:/deployrole/> ./cdk.sh deploy
DeployRole02: creating CloudFormation changeset...
✅ DeployRole02
✨ Deployment time: 32.17s
Stack ARN:
arn:aws:cloudformation:eu-central-1:xxxxxxxxxx:stack/DeployRole02/e99cd380-9f3b-11ee-967c-060ac76d9ab3
✨ Total time: 34.06s
🏠 | Next ➡ | |
Introduction | AWS ECS Fargate cluster |