When Beanstalk deployment policy is set as: Immutable or Rolling with additional batch Elastigroup will use the Independent integration method to manage the cluster instances.

Group Initialization

Once an Elastigroup is created with Beanstalk Independent integration, the following procedure takes place:

  1. Elastigroup will launch additional instances (same amount as the original Elastic Beanstalk ASG)
  2. Registering new instances to Elastic Beanstalk environment
  3. Registering new instances to Load Balancer

 Note: If you wish to downscale the original Autoscaling group may do it manually at this point. 

Capacity Management

It’s crucial that all capacity changes be done via Elastigroup. Failing to do so may result in unexpected behavior. This includes detaching instances, Elastigroup/Beanstalk environment termination, scaling policies, and manual capacity changes.

Application Updates / Deployment

Versions will be deployed automatically. When updating application version or deploying a new application, no additional actions are required on the Elastigroup.

Infrastructure configuration changes

For non-capacity changes only. In the following steps the Beanstalk environment is updated, then the new configuration is imported and a blue/green deployment is initiated to gracefully replace the existing Elastigroup’s instances with new, updated instances.

  1. Open the Beanstalk environment in AWS and perform the changes there.
  2. Open the Elastigroup Management View. Under the Actions Menu select Beanstalk.
  3. Click Re-Import Config to re-import the updated Beanstalk configuration into your Elastigroup.
  4. Optional: Configure the Blue/Green Deployment. For more on configuring Blue/Green Deployments in Elastigroup see the documentation here.
  5. Click Save & Deploy.