Fedora Core 8 i386 with Ruby on Rails 2, Mongrel, Nginx, MySQL

items>Fedora Core 8 i386 with Ruby on Rails 2, Mongrel, Nginx, MySQL
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.

Everything you need to run Ruby on Rails v2. Also patched up to address common issues reported in the EC2 forum; compliant with Amazon's AMI security guidelines.

Details

Submitted By: Webficient LLC
US East AMI ID: ami-a93adfc0
AMI Manifest: webficient/ec2_images/fc8-rails2-nginx-mysql/image.manifest.xml
Operating System: Linux/Unix
Created On: February 12, 2008 1:10 AM GMT
Last Updated: June 4, 2009 5:22 PM GMT

View the Webficient AMI list for other versions and configurations.

February 11, 2008 - Initial Release

Key Features

  • Ruby on Rails 2.0.2
  • MySQL 5.0.45
  • Mongrel 1.1.3
  • Nginx 0.5.34
Nginx is a great alternative to Apache due to its low memory footprint and blazing fast performance.

Extras

Ruby Gems (1.0.1):
  • capistrano (2.1.0, 1.4.1)
  • eventmachine (0.10.0)
  • hpricot (0.6)
  • libxml-ruby (0.5.2.0)
  • rack (0.2.0)
Webmin
Glorious Web-based server console, installed but disabled by default. To start up:

shell> /etc/webmin/start

Then point your browser to https://:10000

Note: SSL is handled through a local cert; default port of 10000 can be changed in Webmin config. Be sure you open up that port through Amazon as part of your security group settings.

username: webmin99
password: chall3ng3$

Note: you can change the password for the above user before starting up Webmin as follows:

shell> /usr/libexec/webmin/changepass.pl /etc/webmin webmin99 NEWPASSWORD

Optimizations and Bug Fixes

This image was based on an existing FC8 AMI submitted by another member but significantly patched and enhanced, including the following changes:

Optimal File System Partition Size

Many AMIs don't have enough space on /dev/sda1 for upgrading pre-installed system modules and apps. The last thing you want to do is run 'yum update' and hit a brick wall. This image provides you with over 7G of free space on the first partition (with an additional 140G on /dev/sda2).

Amazon Xen Kernel 2.6.16 Included

If you plan on customizing and bundling your own image, you'll need the Amazon Xen kernel (found in /lib/modules/2.6.16-enU). Source files also included in case you need to patch anything. Warning: not all AMIs floating out there include the Xen module, which leads to an annoying error during the bundling process, "Could not find any loop device."
http://developer.amazonwebservices.com/connect/thread.jspa?messageID=44065

Rsync Patched

http://developer.amazonwebservices.com/connect/message.jspa?messageID=72549

Ruby XmlBuilder Patched

http://developer.amazonwebservices.com/connect/message.jspa?messageID=73088#73088

Includes Amazon's Shared AMI Guidelines

The following guidelines were implemented, resulting in a more secure instance:
http://docs.amazonwebservices.com/AWSEC2/2007-08-29/DeveloperGuide/building-shared-amis.html

Unnecessary Services Disabled

Didn't think you needed the Bluetooth driver active, didya? Run the 'top' command (or use Webmin's nifty "bootup/shutdown" interface) to see what's running by default.

Questions? Problems?

Email techsupport@webficient.com.

Comments

Works like Charm
Its a wonderful AMI. I have been using it for last 6+ months and till now no issues. Btw, I'm planing to move this AMI to EU region but not able to do cuz its missing ARI/AKI details. Can anybody has the details ARI/AKI of the image for EU region? Thanks!
jm141 on June 12, 2009 10:03 AM GMT
Great AMI
Got this up and running with no problems, works like a charm :)
logicodetomgallagher on May 18, 2008 2:16 PM GMT
Installing NX receipe
This AMI seems to work very well. I posted a summary of some notes I made while getting NX installed. If you can suggest improvements or spot problems please post on the thread below (that way we might keep NX related issues in one location). http://developer.amazonwebservices.com/connect/thread.jspa?messageID=82498𔉂 I hope this helps.
mk_v on March 10, 2008 10:31 AM GMT
Works as Advertised
Got this up and running with no problems. As mentioned in the notes, none of the services (webmin, ngninx, etc.) are running at boot so I had to make those changes as necessary, but definitely not a big deal. All EC2 tools are installed and I was able to successfully make an AMI that incorporated my changes after tweaking some configs and installing some gems. The only thing that kept this from getting 5 stars is the lack of some the basic services (i.e. FTP) being installed on the server which required some additional work. Still, far better than building the whole thing from scratch.
Aaron Hurley on February 27, 2008 11:18 PM GMT
We are temporarily not accepting new comments.
©2015, Amazon Web Services, Inc. or its affiliates. All rights reserved.