Amazon Web Services: Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
** Export EC2_CERT=''cert'' and EC2_PRIVATE_KEY=''key'' | ** Export EC2_CERT=''cert'' and EC2_PRIVATE_KEY=''key'' | ||
** Reference these same files via --ec2-cert-file-path ''cert'' and --ec2-private-key-file-path ''key'' | ** Reference these same files via --ec2-cert-file-path ''cert'' and --ec2-private-key-file-path ''key'' | ||
===Environment Variables=== | |||
* I add the following to .bashrc: | * I add the following to .bashrc: | ||
<pre>export AWS_AUTO_SCALING_HOME="$HOME/local/aws" | <pre>export AWS_AUTO_SCALING_HOME="$HOME/local/aws" | ||
| Line 19: | Line 20: | ||
export AWS_CREDENTIAL_FILE="$AWS_AUTO_SCALING_HOME/credential-file-path.template" | export AWS_CREDENTIAL_FILE="$AWS_AUTO_SCALING_HOME/credential-file-path.template" | ||
export JAVA_HOME=/usr</pre> | export JAVA_HOME=/usr</pre> | ||
You ought now be able to run a remote command: | |||
<pre>[skynet](0) $ as-describe-auto-scaling-groups --headers | |||
No AutoScalingGroups found | |||
[skynet](0) $ </pre> | |||
==Managing Fleets== | |||
* If you don't like the command line tools, there's the [https://console.aws.amazon.com/console/home AWS Management Console] | |||
* [http://aws.amazon.com/autoscaling/ Autoscaling] | * [http://aws.amazon.com/autoscaling/ Autoscaling] | ||