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
At the time of writing I am using v22.214.171.124
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
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
How to set the EC2_CERT server variable
Alternatively you can set all these system variables by follow these steps
- Press Start
- Right clicking on Computer
- Selecting Properties
- Selecting Advanced system settings
- Selecting Environment Variables
Now add each of the above as System Variables