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.

Amazon S3 (Simple Storage Service) is an online strongly consistent storage web service offered by Amazon Web Services. Amazon S3 provides storage through a simple web services interface. It gives any developer access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites.

References

Tutorials

49879 questions
159
votes
29 answers

S3 Error: The difference between the request time and the current time is too large

I have error The difference between the request time and the current time is too large when call method amazons3.ListObjects ListObjectsRequest request = new ListObjectsRequest() { BucketName = BucketName, Prefix = fullKey }; using…
st78
  • 8,028
  • 11
  • 49
  • 68
158
votes
20 answers

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. However, if I copy and send the page url or go straight…
Viet
  • 6,513
  • 12
  • 42
  • 74
157
votes
10 answers

Amazon S3 Change file download name

I have files stored on S3 with a GUID as the key name. I am using a pre signed URL to download as per S3 REST API I store the original file name in my own Database. When a user clicks to download a file from my web application I want to return…
Daveo
  • 19,018
  • 10
  • 48
  • 71
155
votes
14 answers

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 is showing its age and I've already had to make…
womp
  • 115,835
  • 26
  • 236
  • 269
154
votes
15 answers

Upload folder with subfolders using S3 and the AWS console

When I try to upload a folder with subfolders to S3 through the AWS console, only the files are uploaded not the subfolders. You also can't select a folder. It always requires opening the folder first before you can select anything. Is this even…
chrismarx
  • 11,488
  • 9
  • 84
  • 97
154
votes
6 answers

How to Configure SSL for Amazon S3 bucket

I am using an Amazon S3 bucket for uploading and downloading of data using my .NET application. Now my question is: I want to access my S3 bucket using SSL. Is it possible to implement SSL for an Amazon s3 bucket?
Syam kumar
  • 1,721
  • 3
  • 12
  • 5
153
votes
17 answers

How to upload a file to directory in S3 bucket using boto

I want to copy a file in s3 bucket using python. Ex : I have bucket name = test. And in the bucket, I have 2 folders name "dump" & "input". Now I want to copy a file from local directory to S3 "dump" folder using python... Can anyone help me?
Dheeraj Gundra
  • 1,585
  • 2
  • 10
  • 9
144
votes
19 answers

AWS S3: how do I see how much disk space is using

I have AWS account. I'm using S3 to store backups from different servers. The question is there any information in the AWS console about how much disk space is in use in my S3 cloud?
KennyPowers
  • 4,925
  • 8
  • 36
  • 51
144
votes
23 answers

Is there an S3 policy for limiting access to only see/access one bucket?

I have a simple bucket that looks like images.mysite.com on my S3 and other buckets containing backups, etc. I want to allow a specific user to be able to access the images.mysite.com bucket in order to upload images. However, I DO NOT want him to…
Alex
  • 4,367
  • 5
  • 29
  • 45
143
votes
21 answers

AWS S3 copy files and folders between two buckets

I have been on the lookout for a tool to help me copy content of an AWS S3 bucket into a second AWS S3 bucket without downloading the content first to the local file system. I have tried to use the AWS S3 console copy option but that resulted in…
cnikolaou
  • 3,782
  • 4
  • 25
  • 32
143
votes
5 answers

Uploading base64 encoded Image to Amazon S3 via Node.js

Yesterday I did a deep night coding session and created a small node.js/JS (well actually CoffeeScript, but CoffeeScript is just JavaScript so lets say JS) app. what's the goal: client sends a canvas datauri (png) to server (via socket.io) server…
Franz Enzenhofer
  • 3,666
  • 5
  • 19
  • 30
143
votes
10 answers

Append data to an S3 object

Let's say that I have a machine that I want to be able to write to a certain log file stored on an S3 bucket. So, the machine needs to have writing abilities to that bucket, but, I don't want it to have the ability to overwrite or delete any files…
Theodore
  • 1,683
  • 2
  • 12
  • 13
143
votes
13 answers

How do you set a default root object for subdirectories for a statically hosted website on Cloudfront?

How do you set a default root object for subdirectories on a statically hosted website on Cloudfront? Specifically, I'd like www.example.com/subdir/index.html to be served whenever the user asks for www.example.com/subdir. Note, this is for…
wyer33
  • 6,060
  • 4
  • 23
  • 53
143
votes
3 answers

How do API Keys and Secret Keys work? Would it be secure if I have to pass my API and secret keys to another application?

I am just starting to think about how api keys and secret keys work. Just 2 days ago I signed up for Amazon S3 and installed the S3Fox Plugin. They asked me for both my Access Key and Secret Access Key, both of which require me to login to…
Lance
  • 75,200
  • 93
  • 289
  • 503
142
votes
13 answers

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 been raised in other questions: CSS @font-face not…
VKen
  • 4,964
  • 4
  • 31
  • 43