This guide shows how to set up an autoscaling environment from scratch using EZAutoScaling.

Auto Scaling allows your EC2 instances to increase or decrease according to conditions that you set, such as high CPU usage or a scheduled time. This guide shows how to quickly set this up in your AWS account, without having to use the command line tools.


An auto scaled environment is based off an existing EC2 instance or an AMI. Therefore, you need to have an EC2 instance or AMI that you want auto scaled. The auto scaling does not occur on your currently existing EC2 instance; it creates a clone of that instance.

If you have an EC2 instance that you want to auto scale then you need to convert that into an AMI:
  1. Log into the AWS Management Console
  2. Go to EC2
  3. Right-click on the EC2 instance thay you want to auto scale and select Create Image
    Create AMI Image from EC2
  4. A few minutes later your AMI will be created under the AMI section. Note the ID of the AMI.
    AMI ID

Alternatively you can use an AMI ID of any other Amazon AMI, not one of your personal AMIs.

Create an AutoScaling Group

  1. Log into EZAutoScaling

  2. Click on the Create Wizard
    Create autoscaling Wizard
  3. Fill out the fields on the page. Hover over the information icons if you need help. Below are some to watch out for.

  4. In step 1: Select the region where all the above prerequisites were created - and thus where you will be auto scaling. If you want to auto scale in a different region you need to recreate or migrate the prerequisites to that region first.
    Select AWS EC2 Region
  5. In step 2: Create a new launch configuraiton (or use an existing one if you already have one).
    In the AMI field, select the AMI that you created from your EC2 instance, or type in any other AMI ID.
    Create Launch Configuration
  6. In step 3: Fill in the fields for the auto scaling group.
    When selecting availability zones make sure you match the availability zones to the availiblity zones of your load balancer (if you decide to use a load balancer)
    Subnets refers to VPCs, so enter in this information if your auto scaling is in a Virtual Private Cloud.
    Auto Scaling Group
  7. In steps 4 and 5: These sections allow you to make the EC2 instances increase and decrease according to CPU usage or any other CloudWatch metric.
    If you would like to set this up later, check the checkbox "Check this box to skip this step".
    In step 4 you will create the policy to scale up, and in step 5 you will create the policy to scale down. AWS Scaling Policies
  8. Press the Create button. The new auto scaling group wlil be created in a few minutes. You can check up on your groups on the Auto Scaling Groups page.
    If you created policies they will appear in the Policies & Alarms page.

Sign Up

Back to How To Guides

comments powered by Disqus

Back to top

Copyright © EZAutoScaling Inc. About · Contact · Privacy · Terms

"Amazon Web Services", "AWS", "Auto Scaling", "EC2", "CloudWatch" are trademarks of, Inc.