Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
6
Help us understand the problem. What is going on with this article?
@EugeneAshizawa

Ubuntu 12.04 インスタンスに ec2-api-tools をインストール

More than 5 years have passed since last update.

Ubuntu 12.04 インスタンスに ec2-api-tools, ec2-ami-tools をインストールする方法のメモ。
起動するインスタンスは、Ubuntu Server 12.04 LTS (ami-60c77761) です。

レポジトリをアップデート

sources.list を編集するので、バックアップをしておきます。

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

/etc/apt/sources.list の中の、コメントアウトされている以下の6行を有効にします。

/etc/apt/sources.list
deb http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates multiverse

deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

レポジトリをアップデート。

$ sudo apt-get update

ec2-api-tools のインストール

ec2-api-tools, ec2-ami-tools をインストール。

$ sudo apt-get install ec2-api-tools ec2-ami-tools

入ったか確認。

$ which ec2-describe-images
/usr/bin/ec2-describe-images

入りました :-)

6
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
EugeneAshizawa
freelance nomad developer

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
6
Help us understand the problem. What is going on with this article?