Create an S3 Bucket for File Uploads


#1

From @jayair on Mon Apr 10 2017 00:57:49 GMT+0000 (UTC)

Link to chapter - http://serverless-stack.com/chapters/create-an-s3-bucket-for-file-uploads.html

Copied from original issue: https://github.com/AnomalyInnovations/serverless-stack-com/issues/16


#2

From @alexspark on Sat Aug 12 2017 21:11:36 GMT+0000 (UTC)

Looks like the 3rd part in S3 Bucket creation got an update. Got confused for a few seconds.


#3

From @jayair on Sat Aug 12 2017 22:12:38 GMT+0000 (UTC)

@alexspark Thanks for letting us know. Updated - https://github.com/AnomalyInnovations/serverless-stack-com/commit/7b324f958fa5a03acd48bbccf3735e24f6964fbb.


#4

From @lucasgonze on Mon Nov 13 2017 19:11:31 GMT+0000 (UTC)

In the screen shot in the chapter, the owner is admin, which is the IAM user created earlier. However when I created the bucket just now the owner was based on the email for the AWS account.

This may be significant down the road, given that permissions can lead to baffling issues. If this is significant I can add a user using the name of the IAM role and grant the same permissions as in the default.


#5

From @jayair on Tue Nov 14 2017 19:32:07 GMT+0000 (UTC)

@lucasgonze Ah. The admin is the username on the account we were using and not an AWS thing. I think for this case the default owner should be fine.


#6

From @ondrejpar on Mon Dec 25 2017 16:30:59 GMT+0000 (UTC)

You should probably mention that using wildcard in CORS configuration is wrong security-wise and definitely should not be used in production environment.


#7

From @jayair on Wed Dec 27 2017 22:45:08 GMT+0000 (UTC)

@ondrejpar Good point. Just added a note.