OpenSolaris based RoR AMI

Following our earlier work and commitment we are pleased to announce the availability of the new AMIs which packages Ruby On Rails and related component. The release of new AMI's which will be bundled with different software stack will continue and we will provide you details as and when they become available. There are few very, very interesting things about this AMI which we think is important for the community to know. When we released the initial OpenSolaris AMI we had one not so happy user/community member, Peat Bakke. Then we got in touch with Peat to make him understand what we are trying to do at Sun with OpenSolaris AMI. Feeling good about this conversation Peat together with some of our internal folks started working on one of the new AMIs, Ruby On Rails. The work of Peat with us highlights the community collaboration we are doing with our users/community members. So likewise if you have an idea or disappointment for any reason with OpenSolaris and related AMIs do not forget to contact ec2-solaris [AT] SUN [DOT] COM .

This OpenSolaris Ruby On Rails 2 AMI was released on Aug 22, 2008. This image, based on Sun's OpenSolaris 32-bit image , ami-41e70328, is a complete and optimized Ruby On Rails stack with DTrace support built into it. This stack includes, Mongrel, Mongrel_cluser, Thin, MySQL, PostgreSQL, sample SMF scripts, the Blastwave client, Git, Ruby clients for the databases/S3, GNU Findutils, gcc, and Sun Studio.

This AMI is for developers who wish to develop applications using the Ruby on Rails 2 web application framework. It contains a complete Ruby on Rails 2 stack on http://www.opensolaris.com with packages updated to build 91, with the popular Thin web server, Git client, Mongrel cluster, svn client, gcc, GNU Findutils, Ruby client library for the Amazon S3 REST APIs, Sun Studio compilers, MySQL, PostgreSQL and connector Ruby GEMs for these databases.

We provide a documented sample SMF manifest to aid Rails deployers, available at /root/rails-sample.smf along with a basic Rails application that can be managed with it as an example. The PATH environment variable for the root user includes the software directories. Ruby is available in /usr/ruby/1.8/bin(and symbolically linked from /usr/bin), and the GEMs home (often set by GEM_HOME) is /var/ruby/1.8/gem_home. This is documented in the Ruby OpenSolaris ARC case.

DTrace probes have been integrated into the Ruby source code, and this provides low overhead monitoring for your Rails application.

The base AMI used was the Sun OpenSolaris 2008.05, with updated software revisions to build 91. The OpenSolaris distribution is based on the OpenSolaris project, and features functionality such as ZFS, DTrace, and a new packaging system, the Image Packaging System(IPS). IPS is a network based package management system that allows for users to install applications from online repositories using the "pkg" command. Developers can install additional software on this AMI from the repository using the pkg command. The root filesystem is ZFS in this AMI. Also included in the AMI is the OpenSolaris client for Blastwave.org, pkg-get.

As you know, "pkg image-update" results in updating kernel and ramdisk and is not allowed in EC2 so it is recommended not to run such commands which may make your instance non-compatible with  EC2 environment. More details including re-bundling instruction can be found in the Getting Started Guide.

For RoR on OpenSolaris you can check out Prashant's blog

More details and Amazon AMI Catalog can be found at:

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1438&categoryID=101

Special thanks goes to Peat Bakke for assisting in the creation and testing of this AMI. He is the co-founder and CTO of Blue Hill Solutions, and can be reached at http://www.peat.org.

Comments:

Post a Comment:
Comments are closed for this entry.
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