This demonstrates how to use docker-compose do deploy a Dagster stack to
ECS (and how to run the same stack locally for development). I chose the
docker-compose route over with several different alternatives
(CloudFormation template, AWS Copilot, Terraform, etc.):
- CloudFormation and Terraform force our hand toward taking on too much devops responsibility (providing recommendation on how to setting up VPCs, Load Balancers, etc.)
- Copilot's tooling wasn't mature enough
- Several users have recently expressed interest in trying to deploy our
deploy_docker docker-compose.yaml to ECS.