Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using Amazon S3 for images and randomly images 404 when loading from Amazon S3?
Why? How can I fix this bug?
Thanks
You could enable access-logging and try to identify the failed requests in the logfiles.
You can enable access-log for a bucket in the AWS-Console. Select your bucket in the left column, then 'Actions' -> 'Properties' -> 'Logging'
Actually this is no bug.
S3 has been designed to only come close to a 0% error rate. Some requests will always fail.
Because of this you will need to implement a method on your side to try multiple times to load an image before you give up.
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a bucket in s3 called site.cdn. I have also added a DNS record so instead of using the whole big url of cloudfront or s3 i will use cdn.site.com but when i point this address into the browser it lists all files from that bucket...
How can i make sure s3 wont display any files when on the index directory of the bucket?
Make the bucket private, but set the individual files as public.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Also, is it possible to set a default sort order for a bucket on Amazon S3?
For viewing, or for some additional processing?
If you want to sort the files for viewing on a Windows desktop, an inexpensive option is to install WebDrive and map a drive to Amazon S3. You can do a column sort by date, file type, name, etc.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a little cloud api based on amazon which uploads a file with a 20 chars random title.
This file is public, but can anyone access it without knowing the filename?
Example: amazonurl.com/mybucket/myfolder/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.txt
Can someone browse mybucket or myfolder and access the file anyway?
Thanks.
No, S3 does not autogenerate an index.html as some webservers do. You need to explicitly define the file you are referencing to access it.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
The AWS Console won't let me delete a bucket it says is empty (and whose files I deleted using the console) because, when I click delete, it tells me the bucket isn't empty. I assume that this is because deleting the files didn't delete their earlier versions. Is this correct? If so, how can I clean out the bucket? This 2 cent charge on my credit card bill each month is getting annoying. =)
Via the AWS Forum: use Cloudberry, or BucketExplorer.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Amazon's documentation is being somewhat vague with me ... if I host images on Amazon S3 do I pay for "Data Transfer Out" every time an image is loaded? Do I pay for a GET request on top of that?
S3 Pricing see Data Transfer fees (1GB free, $0.15/GB up to 10TB etc) and the per request fees. But an image perhaps you want it in a CDN like CloudFront, not in S3.
Yes, you do pay for bandwidth, even if somebody else downloads your content (through an anonymous request).