Questions tagged [amazon-s3]

Amazon Simple Storage Service - an online storage web service offered by Amazon Web Service.

67 questions
13
votes
4 answers

Why shouldn't I use Amazon S3 for hosting a static webpage

I remember reading somewhere that there was a serious pitfall to using Amazon S3 for hosting a static website. I forgot what it was though. To me, S3 seems like a perfect option. Super fast, super scalable, and pay as you go. What are the negatives…
Kyle
  • 251
  • 1
  • 2
  • 5
12
votes
1 answer

If I only serve gzipped version of my content, should I add the vary accept encoding header?

I just moved a static site from a VPS to Amazon S3. I have decided to serve only gzipped version of my pages, since S3 is not a webserver I can't have logic based on headers. I also use Cloudfront as CDN. I was testing my page with…
Kev
  • 335
  • 1
  • 2
  • 9
7
votes
1 answer

Can I set a variable "Expires" in Amazon S3?

I have a ton of files in Amazon S3 (served via Cloudfront) for which I have added an Expires header of Mon, Jan 1 2024 11:11:11 GMT However, I have recently learned that setting an Expires header more than one year in the future violates the HTTP…
DisgruntledGoat
  • 21,658
  • 5
  • 56
  • 101
6
votes
2 answers

How does a CDN work on the tech side?

I never used a CDN before so this is a noob question, but how does it work on the tech side. For example right now when a user uploads an image on my site it is uploaded to the "/uploads" folder at the root of my "www" folder via PHP. If I use…
user13091
6
votes
1 answer

Pointing Namecheap domain to AWS S3 static website with HSTS .dev TLD

I recently bough a domain with Namecheap with the intention to point it to an AWS S3 static site. My problem is that putting 'www.mydomain.dev' and 'mydomain.dev' into the address bar leads me to an infinite "Connecting.." loop in Chrome and…
user103296
5
votes
1 answer

How should I reference precompressed versions of static files hosted with Amazon's S3?

I have a website that serves static assets (CSS, JavaScript, images) directly from Amazon's S3. As far as I know S3 does not support gzip even when browsers accept it. What problems might arise if the HTML page links to pre-compressed…
Evgeny Zislis
  • 1,402
  • 1
  • 15
  • 26
5
votes
2 answers

Website on S3: Multiple subdomains to one Bucket?

I'd like to host a website on Amazon S3. What's the best practice to make a site accessible from both example.com and www.example.com?
user11298
5
votes
2 answers

Amazon S3 or Dedicated Storage Server for small business site Image Hosting

We have a small business website that needs to host lot of images and we are trying to decide if we need s3 to host all our images or should we just use a NAS for storing and hosting our images Our website allows user to customize their Products…
Julia
4
votes
1 answer

Prevent image hotlinking from Amazon S3 and while allowing social networks

I'm using Amazon S3 to host some assets (mostly images) on a small project. I'm trying to find a way to prevent leeching (which can be very serious should someone tried to use a network of bots to shoot my bill to the stars). My current approach is…
K.D.
  • 41
  • 2
4
votes
1 answer

AngularJS SEO for static webpages (S3 CDN)

I've been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there, PhantomJS, prerender.io, seo.js etc., rely on a backend to recognise the…
advert665
  • 141
  • 4
4
votes
1 answer

ERR_TIMED_OUT when accessing S3 bucket by a custom domain that uses Route53

I have set up a static website by following this walkthrough: https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html I can see the website by accessing its bucket address…
Ali Alavi
  • 93
  • 7
4
votes
1 answer

How to use AWS S3 Route 53 with Gmail business domain?

I have a business domain hosted in google Daniels@mycompany.com and now I want to make my website hosted in AWS S3 hosting. Problem is that Route 53 in AWS console is asking to add 4 NS records, but I already have 5 MX records for Google email…
DanielsV
  • 141
  • 1
  • 3
3
votes
2 answers

My site is getting popular, bandwidth expensive

I'm running a (small) image hosting site which has been getting a little bit of traction lately (2,000 to 5,000 visitors a day, spikes up to 10,000). It's hosted on Linode and I've already run out of the bandwidth for this month (300 GB). I've…
ElbertF
  • 133
  • 3
3
votes
1 answer

Problem downloading .exe file from Amazon S3 with a signed URL in IE

I have a large collection of Windows exe files which are being stored/distributed using Amazon S3. We use signed URLs to control access to the files and this works great except in one case when trying to download a .exe file using Internet Explorer…
Joe Corkery
  • 207
  • 2
  • 9
3
votes
4 answers

Using Amazon S3 has increased the page load time? Why?

I am optimising the page load time for my site. After a bunch of changes, the load time had decreased. As suggested by a lot of people, I decided to use Amazon's S3 to store and serve my static content. This increased the page load time by almost a…
bcosynot
  • 225
  • 3
  • 7
1
2 3 4 5