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!
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.
Amazon recently released an AWS SDK for Ruby which allows you to interact with s3 as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With