Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [amazon-s3]

Amazon S3 (simple storage service) is an online object storage service from Amazon Web Services. QUESTIONS MUST BE ABOUT PROGRAMMING. Questions about general S3 support, functionality, configuration, etc. are OFF-TOPIC.

175 votes
26 answers
183k views

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

I get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. when I try upload file to S3 bucket in new Frankfurt region. ...
Alexey's user avatar
  • 2,366
339 votes
18 answers
182k views

S3 Static Website Hosting Route All Paths to Index.html

I am using S3 to host a javascript app that will use HTML5 pushStates. The problem is if the user bookmarks any of the URLs, it will not resolve to anything. What I need is the ability to take all url ...
Mark Nutter's user avatar
  • 5,589
321 votes
34 answers
403k views

S3 - Access-Control-Allow-Origin Header

Did anyone manage to add Access-Control-Allow-Origin to the response headers? What I need is something like this: <img src="http://360assets.s3.amazonaws.com/tours/8b16734d-336c-48c7-95c4-...
Wowzaaa's user avatar
  • 3,980
36 votes
3 answers
16k views

Amazon CloudFront Latency

I am experimenting with AWS S3 and CloudFront for a web application that I am developing. In the app I'm letting users upload files to the S3 bucket (using the AWS SDK) and make it available via ...
Ahsan's user avatar
  • 2,518
305 votes
69 answers
593k views

Amazon S3 - How to fix 'The request signature we calculated does not match the signature' error?

I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far. I am on AWS SDK for PHP V2....
Joseph Lam's user avatar
  • 5,879
112 votes
22 answers
82k views

What is the algorithm to compute the Amazon-S3 Etag for a file larger than 5GB?

Files uploaded to Amazon S3 that are smaller than 5GB have an ETag that is simply the MD5 hash of the file, which makes it easy to check if your local files are the same as what you put on S3. But if ...
broc.seib's user avatar
  • 22.4k
9 votes
2 answers
25k views

How to upload File in FastAPI, then to Amazon S3 and finally process it?

I have a FastAPI endpoint that receives a file, uploads it to s3, and then processes it. Everything works fine except for the processing, that fails with this message: File "/usr/local/lib/...
Ariel's user avatar
  • 3,551
163 votes
8 answers
281k views

FTP/SFTP access to an Amazon S3 Bucket [closed]

Is there a way to connect to an Amazon S3 bucket with FTP or SFTP rather than the built-in Amazon file transfer interface in the AWS console? Seems odd that this isn't a readily available option.
zgall1's user avatar
  • 2,975
86 votes
12 answers
69k views

CloudFront + S3 Website: "The specified key does not exist" when an implicit index document should be displayed

I've just deployed a static website to Amazon S3, which can currently be viewed here: http://www.rdegges.com.s3-website-us-east-1.amazonaws.com/ If you click any of the article links, you'll notice ...
rdegges's user avatar
  • 33.6k
29 votes
7 answers
37k views

Amazon AWS Route 53 Hosted Zone does not work [closed]

So I have moved my domain over to Amazon Route 53 and I have made a new hosted zone with all of the correct records, yet when I go to my domain, it gives me the error dial tcp: lookup ...
DanielRoberts's user avatar
167 votes
20 answers
99k views

react router doesn't work in aws s3 bucket

I deployed my React website build/ folder into an AWS S3 bucket. If I go to www.mywebsite.com, it works and if I click on a tag to go to Project and About pages, it leads me to the right page. ...
Viet's user avatar
  • 6,833
142 votes
13 answers
104k views

Amazon S3 CORS (Cross-Origin Resource Sharing) and Firefox cross-domain font loading

There has been a long standing issue with Firefox not loading font from different origin than the current webpage. Usually, the issue arise when the fonts are served on CDNs. Various solutions has ...
VKen's user avatar
  • 4,994
207 votes
8 answers
583k views

How to write a file or data to an S3 object using boto3

In boto 2, you can write to an S3 object using these methods: Key.set_contents_from_string() Key.set_contents_from_file() Key.set_contents_from_filename() Key.set_contents_from_stream() Is there a ...
jkdev's user avatar
  • 11.6k
163 votes
14 answers
177k views

Pipe a stream to s3.upload()

I'm currently making use of a node.js plugin called s3-upload-stream to stream very large files to Amazon S3. It uses the multipart API and for the most part it works very well. However, this module ...
womp's user avatar
  • 117k
194 votes
3 answers
153k views

Technically what is the difference between s3n, s3a and s3?

I'm aware of the existence of https://wiki.apache.org/hadoop/AmazonS3 and the following words: S3 Native FileSystem (URI scheme: s3n) A native filesystem for reading and writing regular files on S3. ...
Hello lad's user avatar
  • 18.3k

15 30 50 per page
1
2 3 4 5
293