tomfakes | Shared With: Everyone - Feb 13 2007 | rails, ec2, capistranoAutomating deployments to Amazon's EC2 instances
Quoted: I’ve found Capistrano with these tasks to be perfect for managing my EC2 instances. I hope that others can find them useful too and add to them.
Related Content from Around Faves
rail
-
1 FaverViewed: 38 TimesQuoted: The Ruby on Rails (ROR) framework is typically run under Apache on both Linux and Windows Systems. For those that do not wish to use Apache to host their solutions on windows, one alternative is running under Internet Information Services (IIS) World Wide Web Publishing (W3SVC) service. The installer packages Shane Careveo's Fast-CGI ISAPI filter in conjuction with Ionic's Rewrite ISAPI filter and my IIS scripts to allow for integration with IIS under Windows XP or Windows Server 2003. This is a complete solution for hosting your Ruby Rails application under IIS. The installer is compiled using the Nullsoft Installer System (NSIS). IIS setup is handled by my vbscripts and executed from the installer. It installs the Rewrite filter, FCGI filter (including registry config settings), Ruby FCGI bindings and configures the IIS website.
- laurel - Jul 14 20081 FaverViewed: 4 Times
- keston - Jul 16 20075 FaversViewed: 72 Times
ec2
-
This looks like a great addition to Amazon S3 and EC2 - they now have a way of creating simple tables with up to 256 attribute/value pairs. Support for GET, PUT, DELETE, and QUERY.
There are a number of things missing over a real relational database (or even an ISAM). S3 is a simple "blob" store - where each object get be atomically read and written. SimpleDB gives some simple query capability (for smaller data items - 1K max per attribute).
I also see no way to get ORDERBY functionality and, of course, no aggregate values (SUM, MAX, etc). Sometimes this can be overcome in the application layer, but it will make your application more complex than using a traditional database.
Most importantly, there are no JOIN's in this system. This will require the application to make multiple QUERYs to get the data needed to generate a view.
I found it very interesting that this document states that Amazon promotes developers running traditional databases in EC2. My understanding is that Amazon can arbitrarily wipe the state of any machine on EC2 - which would cause you to have to restore the database from some an S3 or external backup.
Maybe someone who is using EC2 for running a database server can chime in on how well that works for them.
1 FaverViewed: 4 TimesQuoted: Amazon SimpleDB - a web service for running queries on structured data in real time. Provides the core functionality of a database - real-time lookup and simple querying of structured data - without the operational complexity
- mohit - Jul 28 20081 FaverViewed: 3 Times
- n.takushima - Sep 20 20072 FaversViewed: 3 Times
