How to set up Amazon Auto Scaling Groups Command Line Tools on Windows

In this post we will set up Amazon Auto Scaling Group Command Line Tools on Windows.

What is an Auto Scaling Group?

Auto Scaling allows you to scale your Amazon EC2 capacity up or down automatically according to conditions you define. With Auto Scaling, you can ensure that the number of Amazon EC2 instances you’re using increases seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize costs.

Download Auto Scaling Command Line Tool

You will need to download the Auto Scaling Command Line Tool

Now unzip the package to this folder on you Windows machine

C:\aws\AutoScaling-1.0.61.2

At the time of writing I am using v1.0.61.2

Configuring the Auto Scaling Group Command Line Tool

Next you need to setup all the server variables

How to set the AWS_AUTO_SCALING_HOME server variable
set AWS_AUTO_SCALING_HOME="C:\aws\AutoScaling-1.0.61.2"
How to set the JAVA_HOME server variable
set JAVA_HOME="C:\Program Files (x86)\Java\jre7"

Or use these instructions Setting JAVA_HOME Variable in Windows

How to set the EC2_PRIVATE_KEY server variable
set EC2_PRIVATE_KEY="C:\AWS\ec2-private-key.pem"
How to set the EC2_CERT server variable
set EC2_CERT="C:\AWS\ec2-cert.pem"

Alternatively you can set all these system variables by follow these steps

  1. Press Start
  2. Right clicking on Computer
  3. Selecting Properties
  4. Selecting Advanced system settings
  5. Selecting Environment Variables

Now add each of the above as System Variables



Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow




About Author

Robert

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning hands down.