Resources



OpenSolaris Ruby On Rails 2 AMI provided by Sun Microsystems, Inc.

Click for a printer friendly version of this document Printer Friendly Save to del.icio.us
 

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, Postgres, sample SMF scripts, the Blastwave client, Git, Ruby clients for the databases/S3, GNU Findutils, gcc, and Sun Studio. This AMI is provided by Sun Microsystems and requires registration.

Submitted By: nextgenec2  
AMI ID: ami-f4c5219d
AMI Manifest: sun-osol/os2008.05.b91-Rails2.v3.img.manifest.xml
License: Public
Operating System: Linux/Unix

Description:

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 OpenSolaris 2008.05 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 gem 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 provide low overhead monitoring for your Rails application.

The base AMI used was the Sun OpenSolaris 2008.05, with updated software revisions to build91. 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 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(it's available in root's PATH).

Software versions:

Rails 2.1.0
Ruby 1.8.6 p110
Thin 0.8.2
Mongrel 1.1.5
Capistrano 2.4.3
Mongrel Cluster 1.0.5
MySQL 5.0.45
Postgresql 8.2
MySQL / PostgreSQL connector gems.
Git 1.5.6.4
GNU Findutils 4.2.30
Sun Studio Express (Ceres)
gcc 3.4.3
GNU Make
Ruby Library for Amazon S3.

Authors:

Peat Bakke
Prashant Srinivasan
Prateek Parekh

Support:

For technical support during Beta period, please send emails to ec2-solaris-support[AT]SUN[DOT]COM.
For questions on Ruby and Rails in OpenSolaris, please contact webstack-discuss[AT]opensolaris[DOT]org
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_GettingStartedAug08Update.pdf
Register for OpenSolaris AMIs here.

Discussion
Click to start a discussion on this document Create a New Discussion
No discussion has been created for this document.

Reviews
Create Review Write a Review
Be the first to review this.
Welcome, Guest Help
Login Login