Source: juliabellmer.medium.com

Deployment Policies in AWS Elastic Beanstalk
AWS Elastic Beanstalk provides several options for how deployments are processed, including deployment policies: All at once, Rolling, Rolling with additional batch, Immutable, and Traffic splitting. Shikisoft has made these useful diagrams to illustrate the differences: With rolling deployments, Elastic Beanstalk s plits the environment’s Amazon EC2 instances into batches and deploys the new version of the application to one batch at a time.

However, since no new instances are created during the deployment, you application can serve traffic at a reduced capacity (i.e.: a single batch of instances are out of service at any given time during the deployment).

This deployment policy ensures that the impact of a failed deployment is limited to a single batch of instances and enables your application to serve traffic at full capacity during an ongoing deployment.

In a traffic-splitting deployment, Elastic Beanstalk launches a full set of new instances just like during an immutable deployment.

Related Articles