Added aws upload support
Merge pull request #1882 from libm/master

Added aws upload support