This is CDK script that will deploy MongoDb on Amazon ECS Fargate and mount with EFS
- Setup AWS account more details (https://docs.aws.amazon.com/polly/latest/dg/getting-started.html)
- Setup aws-cdk
npm i -g aws-cdk
(https://github.com/aws/aws-cdk) - Run
npm i
ornpm ci
- if cdk is not bootstrapped run
cdk bootstrap
- Run
cdk deploy -c applicationName=MongoDb