build_app
: Code will get build, validated and push to DockerHub.deploy_single_ecs_cluster
: "test env" without blue-green setup get updated.deploy_blue_green_ecs_cluster
: Only the "blue" part of blue-green infra will get updated.request-flip-dns
: A decision need to be done by human operator whether to flip the DNS and upgrade the "blue" infra to "green infra.".
5. The state of blue-green deployment are tracked in this dynamodb table. Noticed that currently all traffic should be redirected to only one of the load balancers.
7. As explained, only one of the infra sets will get updated. (Ignore the naming here, but more importantly this is to show that only the ECS cluster corresponds to the correct load balancer get updated. The one currently serving the internet will not get updated.)
- Non-blue-green will always get updated: screen 2018-12-04 at 06 41 17
- Blue-green still get routed to the previous LB: screen 2018-12-04 at 06 41 22
- Previous infra: screen 2018-12-04 at 06 41 25
- Updated infra, but not routed yet until approval: screen 2018-12-04 at 06 41 28