Sunday Jun 29, 2008

How to get the Sun AMI/API tools for build 79 images

In some of the Solaris Build 79 based images it may be possible that it doesn't have AMI/API tool bundled.

If the Solaris Build 79 image you are using does not have the Sun AMI/API tools installed.  You can follow the steps below to load/install the tools on your instance.
The archive of the current tools can be retrieved with the following command:

# curl -O http://s3.amazonaws.com/sun-osol-tools/sun-amiapi-tools-latest.cpio
Once the archive is loaded, the checksum can be easily checked to make sure that you have the right file:
# md5sum sun-amiapi-tools-latest.cpio
1de19f491d32a2fe23b9a0515ec025dd  sun-amiapi-tools-latest.cpio

Then extract the archive as shown below. Full paths are used in the archive so the tools are always extracted in the same location.

# cpio -icvdum < sun-amiapi-tools-latest.cpio
Once the tools are installed, rebundling can be done as documented in the Sun Amazon EC2 Getting Started Guide.
http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStarted050208.pdf

Note that the guide references mounting disks at /mnt but that is completed automatically in certain AMI's.
The following command can be run to see if there is a preconfigured filesystem at /mnt.
# df -kl /mnt

About

Information about Solaris and OpenSolaris on Amazon Web Services (AWS) EC2. Look here for the latest information on the program and any late breaking information on (Open)Solaris on EC2.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today