Amazon Web Services: Difference between revisions
No edit summary |
|||
| Line 4: | Line 4: | ||
* There's a "[http://aws.amazon.com/free/ Free Tier]" for new customers, providing 5GB of space and 1 year of an EC2 "Micro" instance | * There's a "[http://aws.amazon.com/free/ Free Tier]" for new customers, providing 5GB of space and 1 year of an EC2 "Micro" instance | ||
** A valid credit card and phone number are required | ** A valid credit card and phone number are required | ||
* Download the [http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/astools.html command line tools] (a Java package) | |||
===Authentication=== | |||
* Go to the "Security Credentials" page and acquire your "Access ID" and "Access Key" (~40 byte hashes) | |||
* You can use the access key in three ways: | |||
** Fill in the template values in <tt>credential-file-path.template</tt> from the unpacked command line tools' directory, and export AWS_CREDENTIAL_FILE pointing to this file | |||
** Reference this same file via --aws-credential-file ''file'' as an argument to all commands | |||
** Provide --I ''ID'' --S ''Key'' as arguments to all commands | |||
* I add the following to .bashrc: | |||
<pre>AWS="$HOME/.aws" | |||
export PATH="$PATH:$AWS/bin" | |||
export AWS_CREDENTIAL_FILE="$AWS/credential-file-path.template" | |||
unset AWS</pre> | |||
* [http://aws.amazon.com/autoscaling/ Autoscaling] | * [http://aws.amazon.com/autoscaling/ Autoscaling] | ||