How to Installation-AWS-Auto Scaling Command Line Tools

Dear Sir,

Have some problem for Installation-AWS-Auto Scaling Command Line Tools.

How should I do?

system: (java -version) is OK

My question 1, is why JAVA_HOME is not recognized
I add the system and user Environment Variables
C:stuck_out_tongue:rogram FilesJavajdk1.8.0_05

question 2, check with , %AWS_AUTO_SCALING_HOME%bin
the system can not find the path specified.

I add the path
C:stuck_out_tongue:rogram FilesJavajdk1.8.0_05bin;%AWS_AUTO_SCALING_HOME%bin

C:stuck_out_tongue:rogram Files (x86)Javajdk1.8.0_05bin;AWSAccessKeyId=<AdministratorAccess---------47>
;C:stuck_out_tongue:rogram filesAmazonAWSCLI;%AWS_AUTO_SCALING_HOME%bin

I tried
is not recognized

Auto Scaling Command Line Tools


1. Ensure that JAVA version 6u37 or higher is installed on your system: (java -version)
2. Unzip the deployment zip file
3. Set the following environment variables:
3.1 AWS_AUTO_SCALING_HOME - The directory where the deployment files were copied to
check with:
Unix: ls ${AWS_AUTO_SCALING_HOME}/bin should list as-create-auto-scaling-group ...)
Windows: dir "%AWS_AUTO_SCALING_HOME%bin" should list as-create-auto-scaling-group ...)
3.2 JAVA_HOME - Java Installation home directory
4. Add ${AWS_AUTO_SCALING_HOME}/bin (in Windows: "%AWS_AUTO_SCALING_HOME%bin") to your path


Provide the command line tool with your AWS user credentials. There
are two ways you can provide credentails: AWS keys, or using X.509

Using AWS Keys

1. Create a credential file: The deployment includes a template file ${AWS_AUTO_SCALING_HOME}/credential-file-path.template.
Edit a copy of this file to add your information.
On UNIX, limit permissions to the owner of the credential file: $ chmod 600 <the file created above>.
2. There are several ways to provide your credential information:
a. Set the following environment variable: AWS_CREDENTIAL_FILE=<the file created in 1>
b. Alternatively, provide the following option with every command --aws-credential-file <the file created in 1>
c. Explicitly specify credentials on the command line: --I ACCESS_KEY --S SECRET_KEY

Using X.509 Certs

1. Save your cetificate and private keys to files: e.g. my-cert.pem
and my-pk.pem.

2. There are two ways to provide the certificate information to the
command line tool
a. Set the following environment variables:
b. Specify the files directly on command-line for every command
<command> --ec2-cert-file-path=/path/to/cert/file --ec2-private-key-file-path=/path/to/key/file


1. To check that your setup works properly, run the following command:
$ as-cmd --help
You should see the usage page for all Auto Scaling commands

$ as-describe-auto-scaling-groups --headers
You should see a header line. If you have auto scaling groups
already configured, you will see a description line for each
auto scaling group