RightImage: CentOS 5 Base, Version 1_10

items>RightImage: CentOS 5 Base, Version 1_10
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

The purpose of the CentOS 5 base image is to provide a convenient starting point for building good Amazon EC2 servers. It has a CentOS5 base install, plus EC2 tools, plus standard networking and internet tools.


Submitted By: Thorsten von Eicken
US East AMI ID: ami-08f41161
AMI Manifest: rightscale_images/CentOS5V1_10.img
Operating System: Other
Created On: June 8, 2007 11:33 PM GMT
Last Updated: January 3, 2009 11:32 PM GMT
For the most up-to-date information on our free RightImages see the changelog on the RightScale web site.

Are you puzzled by the many public Amazon EC2 images that are available? They are all wonderful to get started with, and we all have to thank the many authors who have put a lot of work into creating them. But when we put a server into production we always feel like we should be 100% in control. We want to make sure there is nothing unknown on the images we are using. We also believe that even though we will be offering base images to our customers, some of them may want to recreate them themselves, "just to be sure". We make all this possible by scripting the image creation and publishing our scripts to go with our images.

Our current RightImages are a CentOS 5 image and a Fedora Core 6 image, both generated entirely automatically. Our goals are:

  1. Create a fairly clean base image with just what we believe are the essentials.
  2. Create the image automatically using a script, this allow you to inspect all the details, create your own version of our image if you choose to, and it allows for easy maintenance.
  3. Put a few seeds onto the image that will support the features of the RightScale service (you can easily remove these if you want to use the image without RightScale).

Below is a description of the CentOS image we prepared, and you can download the script that we used to prepare it.

yum packages added
  • wget - for retrieving web based files
  • mlocate - for fast file searching
  • nano - Alternative to Vi/Emacs
  • logrotate - Log Rotation
  • ruby - needed for EC2 and RightScale scripts
  • rubygems - needed for ruby work
  • syslog-ng - replacement to syslog, better remote logging, used by RightScale features
  • postfix - alternative to Sendmail, easier to set-up for most people
  • gcc/gcc-c++ - needed to compile software
  • zip/unzip
  • glibc libraries - these are needed and must be force installed for some software to work.
Non-yum based software added
  • Java JRE 1.6.0su1 - used by the Amazon API tools
  • Amazon Kernel Headers linux-2.6.16-xenU - useful to compile kernel modules
  • Amazon EC2 AMI Tools - enable bundling
  • Amazon EC2 API Tools - EC2 command line tools
  • S3Sync - rsync-like functionality to sync local filesystem with S3
  • RightScale Software - fetches launch data into /var/spool/ec2
Enhancements made
  • EC2 meta-data is fetched from into /var/spool/ec2/meta-data
  • EC2 meta-data and user-data include files in /var/spool/ec2/metat-data for Bash and Perl.
  • EC2 Command Line tools in /home/ec2
  • AWS variables for EC2 and S3 are set in /etc/profile.d/ec2.sh
  • Java variables are set in /etc/profile.d/java.sh
  • Disabled password authentication in /etc/ssh/sshd_config
  • Modifications to /network config according to Amazon documentation
  • Modifications to /etc/rc.local to fetch ssh key
  • Creation of /opt/rightscale directory tree for RightScale add-ons, they consist on the following:
Services disabled

The following services are not necessary on EC2 or were replaced by another service: acpid, anacron, apmd, autofs, avahi-daemon, avahi-dnsconfd, bluetooth, cpuspeed, cups, dhcdbd, dund, firstboot, gpm, hidd, irda, irqbalance, kudzu, mdmpd, netplugd ,NetworkManager, NetworkManagerDispatcher, nfslock, pand, pcscd, portmap, rdisc, readahead_later ,rpcgssd ,rpcidmapd ,rpcsvcgssd ,sendmail ,smartd, syslog, wpa_supplicant, xfs, yum-updatesd

Services enabled

postfix, psacct, rightscale, syslog-ng

For more information visit www.RightScale.com.


Excellent image, but with me it hangs in /opt/rightscale/bin/do_mirror_change.sh at the following line: if egrep rightscale `find /usr/lib*/ruby -name source_cache`; then The find returns nothing, making egrep hang indefinetly
engago on October 9, 2008 10:28 PM GMT
Rightscales images are top notch!
I wouldn't use anything else.
C. Mercier on April 17, 2008 9:22 PM GMT
Great image to start with. Includes all the standard items needed, and the script for how they were installed.
Scott Butler on April 8, 2008 10:08 PM GMT
This is a great basic LAMP+Ruby++ stack for any project. It was a god pick for us. We have had lots of progress with the launch. Good Work, http://www.RightScale.com/ Edward M. Goldberg emg@EdwardMGoldberg.com
Edward Goldberg on November 21, 2007 5:32 AM GMT
problem registering
Hi there, When I try to register the ami I get the following error Client.InvalidManifest: Invalid or unaccessible kernel in manifest: aki-69a54000 Any ideas.. Des
dmccarthy@desmc.com on November 20, 2007 8:03 PM GMT
We are temporarily not accepting new comments.
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.