News for hackers. Stuff that matters.
Re:AWS Tips I Wish I'd Known Before I Started by krallin on Monday February 03, 2014 @01:40PM (#7172583)
Lots of very useful tips there!

There's one that I think could be improved on a little:

    Uploads should go direct to S3 (don't store on local filesystem and have another process move to S3 for example). 
You could even use a temporary URL[0,1] and have the user upload directly to S3!

[0]: http://stackoverflow.com/questions/10044151/how-to-generate-... [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlU...

Re:AWS Tips I Wish I'd Known Before I Started by jaibot on Monday February 03, 2014 @02:07PM (#7172755)
I have a desktop client that requests one-time upload URLs from my server via an API. Later they get downloaded and processed somewhere else - never actually touching my web server.
Re:AWS Tips I Wish I'd Known Before I Started by Jach on Monday February 03, 2014 @11:14PM (#7175457)
Even cooler I think if you need a lot of file uploads (and potentially organized into their own folders) is letting your customer connect to a WebDAV interface with their system file browser, then they can just drag and drop whatever. (https://code.google.com/r/1meref-sabredav-amazons3/)
Re:AWS Tips I Wish I'd Known Before I Started by richadams on Monday February 03, 2014 @05:51PM (#7174112)
Wow, didn't know about pre-signed URLs, very useful. I've added this info to my article, thanks!
Re:AWS Tips I Wish I'd Known Before I Started by toomuchtodo on Monday February 03, 2014 @01:58PM (#7172701)
I've always seen issues pushing objects directly to S3 from a browser using CORS. YMMV.
Re:AWS Tips I Wish I'd Known Before I Started by ceejayoz on Monday February 03, 2014 @03:09PM (#7173124)
You can specify CORS headers for S3, or you can just use a standard form POST.
Re:AWS Tips I Wish I'd Known Before I Started by toomuchtodo on Monday February 03, 2014 @03:46PM (#7173346)
You still need a stub API for generating the signature to sign the upload requests to S3, correct?
Re:AWS Tips I Wish I'd Known Before I Started by ceejayoz on Monday February 03, 2014 @05:49PM (#7174097)
Not technically, but generally in practice. You can open things up permissions-wise but run the risk of folks uploading lots of large files. Keeping permissions locked down and doing a signature allows things like file size, location, etc. restrictions.