Search code examples
ruby-on-railsamazon-s3amazon-web-servicesfog

Which gem is better for working with AWS: aws-sdk or fog?


I am just about to start working with AWS (s3 and ec2) and I was wondering which gem is better: aws-sdk or fog?


Solution

  • I would say AWS-SDK. I have not used fog, but have used the AWS gem, and switched. I have found that the official support and bug fixing from the ruby person at Amazon has been pretty good. Also the code in AWS-SDK is nice and clean, and I like the approach. When AWS announces a new feature, the AWS-SDK client seems to get updated within days to support it.

    I looked at fog, and immediately decided against it: a) Too many gem dependencies. b) Lowest common denominator, and c) Internal complexity, needed because it supports many different protocols.