Mastering AWS Development by Vyas Uchit

Mastering AWS Development by Vyas Uchit

Author:Vyas, Uchit
Language: eng
Format: epub, azw3
Publisher: Packt Publishing
Published: 2015-06-30T04:00:00+00:00


Installing API tools

To install API tools, follow the given steps. I am doing this on an Ubuntu machine, but for RedHat or OS X users, the command will vary:

Run the following command: sudo apt-get install ec2-api-tools

If you do not have the latest Ubuntu release, the packages may be a bit old. So, add repository details by following commands:

sudo apt-add-repository ppa:awstools-dev/awstools sudo apt-get update sudo apt-get install ec2-api-tools

Set the environment variables your shell profile by adding the following lines to your ~/.bashrc file if you use Bash as your shell: export EC2_KEYPAIR=<your keypair name> # name only, not the file name export EC2_URL=https://ec2.<your ec2 region>.amazonaws.com export EC2_PRIVATE_KEY=$HOME/<where your private key is>/pk-XXXXXXXXXX.pem export EC2_CERT=$HOME/<where your certificate is>/cert-XXXXXXXXXXXX.pem export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.