All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
304 views

How to set correct Content-Type HTTP header for all files uploaded on S3 bucket?

What is please the correct way to set Content-Type HTTP header for files uploaded on S3 bucket? We use S3 bucket as an origin server for hosting static websites. Bucket is accessed through the ...
STeN's user avatar
  • 1
0 votes
1 answer
87 views

Rails 6 - Understanding AWS Pricing for CDN video on demand application

I am working on an Rails 6 application, already on production which is heavily dependent on AWS Services like S3, Lambda, Cloudtrail, SNS and CDN to serve a video-on-demand app, where users can upload ...
Milind's user avatar
  • 101
1 vote
1 answer
800 views

How to use AWS CloudFront for serving both Images and Website?

I have an e-commerce website, an ASP.NET website running on Windows/IIS. Currently I have all my product photos on the local server's File System but since the number of photos are growing I have ...
Hooman Bahreini's user avatar
1 vote
0 answers
3k views

How to have cloudfront distribution listen on custom port for HTTPS?

I have setup a Cloudfront distribution on AWS with custom domain name to fetch firmware update file from S3. However, the existing devices that we have with customers make an HTTPS request to that ...
sushrut619's user avatar
2 votes
0 answers
21 views

Proper way to handle file serving

We have a website where we our daily bandwidth use is roughly 10GB of user generated contents. The software layer is simply Heroku + some addons for DB and monitoring, and we are handling the uploads ...
nakajun's user avatar
  • 21
4 votes
4 answers
18k views

AWS S3, CloudFront, web font CORS error

I've just moved from my previous CDN to CloudFront for two of my websites. First one is working fine but I used the same snapshot in DigitalOcean to create the 2nd site and here I am getting ...
Ariful Haque's user avatar
0 votes
2 answers
2k views

proxy_pass CDN file in NGINX, but get 502 bad request

I am using S3 to store an xml file and use CloudFront to distribute this file. I want to use nginx proxy_pass to locate this file without change my domain name. such as www.mydomain.com/filename.xml ...
cccc's user avatar
  • 23
1 vote
1 answer
10k views

Cloudfront returns 403 for a minute after upload

I have a cloudfront distribution in front of an s3 bucket. Cloudfront urls are restricted, and keys must be url signed. The s3 bucket is also restricted, allowing only cloudfront to read Sometimes, ...
f.khantsis's user avatar
-1 votes
1 answer
87 views

Server/storage choice for very low bandwidth video hosting [duplicate]

I have a unique project where I'm needing host several terabytes of short ~15mb mp4 video files, of which each video will only be viewed once. Is a CDN recommended here? Or would a basic storage ...
user1661677's user avatar
0 votes
1 answer
4k views

How to disable Last-Modified and ETag headers in a static website hosted on S3 + CloudFront?

Background: there are good reasons to want to disable Last-Modified and ETag headers for some website assets: to prevent browsers sending conditional requests (either using If-Modified-Since or If-...
callum's user avatar
  • 121
34 votes
2 answers
41k views

No Cache-Control Header for files from AWS CloudFront with S3 Origin

We just migrated to Amazon AWS. We currently have an EC2 instance that's working well. It's running Nginx in front and Apache in the back-end. That's running well also. All sites are launched properly ...
jarvis's user avatar
  • 2,006
2 votes
3 answers
331 views

how does AWS S3 bucket Redundant storage works with filepicker/filestack

I am using Filestack https://www.filestack.com/ as fileserver and Amazon S3 as filestorage as complete storage solution for my clients. Filestack offers CDN (Content Delivery Network) which serves ...
skilledpeas's user avatar
0 votes
1 answer
269 views

How to make amazon s3 files fast from anywhere in the planet?

I'm working on a project with user created content, users basically upload long mp3 files to the server which can then be played by other users. Recently users not from europe reported slow "seek ...
kroe's user avatar
  • 1,620
0 votes
0 answers
916 views

How Do I Mask the CDN Domain with My Own Domain Name?

So i've been trying out cloudfront from AWS. Why is the URL 'example.com' resolving to 'example.com.s3.eu-west-1.amazonaws.com' in the Address Bar? I've tried googling loads of questions with this ...
Niccaman's user avatar
  • 101
2 votes
0 answers
61 views

Most bandwidth efficient setup for video sharing [closed]

I built a video sharing platform for a popular french podcast I contribute to. Initially I used S3 and linked directly to it, bad idea. Then I used a pull CDN to better optimize my bandwidth, but s3 ...
Tommy B.'s user avatar
  • 1,423
8 votes
1 answer
1k views

Amazon S3 appears to be blocking cloudflare IP addresses. How do I fix it?

I have static content that is being served by Cloudflare. Cloudflare points to Amazon S3 to pick up the static content and serves it via a CNAME (cdn.mydomain.com). The bucket is setup properly and ...
JStark's user avatar
  • 181
4 votes
1 answer
4k views

Setting up CloudFront CDN on a cookieless root domain

I have recently set up an AWS S3 bucket for my site's static content, along w/ a CloudFront distribution for my CDN. I have this working using a sub-domain. However, after running YSlow, I realized ...
Jerad Rose's user avatar
10 votes
6 answers
5k views

Does a CDN still work even when my server is down?

I am a website owner planning to use Amazon's cloudfront S3. I have been reading all the stuffs about what a CDN can do but i still have an unanswered question. Does a CDN still work even when my ...
Tola's user avatar
  • 101
3 votes
3 answers
2k views

CloudFront - Users requests static files non-stop to make your bill high?

I had this weird wondering once. If I am using CloudFront as my CDN, I pay per requests made on my static files. So here comes the wondering. Can one keep requesting the same file in a non-stop ...
Jonathan Rioux's user avatar
3 votes
1 answer
2k views

Using amazon S3 as storage for attachments in a web-mail system

I am looking to use S3 as data storage service for a mail system. The idea is to allow users to upload files that serve as attachments to their emails, which are then available to download from the ...
Amit Ben Shahar's user avatar
0 votes
1 answer
123 views

Running my own CDN alongside Amazons S3 for nearby visitors

I am running a blog on shared webhosting. The website itself is on the hosting, but my files right now are on Amazons S3 CDN. I have made a bucket lockated in the US, and I have setup a virtual host ...
Saif Bechan's user avatar
1 vote
1 answer
78 views

Amazon S3 preprocess request

Is there any way to preprocess Amazon S3 request by executing some logic in some programming logic (e. g. if I need to restrict access to resources by some dynamic condition)?
SiberianGuy's user avatar
4 votes
6 answers
21k views

How to upload files from Amazon EC2 server to S3 bucket?

What is the default way to upload files from a EC2 web server to a S3 bucket for content delivery?
John's user avatar
  • 123
2 votes
2 answers
685 views

Best way to implement Amazon CloudFront for established website

Some of you may have a solution for this, and I need to hear it. Basically, you have a website, a lot of categories ( games, blog etc ). The idea would be to use Amazon CDN for images, flv's, ...
Adrian A.'s user avatar
2 votes
3 answers
1k views

Does cloud storage replicate the data over many datacenters if so it means i benefit content delivery network?

Let's assume that i want to use cloud storage service from one of the cloud storage provider, i got X gb structured and unstructured data and i will use this data as my contents of my interactive web ...
Berkay's user avatar
  • 431
0 votes
1 answer
514 views

CDN Rerouting on 404 (file not yet in synch with original storage)

Here is the problem. I've setup my app(on EC2) to store uploaded images directly on Amazon S3. I'd like to be able to serve static files(cdn) from my 'home' server so I wrote script that does sync ...
Alan Ristić's user avatar
1 vote
2 answers
218 views

Updateing files on Amazon’s CDN

is there any way to update files stored on Amazon's CDN service? Seems like it won't take any update of a file we make (eg. removing the file and storing the new one with the same file name as before)....
Matt's user avatar
  • 111