Files
2026-11-02 13:50:35 +00:00

2.0 KiB

AWS Deployments

_CodeDeploy _Elastic BeanStalk

Service Kind Impact Description Service Scope
CodeDeploy In-place Lowered Capacity Stops apps on every instance, installs latest version, then new version is started and then validated. Can be used in conjunction with a load balancer so that each instance is unregistered before update and the reregistered after being verified. EC2 / On-Prem.
CodeDeploy Blue/Green Higher Cost Make a new set of instances, install the latest version, start the latest version and then validate them. Once validated, they replace and existing instance in the ELB. The old instances can be terminated or kept running. EC2 / On-Prem, Lambda & ECS.
ElasticBeanstalk All at Once Downtime Default policy. Takes everything out of service. Recreates the instances and boots them again. Fastest deployment for EB. EB
ElasticBeanstalk Rolling Lowered Capacity Slowly switch out instances over time. Safer than All at Once. EB
ElasticBeanstalk Rolling with Additional Batches Higher Cost You spin up an extra batch. Then you switch out the old instances over time until one is left, which you discard. EB
ElasticBeanstalk Immutable Higher Cost You spin up an entire extra Auto Scailing Group, then once ready, point the ELB to the new ASG. The safest way to deploy applications because the old instances remain. EB
ElasticBeanstalk Blue/Green Higher Cost You spin up an entire extra ELB, then switch out the URLs. EB
ElasticBeanstalk Traffic Shifting Higher Cost You spin up and extra ELB, the split the traffic between the two, until you are satisfied your application works. EB
..............................................................................................................................................