aws-sdk gem installed and configured in post.rb