views:

145

answers:

1

Suppose a service written with RoR starts to use AWS S3 to store some data. What is the best library to use for working with AWS S3? Currently the main two alternatives for me are:

What are their main advantages and disadvantages? What if later service will need to use other AWS (like EC2)? What other gems do you use and why?

Thanks!

+3  A: 

Both of the aws s3 gems you've mentioned work great, however if your assets are going to be big and require no post-processing it might be best if users upload directly to s3 with a flash app. This will save your server having to act as the middle man.

For EC2 you'll need to learn a lot about server provisioning. In the ruby community it seems to the two most popular solutions are:

Chef

Sprinkle

There are also a bunch of third party applications for managing cloud infrastructure.

If you're going to be deploying a rails application I highly recommend you check out Heroku (http://heroku.com). It is, in one word, awesome.

jonnii
Thank you for your answer! I'll just wait some time, maybe other answers arrive. :)
Sergii Vozniuk
+999 for Heroku.
Toby Hede