Keep a static "emergency mode" site on S3
coderwall.com
Keep a static "emergency mode" site on S3
1–10 of 85 posts
Re: Keep a static "emergency mode" site on S3
#2Re: Keep a static "emergency mode" site on S3
#3This is a totally awesome idea. You are still in trouble if the load balancer has problems or S3 has problems (unlikely, but not impossible!). It's always smart to have a couple of ways of failing over to something if your main site has problems - for instance, I'm always surprised that more people don't spend time customizing the default rails error/maintenance pages for heroku.
http://journal.paul.querna.org/articles/2009/08/24/downtime-...
One thing you'll probably want to do is set 5xx HTTP status codes on your static site, and to try to get things to not cache it as much as possible.. A redirect to a subdomain hosted on s3 makes it more likely something like Google will pick up on it.
Re: Keep a static "emergency mode" site on S3
#4EDIT: It also takes like no effort to turn on Akamai CDN option for Cloud Files as well.
Re: Keep a static "emergency mode" site on S3
#5Re: Keep a static "emergency mode" site on S3
#6As someone said in the comments, just keep in mind that S3 is just for storage , not serving. You'll need something like CloudFront for that, although I don't know at which degree of activity it's going to save you money to use it. Maybe from the get-go?
Re: Keep a static "emergency mode" site on S3
#7Re: Keep a static "emergency mode" site on S3
#8As someone said in the comments, just keep in mind that S3 is just for storage , not serving. You'll need something like CloudFront for that, although I don't know at which degree of activity it's going to save you money to use it. Maybe from the get-go?
http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHostin...
Re: Keep a static "emergency mode" site on S3
#9Re: Keep a static "emergency mode" site on S3
#10That said, looking through their linked startups is kind of depressing; the firstest of the first-world problems.
EDIT: Okay, okay, not all of them, as my salesbro points out.