Spring Boot sample application instrumented with AWS X-Ray and corresponding AWS CDK infrastructure to deploy on AWS ECS Fargate
$ ./mvnw clean verify
$ docker build -t <your docker repo>/ecs-demo:latest .
$ docker push <your docker repo>/ecs-demo:latest
$ cd infra
$ npm install
$ npm run build
To first be able to inspect the resulting infra, assuming CDK SDK is installed, execute:
$ npx cdk synth
To deploy the infra:
$ npx cdk deply