Example Repo for compiling and deploying a fargate project using CDK. This will compile a Ngix and PHP container and output a phpinfo
page
cd infrastructure
cdk bootstrap
- if not already run beforenpm install
npm run build
cdk deploy
cdk destroy
- Apply a Application LB to the Service
- Once done ^^ we can do Blue/Green Deployments by changing the Service DeploymentType (
deploymentController
property) - Write / Investigate Testing