« AWS Identity and Access Management Users Can Now Log in to the AWS Management Console | Main | Springboard (UK Tech Accelerator) Application Deadline Approaching »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c534853ef0147e27c3b9a970b

Listed below are links to weblogs that reference Host Your Static Website on Amazon S3:

Comments

expert

Sometimes I just want to create some static pages, but I was forced to use either CMS or things like wordpress.

Now I guess there is a solution which is also super reliable.

AWS is just amazing.

Joshua

The missing link is now just something like S3 which also runs PHP5.3 scripts. Imagine how awesome that would be. Deploy app code to "phpS3", deploy database to RDS and have a pure awesome web application stack. Pleeeeaaaase! :-)

Angus Li

This is awsome!!

Just wondering will S3 enable gzip/deflate for static content delivery in the future? This will reduce the bandwidth/cost as well as speeding up site loading.

Ed at Red Bridge

This is a great little a addition to AWS services. I don't see myself using it for any practical reason just yet, but I can already imagine a few pretty cool uses.

Peter Filias

I wonder if you can configure Wordpress to use S3?

Pothi

That is just awesome! I've been looking for this for a long time, but didn't expect it so soon. ;) Wonderful job guys!

@Peter: You can configure WordPress to use S3 to store the static data such as images, videos, attachments, etc. Just upload them on to your S3 bucket and link them to your WP powered blog/website. HTH. I hope you didn't mean to install WordPress on S3. ;-)

Joe Negron ~ NYC

@Peter - Wordpress needs something to process the php scripts and relies heavily on .htaccess rewrite rules - so you need at least a micro instance & apache for that but you can pull static images & videos, etc from S3 - we do it all the time... there are also ways to mount an S3 bucket so that apache can write to it directly (you can have apache read from it too but that defeats the purpose)- and provided it has the right security. See: http://LogicWizards.NET/mounting-an-s3-bucket-on-ubuntu-lucid/ for more info...

Mase

I can imagine writing rich client-side applications in something like SproutCore (http://www.sproutcore.com/) or Cappuccino (http://cappuccino.org/), and hosting them purely in S3. Amazing how a seemingly simple feature enables so much.

DD

This sounds like it will be great with static site generators like Jekyll https://github.com/mojombo/jekyll

Kylefox

I've been working on a tool for creating websites on S3 (https://github.com/kylefox/kirby) and these additions are the final pieces I needed :)

One small thing -- is there a way to get the endpoint URL for a bucket through the API? Unless I've overlooked something, it doesn't look like this is currently possible.

Eric P

Certainly great news. But there is a caveat...

It would seem that you still can't serve a site from root ("domain.com") in this fashion because a CNAME record cannot (or should not, because it breaks RFC) be applied to the root. You could certainly serve "www.domain.com" with s3 Website functionality, but "domain.com" would still need to point to a DNS "A" record.

So, if root domain is desired as the s3 Website address, it seems the only alternative would be to redirect all requests to "domain.com" to "www.domain.com". That means, still, a single point of failure for "domain.com", and a no go for sites that are established on search engines at the root level. Bummer.

I hope I'm wrong on this. Maybe there is an Amazon Route 53 solution, or something that I'm missing?

From RFC1034 section 3.6.2:
If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different.

http://www.faqs.org/rfcs/rfc1034.html

Eric P

Edward Dale

Cool idea. However, there's still no way to serve a site that doesn't use a CNAME, right? For example, example.com. Something would have to redirect example.com to www.example.com, which would be a CNAME to S3. I'd love for someone to correct me if I'm wrong.

Klickmich

Bummer! It has just been days that I put my blog http://inside.glnetworks.de behind CloudFront but could not use S3 as the origin without the now provided default directory object feature. Thanks for adding this feature! If I may: Configurable Redirects and/or Rewrites would be another great thing to have in either S3 or CloudFront.

Mennoabbink

This is a huge step and something we have been waiting for quite some time now. Two remaining questions:

Is this integrated with Cloudfront as well?
Can we expect SSL support (with own certificates like on the elastic loadbalancer) any time soon?

Ryan Townsend

Will this also work for CloudFront to deliver whole websites via a CDN? Would love to see ESI added to CloudFront, then we'd have the ability to take advantage of epic speed (CloudFront), reliability (S3/CloudFront multiple locations) and flexibility (CloudFront ESI -> EC2 hosting the dynamic content).

john adams

Finally! Awesome. I'm sure i'll use this for hosting microsites.

Niall

Sounds great. Thanks AWS!

Martin

Good news. I hope we get the A-NAME record thing soon, then this will be really useful.

Kyle

Has anyone had any luck with setting up this new Static WebHosting feature for their site? I've set up an index.html in the root of my bucket and it is styled with a CSS file located in the '/css' subdirectory but I am struggling to get the CSS file to style the index page. Any thoughts?

Amazon adding the static hosting feature is great, but until they implement more support for server-side scripting such as PHP, the service seems limited to simple HTML sites from the 90's! Thank you AWS, but you can do better! Until then, I'll eagerly await further advancements with this service.

Joel

I've been using Cloudfront and S3 to do this for a couple of months. Cloudfront felt like overkill to just set a default root object. Thanks AWS!

Brian

Seems to me this is presented as a bigger thing than it actually is. It allows your bucket to present a default page for the www address, and gives you a custom 404 page, and er.. that's it, isn't it? None of the approximately 120 sites I help maintain 100% static, so use seem very limited to me. It's a start, but on its own it's a long, long way from hosting a complete website in practical terms.

Luigi Montanez

I can't use this until I can serve my root domain without redirection to "www". Can Amazon designate an IP address (or set of IP addresses) for S3 that I can point my root A record to?

TVD

Amazon S3 combined with the Jekyll static site generator could be a formidable option for hosting static content. Think about all the potential static content we could use: Blogs, Microsites, Minimum Value Products (MVP).

Amazon S3 is thee standard for hosting webapp assets. This new feature to host static content is good added value. Now I'm really interested to see where the S3 platform is in 2-3 years. Congrats to Werner Vogels and the entire Amazon Web Services team.

Committedexpert

It is great to see that AWS is more agile and come out of this feature. Going forward, AWS should be doing a lot of such need based tweaks in EC2, EBS, CloudFront too.

Malcik.
http://www.cloudmanifest.com/

David Kocher

The latest snapshot build of Cyberduck allows website configuration for S3. Refer to http://trac.cyberduck.ch/wiki/help/en/howto/s3#WebsiteConfiguration

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Brought to You By

Jeff Barr (@jeffbarr):



Jinesh Varia (@jinman):



Matt Wood (@mza):



Rodica Buzescu (@AWSstartups):


Email Subscription

Enter your email address:

Delivered by FeedBurner

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29