Really Bad reasons not to auto-scale cloud based systems

O'Reilly writer George Reese posted today what I consider to be a poor evaluation of the perils of auto-scaling in the cloud.

He does mention the concept of using a governor to limit the power of the auto-scale agent to spin up servers (and spend money), but his insight ends there. Anyone following cloudy issues will have read Don MacAskill's excellent post this past June, where he explains their auto-scale operation, and the need to set limits.

George also makes a few arguments against auto-scaling, which I'll address briefly:

1. Amazon and other clouds cannot respond fast enough to increased capacity needs.

George claims that a 10 minute instance spin up time cannot respond fast enough to help. This is only true if you start to spin up your service when the existing is already (or nearly) toast. Common strategies involve already having some extra capacity running, so as to not immediately fold under an increase. Solving this problem is just tuning the thresholds.

2. Got any disgruntled employees, unhappy customers, or malicious competitors?

George claims that auto-scaling will waste your money in the event of a denial-of-service attack. What he doesn't mention is that a DoS on a non-auto-scaled system will likely take it down. At the very least, it will artificially inflate your usage anyway, and you will still have to spin up more resources to handle the load. I'd rather spend a few extra bucks and STAY UP.

3. So you think you'll stick some governors in place...

George's main claim here is that your governor is likely to be set at the wrong value. Although he doesn't explicity say, he seems to be implying that a governor can only be used to limit the total number of machines. SmugMug (in the aforelinked post) indicates that their governor limits the rate at which new machines can be started. Using this strategy, only the rate of traffic growth.

4. So what about getting slashdotted?

The main complaint here is that an auto-scale agent cannot tell the difference between true traffic growth and a random spike. Clearly, George has never worked with noise filters, which smooth data to reveal real trends. Evaluating load data from the past few minutes will allow agents to ignore spikes easily. Again, this is reduced to tuning thresholds.

5. Don't you lose a key value of the cloud without auto-scaling?

Despite George's claims that no value is lost, there are clear cases where auto-scaling can save your bacon. He claims that 'capacity planning' is the clear answer. I agree with him on the importance of capacity planning, but disagree that proper capacity planning eliminates the need to auto-scale. A good auto-scaling system can save quite a lot of money in cloud processing expenses, which will do wonders for the bottom line.

Summary

I'm not bashing capacity planning here. I believe that capacity planning concepts work very well with auto-scaling, that that proper user of governors and properly set thresholds are the right way to go.

I rarely respond to lousily written posts and dumb opinions, but this one irked me for some reason. At this point, I have nothing but logic and the experiences of others to rely upon. Over the next few years, I plan on gaining some extensive experience in auto-scaling cloud based systems, and perhaps then I'll be in a better position to dish a proper smack-down.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
tom's Gravatar Sam,
2. Got any disgruntled employees, unhappy customers, or malicious competitors?
Your point is little confusing here, If some body does a continious DOS attack for days, my credit card will be charged thinking a real usage. Is there a DOS attack stopper or finder in any cloud offerings?
# Posted By tom | 12/6/08 10:48 PM
Sam Curren's Gravatar Thanks for asking for a clarification.

What I was trying to point out was that a DoS will cause problems on both auto-scaled and non-auto-scaled systems. A long-term level of false traffic will require a greater number of servers the same way as an auto-scaled service. A short-term level of false traffic (a typical DoS) will bring down a non-auto-scaled service, while an auto-scaled service will remain up, even though it costs more.

As I said, I'd rather pay the extra to keep the site up. So, if you have disgruntled employees, unhappy custoemrs, or malicious competitors, auto-scaling is EXACTLY what you need.

As an aside, how much traffic would they throw at you? if you can handle normal load with 1 server, and they throw 10 times the normal traffic at you, then your EC2 charges will be (*gasp*) $1 an hour till you can block the DoS attack. If you normally run 10 servers, and they cause a scale to 100 servers (which is quite a lot of load), then you are only paying $10 an hour to stay up under the attack.

In either situation, you are likely to have a monitoring system altering you to the increased traffic, which will allow you to monitor and adjust. Auto-scaling just gives you a faster response to the situation which is likely to minimize any downtime experienced.
# Posted By Sam Curren | 12/7/08 7:28 AM
PeterKraus's Gravatar Hi.
Isn't tuning the tresholds basically... capacity planning?
Peter
# Posted By PeterKraus | 12/7/08 8:25 AM
Sam Curren's Gravatar Yes, Peter, I believe that tuning thresholds can be considered to be part of capacity planning. I believe (and state in the summary above) that capacity planning and auto-scaling are two strategies that work well together.
I'm not trying to argue that capacity planning is unnecessary, but that proper capacity planning does not eliminate the need or use of auto-scaling.
# Posted By Sam Curren | 12/7/08 12:27 PM
Michael Benson's Gravatar Well said, Sam. While reading the initial article, I was thinking how much I disagree with his points. True, while using cloud computing can be a very bad idea at times, it is the right tool for many applications. I think part of his backlash might have been seeing too many systems designed with auto-scaling used as a "new hammer". One could write an article about how objects should not be used if all the reference you had was bad examples.

One other massive benefit to using auto scaling systems is development/setup costs. Lets say, hypothetically, you were trying to build a system to transcode videos for a small startup video sharing website. Transcoding is a simple, yet time consuming process. Trying to buy all the servers necessary to keep the system running while still living under venture capital would be a nearly impossible task. The cost of the servers plus hosting could make it cost prohibitive. However, with a cheap cloud computing system, such as EC2, you can complete the project and keep costs to a minimum while still allowing the system to grow until you can 1) afford the servers to do the entire system in house and 2) gather enough info on trends to do proper capacity planning.

The second benefit mentioned above is development costs. Auto scaling allows you to keep each individual node type in the system simple to develop and easy to maintain. Additionally, it helps solve some of the initial unforeseen design problems that the system may have so that the transition from an auto-scaling cloud based system to a true dedicated system much easier. And at this point, you will (hopefully) have the project making money so that you can afford the capital costs associated with a true dedicated system.
# Posted By Michael Benson | 12/8/08 10:09 PM
Brad's Gravatar Great rebuttal. I think it's ridiculous the way he completely wrote off auto scaling, but then goes on to say "oh well it's okay here". I think the main point here is both automatic scaling and capacity planning have their places. Using one and not the other could mean you're either spending too much money or aren't providing an appropriate level of service for your customers. It behooves anyone to use both in balance. Capacity planning for manually scaling the level of service and auto scaling for unpredictable or (hopefully not) missed capacity problems.
# Posted By Brad | 1/25/09 8:00 PM
# Posted By air jordan | 3/18/10 6:05 AM
air max's Gravatar http://www.saleairmax.com Nike air max shoes
http://www.saleairmax.com nike air max
http://www.saleairmax.com Nike air max shoes 2009
# Posted By air max | 4/1/10 8:14 PM
# Posted By coach handbags | 5/12/10 8:52 PM
hair straightener's Gravatar The high heels and the red sole are both the basic characteristics of [url= http://www.christian-louboutin-dealer.com] christian louboutin[/url].[url= http://www.masai-mbt.com] MBT Shoes [/url] have special multi-layered soles that are designed to change the way you walk,so you workout your entire body while you wear [url= http://www.anti-mbt.com] mbt shoes review [/url]. They're supposed to tone your legs, back and stomach, and improve balance, posture, and varicose veins.One day I surf the internet found a good online shopping website :[url= http://www.air-nike-max.com] Nike Air Max shoes [/url] It is a high-credit websites.[url=http://www.ghdhair-trade.com]GHD Straightener[/url] has made its stable status in hairdressing market, followed by numerous innovations of technology.?ghdhairlyp?
# Posted By hair straightener | 5/13/10 5:14 PM
ghost2069's Gravatar All of the products on our website <a href="http://www.air-nike-max.com">; nike air max</a> are authentic.
Wearing <a href="http://www.masai-mbt.com/">; MBT Shoes </a> walking can effectively exercise the small muscles around the joints, strengthen muscles, burn more fat. Meanwhile, <a href="http://www.anti-mbt.com/">; mbt shoes reviews </a> with a high degree of about 5 cm, can reach the effect of implicit higher. <a href="www.ghdhair-trade.com/">; GHD Straightener </a> has made its stable status in hairdressing market, followed by numerous innovations of technology. Nikeairmax005 , 0515
# Posted By ghost2069 | 5/14/10 10:31 PM
MBT Shoes's Gravatar There are several kinds of charming discount <a href="http://www.cheap-shoesonline.com/nike-air-max-c-11... max</a> wholesaling in our online
<a href="http://www.cheap-shoesonline.com/nike-air-max-c-11... max</a> shop with free shipping and at a low price.It must be your wise choice to

<a href="http://www.cheap-shoesonline.com/mbt-shoes-c-22447... Sale</a> buy new from our shop. The win warm praise
<a href="http://www.cheap-shoesonline.com/nike-air-max-c-11... air max</a> from customers for its stable quality.
# Posted By MBT Shoes | 5/16/10 8:11 AM
ed hardy clothing's Gravatar http://www.ed-hardy.cc ed hardy
http://www.ed-hardy.cc ed hardy outlet
http://www.ed-hardy.cc buy ed hardy
http://www.ed-hardy.cc cheap ed hardy
http://www.ed-hardy.cc discount ed hardy
http://www.ed-hardy.cc cheap ed hardy
http://www.ed-hardy.cc wholesale ed hardy
http://www.ed-hardy.cc ed hardy for sale
http://www.ed-hardy.cc ed hardy on sale
http://www.ed-hardy.cc sale ed hardy
http://www.ed-hardy.cc don ed hardy
http://www.ed-hardy.cc ed hardy designs

http://www.ed-hardy.cc e d hardy
http://www.ed-hardy.cc hardy ed
http://www.ed-hardy.cc authentic ed hardy
http://www.ed-hardy.cc swimsuit trends 2010
http://www.ed-hardy.cc ed hardy shop
http://www.ed-hardy.cc ed hardy store
http://www.ed-hardy.cc edhardy
http://www.ed-hardy.cc cheap ed hardy clothing
http://www.ed-hardy.cc ed hardy christian au
http://www.ed-hardy.cc ed hardy accessories

http://www.4unj.com/ wholesale nfl jerseys
http://www.4unj.com/ cheap nfl jerseys
http://www.4unj.com/ Youth nfl jerseys
# Posted By ed hardy clothing | 5/19/10 12:49 AM
gucci bags's Gravatar A lifeguard to visitors to protest: I notice you have three days, you cannot in urine wang swimming pool.
Wang: everybody in the [url=http://www.gucci-zone.com/]gucci outlet[/url] swimming pool.
The lifeguard: yes! Sir, but only if you stand on the board in the urine...
# Posted By gucci bags | 5/23/10 12:10 AM
# Posted By coach handbags | 5/30/10 7:08 PM
gugdf's Gravatar Hello every one,welcome to our website.You can find kinds of things here,if you want to buy binoculars,you can visit our website. And there have
bird watching binocularsandzoom binoculars? Tobuy binoculars,you will get much entertainments in life.
rifle scope.If you want to take part in a concert, telescopeis necessary absolutely,so you should
buy telescope.And of course ,there arebest binoculars, spotting scope, compact binoculars,and
monocular.There are few of stores selling binoculars sale in the market,but don't worry,
telescope store lives in our website.
# Posted By gugdf | 5/31/10 8:11 PM
gugdf's Gravatar Hello every one,welcome to our website. You can find kinds of things here,if you want to buy [url=http://www.eyeskey.com]binoculars[/url]
you can visit our website. And there have [url ="http://www.eyeskey.com/technicalinfo.asp">bird watching binoculars[/url] and
[url ="http://www.eyeskey.com/best-binoculars.html">zoom" target="_blank">http://www.eyeskey.com/best-binoculars.html"&... binoculars[/url]
To[url ="http://www.eyeskey.com/orderstutus.asp">buy binoculars[/url] you will get much entertainments in life.

[url ="http://www.eyeskey.com/monocular-rifle-scope.html">rifle" target="_blank">http://www.eyeskey.com/monocular-rifle-scope.html&... scope[/url]. If you want to take part in a concert,
[url ="http://www.eyeskey.com">telescope" target="_blank">http://www.eyeskey.com">telescope[/url] is necessary absolutely,so you should
[url ="http://www.eyeskey.com/technicalinfo.asp">buy" target="_blank">http://www.eyeskey.com/technicalinfo.asp">... telescope[/url].And of course,there are
[url ="http://www.eyeskey.com/best-binoculars.html">best binoculars[/url],
[url ="http://www.eyeskey.com/contact.asp">spotting" target="_blank">http://www.eyeskey.com/contact.asp">spotti... scope[/url],
[url ="http://www.eyeskey.com/travel-binoculars.html">compact binoculars[/url],and
[url ="http://www.eyeskey.com/monocular-rifle-scope.html">monocular" target="_blank">http://www.eyeskey.com/monocular-rifle-scope.html&...[/url]. There are few of stores selling
[url ="http://www.eyeskey.com/about.asp">binoculars" target="_blank">http://www.eyeskey.com/about.asp">binocula... sale[/url] in the market,but don't worry,

[url ="http://www.eyeskey.com/support.asp">telescope" target="_blank">http://www.eyeskey.com/support.asp">telesc... store[/url] lives in our website.
# Posted By gugdf | 5/31/10 8:12 PM
cheap coach handbags's Gravatar A famous item that every woman wants is <a href="http://www.buycheapcoach.com/products/COACH-Handba... Coach handbags</a>. There are so many brands of Coach handbags that will suit your lifestyle and personality. You can find all styles affordable loves you more online or in <a href="http://www.buycheapcoach.com/">Coach outlet</a> store. Now the coach outlet store has become more and more popular, cause there are so many authentic <a href="http://www.buycheapcoach.com/">cheap coach bags</a> on sale this season.
# Posted By cheap coach handbags | 6/1/10 6:33 PM
coach handbags's Gravatar Do not try to dress the dirty walking in the street, it will make you look very strange. Each product of <a href="http://us-coachhandbags.com/">Coach bags</a> embodies the perfect fusion of design and function. Why not make yourself looked unique by using <a href="http://www.us-coachhandbags.com/products/COACH-Han... handbags</strong></a>? Another way, coach bags has always been considered as a luxury, most women dreamed of owning one, but the high price cause that not everyone can pay. Our shop purchase from the manufacturers at low prices, so you can offer lower prices than anyother stores. You may find all products in our <a href="http://us-coachhandbags.com/"><strong&g... outlet</strong></a> are selld at a wholesale price. You will never be regret to order <a href="http://us-coachhandbags.com/">cheap coach purses</a> here.
# Posted By coach handbags | 6/1/10 6:33 PM
nikeshoes's Gravatar The <a href="http://www.nikedunkshoes.net/">nike dunk shoes</a> is a timeless piece which has seen a plethora of colorways this year alone, and <a href="http://www.nikedunkshoes.net/">nike dunks</a> continues to produce new versions. Jordan has been used every year to replace his boots, and a growing number of admirers have begun to follow this custom, which makes <a href="http://www.nikedunkshoes.net/dunk-sb-high-c-66.htm... top nike dunks</a> become special significance.
# Posted By nikeshoes | 6/1/10 6:33 PM
gugdf's Gravatar Hello every one,welcome to our website. You can find kinds of things here,if you want to buy <a href="http://www.eyeskey.com">binoculars</a&g... can visit our website. And there have <a href="http://www.eyeskey.com/technicalinfo.asp">... watching binoculars</a> and <a href="http://www.eyeskey.com/best-binoculars.html"&... binoculars</a>.To<a href="http://www.eyeskey.com/orderstutus.asp">bu... binoculars</a> you will get much entertainments in life.<a href="http://www.eyeskey.com/monocular-rifle-scope.html&... scope</a>. If you want to take part in a concert,<a href="http://www.eyeskey.com">telescope</a>... necessary absolutely,so you should<a href="http://www.eyeskey.com/technicalinfo.asp">... telescope</a>.And of course,thereare<a href="http://www.eyeskey.com/best-binoculars.html"&... binoculars</a>,<a href="http://www.eyeskey.com/contact.asp">spotti... scope</a>,
<a href="http://www.eyeskey.com/travel-binoculars.html"... binoculars</a>,and<a href="http://www.eyeskey.com/monocular-rifle-scope.html&...;. There are few of stores selling<a href="http://www.eyeskey.com/about.asp">binocula... sale</a> in the market,but don't worry,<a href="http://www.eyeskey.com/support.asp">telesc... store</a> lives in our website.
# Posted By gugdf | 6/1/10 7:56 PM
gugdf's Gravatar Hello every one,welcome to our website. You can find kinds of things here,if you want to buy <a href="http://www.eyeskey.com">binoculars</a&g... can visit our website. And there have <a href="http://www.eyeskey.com/technicalinfo.asp">... watching binoculars</a> and <a href="http://www.eyeskey.com/best-binoculars.html"&... binoculars</a>.To<a href="http://www.eyeskey.com/orderstutus.asp">bu... binoculars</a> you will get much entertainments in life.<a href="http://www.eyeskey.com/monocular-rifle-scope.html&... scope</a>. If you want to take part in a concert,<a href="http://www.eyeskey.com">telescope</a>... necessary absolutely,so you should<a href="http://www.eyeskey.com/technicalinfo.asp">... telescope</a>.And of course,thereare<a href="http://www.eyeskey.com/best-binoculars.html"&... binoculars</a>,<a href="http://www.eyeskey.com/contact.asp">spotti... scope</a>,
<a href="http://www.eyeskey.com/travel-binoculars.html"... binoculars</a>,and<a href="http://www.eyeskey.com/monocular-rifle-scope.html&...;. There are few of stores selling<a href="http://www.eyeskey.com/about.asp">binocula... sale</a> in the market,but don't worry,<a href="http://www.eyeskey.com/support.asp">telesc... store</a> lives in our website.
# Posted By gugdf | 6/1/10 7:57 PM
gugdf's Gravatar Hello every one,welcome to our website. You can find kinds of things here,if you want to buy [url=http://www.eyeskey.com]binoculars[/url]you can visit our website. And there have [url=http://www.eyeskey.com/technicalinfo.asp" target="_blank">http://www.eyeskey.com/technicalinfo.asp]bird watching binoculars[/url] and [url=http://www.eyeskey.com/best-binoculars.html]zoom binoculars[/url].To[url=http://www.eyeskey.com/orderstutus.asp]buy binoculars[/url] you will get much entertainments in life.[url=http://www.eyeskey.com/monocular-rifle-scope.html]rifle scope[/url]. If you want to take part in a concert,[url=http://www.eyeskey.com]telescope[/url] is necessary absolutely,so you should[url=http://www.eyeskey.com/technicalinfo.asp" target="_blank">http://www.eyeskey.com/technicalinfo.asp]buy telescope[/url].And of course,thereare[url=http://www.eyeskey.com/best-binoculars.html]bestbinoculars[/url],[url=http://www.eyeskey.com/contact.asp]spottingscope[/url],[url=http://www.eyeskey.com/travel-binoculars.html]compact binoculars[/url],and[url=http://www.eyeskey.com/monocular-rifle-scope.html]monocular[/url]. There are few of stores selling[url=http://www.eyeskey.com/about.asp]binoculars sale[/url] in the market,but don't worry,[url=http://www.eyeskey.com/support.asp]telescope store[/url] lives in our website.
# Posted By gugdf | 6/1/10 7:57 PM
mbt shoes's Gravatar MBT activates the whole body. Save on MBT Shoes for Men & Women! For Walking, Hiking, Beach & More. mbt shoes uk enjory free shipping,fast delivery. http://www.mbts-mbtshoes.com
# Posted By mbt shoes | 6/5/10 1:56 AM