Skip to main content

Questions tagged [amazon-s3]

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

Filter by
Sorted by
Tagged with
13 votes
4 answers
11k views

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 ...
Kyle's user avatar
  • 251
12 votes
1 answer
1k views

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 ...
Kev's user avatar
  • 335
7 votes
1 answer
7k views

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 ...
DisgruntledGoat's user avatar
6 votes
2 answers
2k views

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 ...
user avatar
6 votes
1 answer
1k views

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 ...
user avatar
5 votes
1 answer
3k views

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 ...
Evgeny Zislis's user avatar
5 votes
2 answers
2k views

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 ...
user avatar
5 votes
2 answers
1k views

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?
user avatar
4 votes
1 answer
2k views

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 ...
Ali Alavi's user avatar
4 votes
1 answer
2k views

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

I have a business domain hosted in google [email protected] 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 ...
DanielsV's user avatar
  • 141
4 votes
1 answer
1k views

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 ...
K.D.'s user avatar
  • 41
4 votes
1 answer
1k views

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, ...
advert665's user avatar
  • 141
3 votes
4 answers
3k views

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 ...
bcosynot's user avatar
  • 225
3 votes
3 answers
324 views

Students publishing their websites to Amazon S3

I want students to publish their static websites to Amazon S3. But I can't have them all create AWS accounts because it requires their credit cards even for the free usage tier. I don't mind letting ...
at01's user avatar
  • 397
3 votes
1 answer
2k views

IllegalLocationConstraintException on CloudFront (with S3)

I have created an S3 and I uploaded files on the bucket successfully. Now, I am trying to make it work with CloudFront however it is giving me IllegalLocationConstraintException The ap-east-1 ...
senty's user avatar
  • 171
3 votes
1 answer
612 views

Wordpress, Joomla, on amazon S3 only? or do I need EC2 instance

for services like wordpress and joomla, I remember kind of just dropping project files on an FTP when I was doing static websites. Now Amazon S3 buckets reminds me of that, and it can be used for ...
CQM's user avatar
  • 145
3 votes
1 answer
1k views

AWS Elastic Beanstalk - Wordpress keeps resetting plugins and themes

I just tried to make my domain name point to the elastic beanstalk environment that I have been working on and it has just reset all of the theme and plugin data on the instance. This has happened ...
Dolan's user avatar
  • 133
3 votes
1 answer
721 views

Facebook share not picking up Open Graph tags from s3 static hosting

I am trying to make a user-created page using s3. The user submits a photo and a page gets created with a unique id. My bucket Strucuture: S3 BUCKET -231(user-unique id) -index.html (generated ...
milez770's user avatar
3 votes
1 answer
3k views

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 ...
Joe Corkery's user avatar
3 votes
2 answers
565 views

Hosting static aboutus page on S3 bucket and linking to godaddy

I have a domain through godaddy (www.example.com) and it is hosted on a different server. I also have a static aboutus page that I have in an S3 bucket. How do I link my aboutus page to the main ...
user6147975's user avatar
3 votes
1 answer
2k views

What is the 'right way' to serve static content from my AWS S3 bucket on my ElasticBeanstalk deployment?

I've hosted a small PHP environment on AWS ElasticBeanstalk. The static content (.css, .js, .jpg files etc) is inaccessible directly from ElasticBeanstalk, and must come from another source. I've ...
Abhishek Divekar's user avatar
3 votes
3 answers
5k views

Track url from Amazon S3 using Google Analytics

I couldn't find any decent pay per view video solutions for low budget clients. So I'm considering using a membership extension with Joomla and hosting the video with amazon S3. The only issue is ...
morktron's user avatar
  • 133
3 votes
2 answers
727 views

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 ...
ElbertF's user avatar
  • 133
3 votes
0 answers
232 views

Accessing distribution URL directly gives XML error

I'm currently setting up the Amazon Cloudfront distribution and S3 bucket for my Wordpress website. I set up new S3 bucket for the site and i'm using the S3 offload plugin for wordpress to store any ...
Joe Bloggs's user avatar
2 votes
2 answers
3k views

What's the difference between Amazon's EC2 and S3 services?

I heard Amazon is going to offer a free trail of their hosting services soon with their EC2 tier. I'm a new web developer and I'm still learning a lot about hosting and server configuration so I'm ...
Muhammad Usman's user avatar
2 votes
3 answers
3k views

mapping naked domain (www.domain.com) to static website which is saved in s3

I am developing an web application, I recently purchased the domain from godaddy.com and the domain is use google apps, for email, calendar docs and other services as well. Now I just need to show ...
user avatar
2 votes
1 answer
2k views

PHP doesn't work on Amazon AWS S3 for email contact form

I built a website with Adobe Muse, it as HTML, uploaded it to a bucket in Amazon AWS S3, enable webhosting on the bucket, and attached the domain to my website with Amazon Route 53. It can be visited ...
TrevorKS's user avatar
  • 155
2 votes
1 answer
352 views

What is the most intelligent way to store tiny SVG images in S3 Bucket for a single web page consumption?

All image assets need to be loaded for home page (not the case where each image is for a different page). If I understand correctly, if each image gets stored in a different bucket Object, then we are ...
Daniel Martinez's user avatar
2 votes
1 answer
9k views

Avoiding SSL certificate errors with Amazon S3 subdomain

I have an Amazon S3 bucket set up for hosting static image files. I have set up subdomain redirection so that "static.example.com" points to my S3 bucket. The bucket is named "static.example.com" with ...
Nilpo's user avatar
  • 141
2 votes
2 answers
2k views

How to force a 302 redirect to index.html when hosting on S3?

I've found that the following two URLs will show the same content: http://example.com/blog/ http://example.com/blog/index.html In the case of the first URL, it appears to pick up the index.html from ...
Dan Gravell's user avatar
2 votes
3 answers
598 views

Amazon Web Services Free Trial: query about get and put requests

Amazon recently introduced a free tier for its cloud offering. I signed up for AWS and while signing up for the free tier of S3, i found this As part of AWS Free Usage Tier, you can get started ...
abel's user avatar
  • 325
2 votes
2 answers
4k views

How can I parse Amazon S3 log files?

What are the best options for parsing Amazon S3 (Simple Storage) log files? I've turned on logging and now I have log files that look like this: ...
artlung's user avatar
  • 8,648
2 votes
1 answer
384 views

How to setup MX records for a static AWS S3 websites

Hi I've been trying to find an answer to this, but can't seem to. Basically I have a domain name (registered at Namecheap) that (CNAME) points to an AWS S3 bucket endpoint/url (i.e S3-hosted static-...
unknownprotocol's user avatar
2 votes
2 answers
761 views

CNAME to S3 returns the S3 URL

I've setup a static website on S3 under a www.mydomain.com bucket. I also created a CNAME record for it in Namecheap looking like this: Type: CNAME Record Host: www Value: www.mydomain.com.s3-website-...
Conrad's user avatar
  • 31
2 votes
1 answer
416 views

How to debug a non working https setup that uses Amazon S3, route53, Cloudfront?

I am setting up a static site with the following: content hosted on S3 (central Europe region) with a custom domain Cloudfront with https route53 for DNS setup redirect http to https redirect www to ...
Kev's user avatar
  • 335
2 votes
2 answers
581 views

SEO failure: AmazonS3 + AngularJS + Many pages not being crawled or indexed

I've looked over various threads here but nothing that seems to be the same issue. We're currently facing two problems at the moment. If I can address the first problem then it would definitely help ...
Mark M's user avatar
  • 21
2 votes
1 answer
98 views

Double redirect - implications on performance and cost

I recently setup an AWS S3 account and hosted a static site there. I've setup one bucket for the 'www.example.com' and one for the apex domain 'example.com'. The 'www.example.com' bucket redirects to ...
SGouws's user avatar
  • 145
2 votes
1 answer
1k views

Allowing Google to index images on s3

We host our sites' static content on S3. We also have a very open robots.txt; User-agent: * Allow: * This is because in Webmaster tools I get thousands of warnings Sitemap contains urls which are ...
Christian's user avatar
  • 233
2 votes
3 answers
56 views

What media should I store on server and what media should I store on 3rd party hosts?

Right now, amazon s3 holds all my images, but I must wonder, is that necessary or for the best? It seems to me like for images, such as a favicon, I should just host it on my own server since s3 ...
user avatar
2 votes
1 answer
2k views

Mod_rewrite on Amazon S3

Is it possible to use mod_rewrite on Amazon S3? www.example.com/about.html -> mybucket.s3.amazon.com/index.html www.example.com/welcome.html -> mybucket.s3.amazon.com/index.html www.example.com/...
user avatar
2 votes
0 answers
39 views

Images on Google Search Results not showing from S3

For a django-based website that uses Amazon S3 to handle static images, Google seems to inconsistently show the page's main image in the search results. Sometimes it shows, and sometime's it doesn't. ...
Saleh Rabbaniy's user avatar
1 vote
1 answer
2k views

SEO impact of hosting static HTML on Amazon S3 vs. webserver

Scenario: Updating a static HTML file hosted on AWS S3 bucket. I read that a file (including static HTML) cannot be updated on AWS S3 bucket. Existing file needs to be deleted, new file with same ...
zennni's user avatar
  • 123
1 vote
1 answer
382 views

Does changing CNAME for amazon cloudfront slows the download in anyway?

I'm planning to use Amazon S3 with Cloudfront as CDN network. But I'm guessing that changing the url from 345345df4.cloudfront.com to sub.domain.com will slow the process of download Is this correct?...
user avatar
1 vote
2 answers
406 views

Amazon S3 currency charges

I am looking into using Amazon S3 and I live in the UK and have a UK credit card. It seems that Amazon bills in $s, my bank will change me for the exchange from £ to $ and this means it will likely ...
orange's user avatar
  • 113
1 vote
1 answer
174 views

Clients domain does not load in china, instead another site loads

Clients domain tiandilatex.com works fine and is available worldwide, but has problems loading in China. The site is replaced by the first image below, an entertainment blog type website according to ...
Adrian Bakar's user avatar
1 vote
1 answer
1k views

Cloudfront all pages not loading/ static website

I am loading a website with S3 and using Cloudfront for a CDN. S3 website has public access and all pages load (verified by loading through s3 endpoint). However when I load the website somaloans.com, ...
user avatar
1 vote
1 answer
2k views

How do I use Amazon s3 to host audio files linked from my website?

I wanna make a website to allow users to download audio files . Where can i store those audio file. I read about amazon s3 . What is it and how to use it to store my files ? How to serve those files ...
Barbell's user avatar
  • 111
1 vote
1 answer
621 views

Amazon s3 error 500 when instantiating S3Client

The amazon php sdk is uploaded to site and the autoloader is included successfully. But I'm getting an error 500 with no further details. I believe I've isolated the issue to the instantiation of ...
omni's user avatar
  • 19
1 vote
1 answer
68 views

Should we use Amazon CloudFront? (We need mitigate cost attacks)

We want to serve our files from Amazon S3. We are worried about cost DoS attacks (deliberately downloading files from Amazon many times, in order for us to pay a big bill to Amazon). We don't have ...
porton's user avatar
  • 383
1 vote
1 answer
973 views

Uploading images for Wordpress in AWS Elastic Beanstalk application

How do I go about uploading images in an AWS Elastic Beanstalk Wordpress Application? I am using the high-availability method from this tutorial. It's a large WooCommerce website and I have 2gigs ...
Seb G's user avatar
  • 131