Questions tagged [amazon-s3]

This is for questions on Amazon's cloud storage service.

1135 questions
32
votes
3 answers

What is the difference between Buckets and Folders in Amazon S3?

What is the difference between Buckets and Folders in Amazon S3 ? Is such a thing like Folder exist in Amazon S3 ? or only the S3 clients present Folders to us for better handling ?
nlingutla
31
votes
8 answers

Automatically delete old items from s3 bucket

Is there an easy way to set up a bucket in s3 to automatically delete files older than x days?
jdp
  • 413
18
votes
3 answers

How do I prevent deletion of S3 buckets?

It looks like creating a bucket policy might do the trick, but I am having trouble creating the policy.
13
votes
2 answers

Uploading files with similar filename in Amazon S3

Basically, how does Amazon S3 handle files which already have the same filename inside a specified bucket? Assuming I can only upload to one particular bucket, will S3 change the filename or something? Thanks!
Nikko
  • 255
8
votes
3 answers

Storing and serving files securely for multiple clients

We are working on a web app, where (among other features) our users can upload their files. However we can't store these files on our VPS because storage space is limited, so we decided to go with S3. The main problem is that we must make sure users…
5
votes
1 answer

Amazon S3 Set Expires header

Is there any way to tell Amazon S3 that all existing and future files in some bucket should have some speicific Expires header?
4
votes
0 answers

How to remove orphaned s3 bucket

I have an s3 bucket that I can see in the console or with aws s3 ls/aws s3api list-buckets but the bucket appears to be in some sort of orphaned state. It's missing the Access and Region fields in the s3 console and I can't access anything about the…
Robert
  • 141
4
votes
2 answers

When a Get request to Amazon S3 returns 304 Not Modified, does it also count against request quota?

I save user profile pictures on Amazon S3 with some random path/filenames for each user. The database knows the path for each user image. My question is that when user navigates within the app, a get request is issued to the profile picture several…
4
votes
1 answer

Limiting bandwidth of the of Amazon aws s3 uploads

I'm currently having daily backups of my files on uploaded to S3 bucket using aws s3 mv command, i.e.: aws s3 mv $webroot/backups/db/ s3://my-backups/$date/db Everything works, except that recently my host (MediaTemple) started automatically…
4
votes
1 answer

S3 bucket alias

I have a S3 bucket called "abcd" that I would like to map to a subdomain, "abcd.mydomain.com", using a CNAME. Unfortunately I can't move files from the original "abcd" bucket to a new "abcd.mydomain.com" bucket, because it will break an existing iOs…
3
votes
1 answer

AWS S3 upload speeds very slow

I have a 20 Mbps symmetrical pipe. Upload speed to AWS S3 tops out at 2.3 Mbps. Tried the multipart upload but even with 10 concurrent threads, the total speed remains the same, just gets split between all threads ~20 KB/s.
prl77
  • 430
3
votes
1 answer

Restricting access to files on Amazon S3 on per-file basis?

I have an interesting requirement: There's various files on the same S3 Bucket. The task is to restrict access to the files on a per-file basis using usernames and passwords. I tried using an FTP server and s3fs for the job but the connection time…
3
votes
2 answers

The size of Amzon S3 bucket from S3 console?

I wonder if there is some way to get the size of Amazon S3 bucket directly from console https://console.aws.amazon.com/s3/ Clicking properties returns great deal of information, but not the size of the buckets in Bytes... Here is what I get when I…
prosti
  • 348
3
votes
1 answer

Most efficient way to copy between S3 accounts

I am migrating data from one S3 account (billed to me) to another S3 account (billed to my company). How do I copy the data in the easiest, fastest, and most cost-effective way? There are some utilities that do this (like S3 Browser), but they all…
lukecyca
  • 2,205
  • 13
  • 20
2
votes
3 answers

ERROR -- : Response was: 307 -- Temporary Redirect when trying to upload to bucket

I get 307 when uploading to a bucket with Amazon's Ruby gem (2.10.2). Another bucket works fine (both were created today). I checked the name and I didn't misspell it. What is causing the error?
1
2 3 4