Friday Jul 24, 2009

64-bit OpenSolaris 2009.06 Base AMI Released On Amazon EC2

Sun Microsystems Inc. is pleased to announce the release of 64-bit OpenSolaris 2009.06 base AMI On Amazon EC2's cloud computing service. This 64-bit AMI gives you the power and security of OpenSolaris combined with the flexibility of Amazon's cloud computing service, and is optimized for for EC2's cloud computing environment.

AMI Details:

AMI ID: ami-9903e2f0
AMI Menifest: sun-opensolaris-2009-06/opensolaris_2009.06_64_6.1.img.manifest.xml
AKI/ARI ID: aki-fb3ddc92 / ari-fd3ddc94

This AMI supports 64-bit Instance sizes including m1.large (Large Instance Type), m1.xlarge (Extra Large Instance Type) and c1.xlarge (High CPU Extra Large Instance Type).

For more details on these instance types visit

To run the AMI with Large Instance type, execute following command.
ec2-run-instances ami-9903e2f0
-k <your-keypair> --instance-type m1.large

To run the AMI with Extra Large Instance type, execute following command.
ec2-run-instances ami-9903e2f0
-k <your-keypair> --instance-type m1.xlarge

To run the AMI with High CPU Extra Large Instance type, execute following command.
ec2-run-instances ami-9903e2f0
-k <your-keypair> --instance-type c1.xlarge

For OpenSolaris 2009.06 32bit base AMI, Please see
http://blogs.sun.com/ec2/entry/opensolaris_2009_06_on_amazon

For Other AMIs provided by Sun Microsystems, Please see
http://blogs.sun.com/ec2/entry/opensolaris_based_ami_catalog_on

Configuring Swap Memory

OpenSolaris 2009.06 64-bit AMI Instance comes with default 1 GB of swap memory.
Follow below given steps to increase the swap memory size by 15gb.

# zfs create -V 15g mnt/swap
# swap -a /dev/zvol/dsk/mnt/swap

You can make this change permanent by changing the lines for swap in “/etc/vfstab” file.
change “/dev/zvol/dsk/rpool/swap” to “/dev/zvol/dsk/mnt/swap” and save the file.

Finally Reboot the instance.

64-bit AMI Rebundling Changes:

For 64-bit OpenSolaris 2009.06 AMI re-bundling use following "ec2-bundle-image" command. For more detail look into the Getting Started Guide (Page 10).

ec2-bundle-image -c $EC2_CERT -k $EC2_PRIVATE_KEY   \\
  --kernel aki-fb3ddc92 --ramdisk ari-fd3ddc94 \\
  --block-device-mapping "root=rpool/56@0,ami=0,ephemeral0=1,ephemeral1=2,ephemeral2=3,ephemeral3=4" \\
  --user <user-id> --arch x86_64 \\
  -i $DIRECTORY/$IMAGE -d $DIRECTORY/parts

Support:

Monday May 04, 2009

64-bit OpenSolaris 2008.11 Base AMI Released On Amazon EC2

Sun Microsystems Inc. is pleased to announce the release of 64-bit OpenSolaris 2008.11 base AMI On Amazon EC2's cloud computing service. This 64-bit AMI gives you the power and security of OpenSolaris combined with the flexibility of Amazon's cloud computing service, and is optimized for for EC2's cloud computing environment.

AMI Details:

AMI ID: ami-4b638422
AMI Menifest: sun-osol-2008-11/2008.11_64_1.0.img.manifest.xml
AKI/ARI ID: aki-846483ed / ari-876483ee

This AMI supports 64-bit Instance sizes including m1.large (Large Instance Type), m1.xlarge (Extra Large Instance Type) and c1.xlarge (High CPU Extra Large Instance Type).

For more details on these instance types visit

To run the AMI with Large Instance type, execute following command.
ec2-run-instances ami-4b638422 -k <your-keypair>
--instance-type m1.large

To run the AMI with Extra Large Instance type, execute following command.
ec2-run-instances ami-4b638422 -k <your-keypair>
--instance-type m1.xlarge

To run the AMI with High CPU Extra Large Instance type, execute following command.
ec2-run-instances ami-4b638422 -k <your-keypair>
--instance-type c1.xlarge

For OpenSolaris 2008.11 32bit base AMI, Please see
http://blogs.sun.com/ec2/entry/opensolaris_2008_11_on_amazon

For Other AMIs provided by Sun Microsystems, Please see
http://blogs.sun.com/ec2/entry/opensolaris_based_ami_catalog_on

Configuring Swap Memory

OpenSolaris 2008.11 64 AMI Instance comes with default 586MB of swap memory.
Follow below given steps to increase the swap memory size by 15gb.

# zfs create -V 15g mnt/swap
# swap -a /dev/zvol/dsk/mnt/swap

You can make this change permanent by changing the lines for swap in “/etc/vfstab” file.
change “/dev/zvol/dsk/rpool/swap” to “/dev/zvol/dsk/mnt/swap” and save the file.

Finally Reboot the instance.

64-bit AMI Rebundling Changes:

Replace the ec2-bundle-image command in the Getting Started Guide (Page 10) with the following:

ec2-bundle-image -c $EC2_CERT -k $EC2_PRIVATE_KEY   \\
  --kernel aki-846483ed --ramdisk ari-876483ee \\
  --block-device-mapping "root=rpool/52@0,ami=0,ephemeral0=1,ephemeral1=2,ephemeral2=3,ephemeral3=4" \\
  --user $EC2_USER_ACCOUNT_NUMBER --arch x86_64 \\
  -i $DIRECTORY/$IMAGE -d $DIRECTORY/parts

Support:

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