AWS Elastic Beanstalk deployment strategies - Introduction to DevOps on AWS

AWS Elastic Beanstalk deployment strategies

AWS Elastic Beanstalk supports the following type of deployment strategies:

  • All-at-once Performs in place deployment on all instances.

  • Rolling Splits the instances into batches and deploys to one batch at a time.

  • Rolling with additional batch Splits the deployments into batches but for the first batch creates new EC2 instances instead of deploying on the existing EC2 instances.

  • Immutable If you need to deploy with a new instance instead of using an existing instance.

  • Traffic splitting Performs immutable deployment and then forwards percentage of traffic to the new instances for a pre-determined duration of time. If the instances stay healthy, then forward all traffic to new instances and shut down old instances.