Step 4: Create an Auto Scaling Group

You should create an auto scaling group based on this AMI to ensure that one node is running at any given time.

To create an auto scaling group:

  1. Specify a name for the auto scaling group, enable traffic from the load balancer, and map the target groups created earlier.
    Warning: Start with zero instances, as you will need to add your existing instance to the group later.Keep the group at its initial size of zero, as you do not want to add more than one Controller at any point in time.
    Create Auto Scaling Group
  2. Accept the default values for the rest of the settings, and create the auto scaling group.
  3. Once the auto scaling group is successfully created, edit the properties to specify the max allowable instances as 1 (up from 0).
  4. Go back to the list of EC2 instances, and add the EC2 instance for the Controller Appserver to the new auto scaling group.
    Add EC2 instance to auto scaling group