News for hackers. Stuff that matters.
Re:Fallacies of Distributed Computing by champion on Thursday April 21, 2011 @12:10PM (#2471158)
Why do people think being in the "cloud" for hosting changes any of these rules? EC2 is a rentable compute utility, it doesn't provide for automatic failure or redundancy. Also people keep talking about an EC2 outage but it is really 1 region and from the status updates, maybe only a single Availability Zone that is affected.

That said, maybe I'm just less upset because my site is in a US-East Zone that doesn't appear to be affected.

Re:Fallacies of Distributed Computing by jbigelow on Thursday April 21, 2011 @12:21PM (#2471203)
"EC2 is a rentable compute utility, it doesn't provide for automatic failure or redundancy."

Nobody wants to admit that "cloud" became a great way to market (and mark up) traditional web hosting services that we've had since the early 90s.

It still boggles my mind that Microsoft's Azure, which overall I'm a fan of, makes me pick an instance size (and corresponding price) for my app; the original premise of the cloud was to take these kinds decisions out of the mix. What happens when my micro-instance pegs out? It won't automatically bump up to the next higher level or spin up a new instance for me. This isn't "cloud" this is marketing.

Re:Fallacies of Distributed Computing by tybris on Thursday April 21, 2011 @12:46PM (#2471305)
The difference is in the word "utility".

In the 90s, hosting was a fixed quantity for a fixed price.

In the 00/10s, hosting is whatever you need whenever you need it and pay for whatever you use.

It's like going from chopped wood to an electric grid, a radical transformation of technology and business models.

Re:Fallacies of Distributed Computing by mtogo on Thursday April 21, 2011 @01:07PM (#2471378)
A radical transformation, really? To me it seems more like a small step, just changing the payment model a little bit and making it a bit more convenient to provision more instances.
Re:Fallacies of Distributed Computing by singlow on Thursday April 21, 2011 @12:27PM (#2471222)
Actually, EC2 and AWS in general does give a lot of options for automatic failure and redundancy.

I have a highly available application running in EC2 and I have multiple instances ready for failover and scripts triggered by monitors to move into another zone if the whole zone goes bonkers. This would be much more expensive and complicated if I needed to have dedicated redundant hardware in two geographically separated datacenters.

Re:Fallacies of Distributed Computing by abraham on Thursday April 21, 2011 @01:09PM (#2471381)
You set those scripts up yourself though so AWS is not automatically providing it. AWS does make it easy and cheap though.
Re:Fallacies of Distributed Computing by singlow on Thursday April 21, 2011 @02:24PM (#2471685)
A lot of it is actually just configuration of their auto-scaling mechanism. If a web front end stops working it starts new instances according to the pool minimums and CPU load. There are some custom scripts though, mostly for migrating data to another zone.
Re:Fallacies of Distributed Computing by chubot on Thursday April 21, 2011 @01:35PM (#2471506)
I'd be interested to see some details on your setup.

How would it be more complicated with redundant hardware? Also, it might not be more expensive if you use something like Linode. Linode is not supposed to be "cloud" AFAIK -- those VMs sit on a single "statically allocated" box. AWS is supposed to be "cloud" in the sense that VMs can migrate between physical machines automatically.

I am searching for "aws automatic failover", but some sites seem to be down, probably due to the AWS outage :)

http://www.quora.com/What-is-the-best-automated-single-serve...

Re:Fallacies of Distributed Computing by singlow on Thursday April 21, 2011 @02:37PM (#2471743)
Automatic failover is not directly in the AWS tools, but its fairly simple with some bash scripts and their aut0-scaling features.

My setup just involves an autoscaling pool of web front ends connected to a mysql instance in the back and two micro instances running gluster.

Migrating to another zone involves promoting a mysql slave in another zone, creating a new web front end pool and spinning up the gluster instances. This is all in scripts I wrote. But having those redundancies available on demand at no cost when they are not used is very handy.

I do have a linode for some other projects and I may rather have this site on linode. I am not sure about having linodes spinning up and down on-demand when traffic spikes. Do they support hourly charges for short term use like this?

My primary problem at linode is getting lots of storage space. In one of my linode sites I have an s3 bucket mounted over fuse in write only mode and redirect requests for them to the s3 url. This works well in limited circumstances.

Real redundant hardware may not be more complicated, just more expensive. I do that too.

Re:Fallacies of Distributed Computing by champion on Thursday April 21, 2011 @01:28PM (#2471470)
I think you're right in the sense that they make it easy to have compute units in different geographic/availability zones, which they make much easier/cheaper than doing yourself.

But it isn't something built-in with regard to fail-over handling, etc.