TurnKey Linux Virtual Appliance Library

Ruby on Rails + PostgreSQL for Amazon EC2

hermanocabral's picture



Does anyone have an up-to-date ruby on rails TKL Amazon EC2 image with PostgreSQL instead of MySQL?

Jeremy Davis's picture

Not that I'm aware of

But you could roll your own if you were so inclined. IIRC someone has posted instruction to update RoR somewhere here (or perhaps not...?) and I would think thatit would be relatively staright forward to swap in PostgreSQL. If you attempt it, it'd be great if you document how you go, then others could follow your lead.

Hermano Cabral's picture

Already did

Yep, I already upgraded my stack (components, webmin, modules, ruby, rails, etc), installing RVM, MongoDB, replacing MySQL with PostgreSQL and Apache with Nginx.

I'm just not a linux expert so, not sure if I followed all the best practices in terms of security, performance and stuff. I did my homework but if someone with more experience had already built an AMI correctly, I would like to check it out.

Anyway, I've searched this forum and could not find anything related to the rails stack, so I guess I'll just have to build an AMI of my own.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)