Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday 29 March 2016

Install & Configure AWS API Tool on EC2 Instance

Install & Configure AWS API Tool on EC2 Instance
Q. What is AWS API Tool ?


 Ans: The API tools serve as the client interface to the Amazon EC2 web service. You can use the CLI tools to manage your Amazon EC2 resources (such as instances, security groups, and volumes) and your Amazon VPC resources (such as VPCs, subnets, route tables, and Internet gateways).

Step: 1. Install Java :

# yum -y install java-1.7.0-openjdk
# export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
# java -version

Step: 2. Download & Unzip Amazon EC2 CLI Tools :

# yum -y install wget zip unzip
# cd /tmp
# wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
# unzip ec2-api-tools.zip

Step: 3. Install the Amazon EC2 CLI Tools :

# mkdir /usr/local/ec2
# mv ec2-api-tools-1.7.5.0 /usr/local/ec2/apitools/

Step: 4. Set Variables :

# export EC2_HOME=/usr/local/ec2/apitools
# export PATH=$PATH:$EC2_HOME/bin

Step: 5. Add variables to Startup Script :

# cd /etc/profile.d/
# vi aws.sh

export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
export EC2_HOME=/usr/local/ec2/apitools
export PATH=$PATH:$EC2_HOME/bin

-- Save & Quit (:wq)


# chmod +x aws.sh
# source aws.sh

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog

4 comments:

  1. Install & Configure AWS API Tool On EC2 nicely explained with question and answer. It is very easy to understand. Thanks for sharing information.

    ReplyDelete
  2. Wow amazing i saw the article with execution models you had posted. It was such informative. Really its a wonderful article. Thank you for sharing and please keep update like this type of article because i want to learn more relevant to this topic.

    Dot Net Training in Chennai

    Software Testing Training in Chennai

    ReplyDelete
  3. It was really a nice post and I was really impressed by reading this AWS

    online Training Hyderabad

    ReplyDelete
  4. very informative blog and useful article thank you for sharing with us , keep posting learn more about aws with cloud computing. AWS Training

    ReplyDelete

Copyright © 2016 Kousik Chatterjee's Blog