Fargate CDK Example

Example Repo for compiling and deploying a fargate project using CDK. This will compile a Ngix and PHP container and output a phpinfo page

Usage

  1. cd infrastructure
  2. cdk bootstrap - if not already run before
  3. npm install
  4. npm run build
  5. cdk deploy

Delete the stack

  1. cdk destroy

TODO

  1. Apply a Application LB to the Service
  2. Once done ^^ we can do Blue/Green Deployments by changing the Service DeploymentType (deploymentController property)
  3. Write / Investigate Testing