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:
- For technical support during Beta period, please contact ec2-solaris-support[AT]SUN[DOT]COM.
- Please check OpenSolaris on Amazon EC2 blog for latest updates and new information about OpenSolaris AMIs.
- The "OpenSolaris on Amazon EC2 Getting
Started Guide" is located at:
http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStartedGuide.pdf - Register for OpenSolaris AMIs here.
