Posted On: Nov 11, 2013
We are excited to announce a new AWS Elastic Beanstalk feature called “Rolling Updates” that gives you control over how changes are applied to environments in situations that require your Amazon EC2 instances to be updated or replaced. For example, you can now control how updates are propagated when you change from a single-instance to a load-balanced environment or alter instance types to scale your application vertically.
By enabling "Rolling Updates" on your Elastic Beanstalk environments, you can balance an environment’s request handling capacity versus the duration of the update. For example, you can choose to update all the instances concurrently for a development environment but only a fraction of instances at a time for a production environment. This ensures that the updates are completed faster for the development environment, whereas, the production environment is able to serve requests during the update process by keeping a minimum number of instances in service at all times.
Elastic Beanstalk provides default values for the parameters required by this feature (batch size, minimum number of instances to keep in service, and the time to pause between consecutive batches). If required, you can tune and override these values. For more information on customizing these parameters, please refer to Updating AWS Elastic Beanstalk Environments with Rolling Updates.