Some comparisons

Lets make some sample comparisons based on 1 year assumptions

High bandwidth (1 Year: 10 servers, 5Tb xfer per month)

  • Low end host – $12,000
  • Mid end host – $21,600
  • Amazon EC2 – $128,880

Low bandwidth (1 year: 10 servers, 200Gb xfer per month)

  • Low end host – $12,000
  • Mid end host – $21,600
  • Amazon EC2 – $8,920

Mixed solution

  • (
  • 8 servers @ amazon for processing (100Gb/mo),
  • 2 servers at a hosting co for bandwidth (2Tb/mo)
  • )
  • EC2 + Low end: $9524 (vs $12,000 hosted, and $9,280 at EC2)
  • EC2 + Mid end: $11,684 (vs $22,800 hosted, and $9,280 at EC2)

When you should (and should not) think about using Amazon EC2

The Amazon AWS team has done it again. And EC2 is generating quite the talk. Perhaps I’ve not been watching the blogosphere closely enough about anything in particular until now (very likely) but I’ve not really seen this much general excitement. The ferver I see going around is alot like a kid at christmas. You unwrap your present. ITS A REMOTE CONTROLLER CAR. WOW! How cool! All of a sudden you have visions of chasing the neighborhood cats, and drag racing your friends on the neighborhood sidewalks. After you open it (and the general euphoria of the ideas start to fade) you realize: this is one of those cars that only turns one direction… And you just *know* that the next time you meet with your best friend bobby he will have a car that turns left *and* right.

I expect we will see some of this… A lot of the talk around the good old sphere is that AWS will be putting smaller hosting companies out of business. But thats not going to happen unless they change their pricing model. Which i doubt they will.

But before all you go getting your panties in a bunch when EC2 only turns left… Remember that EC2 is a tool. And just like you wouldn’t use a hammer to cut cleanly through a board. EC2 is not meant for all purposes… The trick to making genuinely good use of EC2 will be in playing off of its strengths… And avoiding its weaknesses.

Lets face it… The achillies heel of all the rampant early bird speculation is that the price of bandwidth for EC2 is rather high. Most hosting companies get you (with a low end plan) 1000Gb of transfer per month. Amazon charges $200 per month for that speed, whereas you can find low-end hosting for $60, and mid end hosting got $150. Clearly this is not where EC2 excells. And I dont think that the AWS team intended for it to excell here. How big of a headache would it be to run the servers which host every web site on the planet? Not very.

What you *do* get at a *great* price is horsepower. For a mere $74.40/month (assuming 31 days) you get the equivalent of a Xeon 1.75Ghz with 1.75Gb Ram. Thats not bad!

but the real thrill comes with the understanding that additional servers can talk to eachother over the network… for free. There is a private network (or QV) which you can make use of. This turns into a utility computing atom bomb. If you can monimize the amount of bandwidth used getting data back and forth to and from the machine, while maximizing its CPU and RAM utilization, then you have a winning combination which can take full use of the EC@ architecture. And if your setup is already using Amazon’s S3 storage solution… Well… Gravy

Imagine running a site like, say, youtube on EC2. It would kill you with the huge bill. the simple matter of the situation is that youtube uses too much bandwidth in the receiving and serving of its users files. I would have to imaging that the numbers for its bandwidth usage per month are staggering! But lets break out the things that youtube has to manage, and where it might be able to best utilize EC2 in its infrastructure.

Youtube gets files from its users. Converts those files into FLV’s. And then makes those FLV’s available via the internet. You therefore have 3 main actions that are preformed. A) HTTP PUT, B) Video Conversion, and C) HTTP GET. If I were there, and in a position of evaluating where EC2 miht prove useful to me I would probably be recommending the following changes to how things work:

First all incoming files will be uploaded directly to web servers running on EC2 AMIs. Theres no reason it should be uploaded to a Datacenter, and then re-uploaded to EC2, and then sent back down to the Datacenter — that makes no sense. So Users upload to EC2 Servers.

Second the EC2 compute farm is in charge of all video conversion. Video conversion is, typically, a high memory and high cpu usage process (as any video editor will tell you.) And when they built their datacenter I can assure you that this weighed heavily on their minds. You dont want to buy too many servers. You pay for them up front, and you pay for them in back as well. Not only do you purchase X number of servers for your compute farm but you have to be able to run them, and that means rack space and power. Let me tell you that those two commodities are not cheap in datacenters. You do not want to have to have servers sitting around doing nothing unless you have to! So how many servers they purchase and provision every quarter has a lot to do with their expected usage. If they dont purchase enough then the user has to wait for a long time for his requests to complete. Too many and you’re throwing away your investors money (which they dont particularly like.) So the ability to turn on and off servers in a compute farm only when they are needed (and better yet: to only pay for them when they’re on) is a godsend. This will save oodles of cash in the longrun.

At this point, as a side note, I would also be advising keeping long term backups of content in the S3 service. As well as removing rarely viewed content, and storing it in S3 only. This would reduce the amount of space that is needed at any one time in the real physical datacenter. Disks take up lots of power, and lots of space. You dont want to have to pay for storage you dont actually need. The tradeoff here is that transferring the content from S3 back to the DC will cost some money. So the cost of that versus the cost of running the storage hardware (or servers) youselves ends up being. I would caution that you can move from S3 to a SAN, but moving from a SAN to S3 leave you with a piece of junk which costs more than your house did ;D.

Third the EC2 servers upload the converted video file, and thumbnails to the primary (and real) datacenter. And it’s from here that the youtube viewers would be downloading the actual content.

That setup would be when you *DO* use Amazons new EC2 service. You’ve used the strengths of EC2 (unlimited horsepower at a very acceptable price,) while avoiding its weaknesses (expensive bandwidth, and paying for long term storage (unless S3 ended up being economical for what you do))

That said… There are plenty of places where you wouldnt want to use EC2 in a project. Any time you’ll be generating excessive amounts of traffic… you’re loosing money compared to a physical hosting solution.

In the end there is a lot of hype, and theres a lot of room for FUD / Uninformed Opinions (this blog post, for example, is an uninformed opinion — I’ve never used the service personally,) and what people need to keep in mind is that not every problem needs this solution. I would argue that its very likely that any organization could find one or (probably) more very good uses for EC2. But hosting your static content is not one of them. God help the first totally hosted EC2 user who gets majorly slashdotted ;).

I hope you found my uninformed public service anouncement very informative. Remember to vote for me in the next election 😉

cheers
Apok

But… But… But… Why didnt they pick ME?!

There’s a lot of talk going around about Ubuntu linux versus Debian linux versus XYZ linuz and why Ubuntu has become popular (even trendy!) But It seems to me that most of this talk boils down to “But I think MY distro is better” whether “my distro” means “I made it” or just “I use it.”

For years now everybody in the linux community has been saying “Linux can make the consumer desktop.” And I always believed it could (though I never (and sill dont) believed it was there yet.) But now that someone has made something people want to use, and like using, there seems to be a lot of “but this was my idea” and “they didnt do that first, this other did” and even “I cant figure out why this is so popular.”

Welcome to Rome! Where you’re free to worship whatever you like, but you have to admit that Ubuntu has managed to make it big. At least in this rome there arent any taxes to pay. But the simple fact of the matter is tht Ubuntu lilnux pulled together the right combination of things at the right time and in the right place. They were different enough to get noticed amongst a sea of toy (and corp) distributions.

As with all great breakthroughs Ubuntu *HAS* stood on the backs of the giants that came before them. But just as in scientific discovery that fact doesnt discount the new things that have happened! Because to *truly* bake an apple pie from scratch one must first create the universe.

On religion and law (and how unfashionable my views truly are in comparison with my peers)

Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.

I just happened to see this quote (which, by the way, happens to be the 1st ammendment) while doing some surfing tonight, and it hit a small chord withing me when I read it. I also drudged this up, our fourteenth amendment

Section. 1. All persons born or naturalized in the United States and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside. No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.

Section. 2. Representatives shall be apportioned among the several States according to their respective numbers, counting the whole number of persons in each State, excluding Indians not taxed. But when the right to vote at any election for the choice of electors for President and Vice President of the United States, Representatives in Congress, the Executive and Judicial officers of a State, or the members of the Legislature thereof, is denied to any of the male inhabitants of such State, being twenty-one years of age, and citizens of the United States, or in any way abridged, except for participation in rebellion, or other crime, the basis of representation therein shall be reduced in the proportion which the number of such male citizens shall bear to the whole number of male citizens twenty-one years of age in such State.

Section. 3. No person shall be a Senator or Representative in Congress, or elector of President and Vice President, or hold any office, civil or military, under the United States, or under any State, who, having previously taken an oath, as a member of Congress, or as an officer of the United States, or as a member of any State legislature, or as an executive or judicial officer of any State, to support the Constitution of the United States, shall have engaged in insurrection or rebellion against the same, or given aid or comfort to the enemies thereof. But Congress may by a vote of two-thirds of each House, remove such disability.

Section. 4. The validity of the public debt of the United States, authorized by law, including debts incurred for payment of pensions and bounties for services in suppressing insurrection or rebellion, shall not be questioned. But neither the United States nor any State shall assume or pay any debt or obligation incurred in aid of insurrection or rebellion against the United States, or any claim for the loss or emancipation of any slave; but all such debts, obligations and claims shall be held illegal and void.

Section. 5. The Congress shall have power to enforce, by appropriate legislation, the provisions of this article.

Pay special attention to Section 1. OK, so back to the first amendment… the word “respect” here seems ambiguous, but I think that the meaning most befitting the tone of the overal amendment is “Relation; reference.” Meaning that it should not only make no laws specifically favorable to one or more religions but (and this is the part that seems to be lost lately) it should make no laws specifically disfavorable to one or more religions.

What I dont get is why everything is a fight *for* christian icons in the courts, or *against christian icons in the courts. It seems pretty clear to me that the courts are not the place to discuss whether or not something or someone should show a christian, hindu, chineese, islamic, jewish, druidic, egyptian, or otherwise religious symbol.

As for architecture on government property… All governments go through various phases… because the population which upholds the government goes through different phases. It seems to be an ignorant position, to me, that we should eradicate evidence of our past because the philosophies of the current are driving us now. This goes for all of our mistakes AND our successes.

We should not erase the slave trade from our history books. It happened, and we partook, we were wrong, and we’ve moved on. Even if it’s embarrassing and saddening we SHOULD know, and SHOULD remember…

It’s as important to understand that as it is to understand the religious background and beliefes to which the people who founded this nation paid homage. Whether or not the government today holds the same moral and religious structures and codes as the gasoline which drives their engine is something which will show next century in the artwork and architecture whic comprises the buildings associated with out government.

The internet is here, shall we burn down the libraries because of it?

Seeking to destroy evidence of those who came before is the halmark of an ignorant midset. Just look at the dark ages which followed the loss of the library of alexandria. The sun still shown (for it was not dark), but the light of the importance of the progress, however backward, of those who had come before had been extinguished, and it was not until the light of the industrial revolution did we once again look upon the lost secrets which died centuries ago with the elders to whome we had turned our backs. And yet still we seek to learn from the ashes of the midset of destruction of past ideas and are balked by the brute of the ignorant.

Google Version Control

http://code.google.com/

Not at all a suprise offering from Stein 😀 I’m sure it will be top notch. (remember it’s still beta right now, of course it isnt feature complete!)

What this could give google is a distinct in-road to the emerging generation of web and application developers. What better way to know who to hire for a programming position than to have their entire development history available at a moments notice. Will this be the beginning of google knocking on the door of candidates that THEY want, rather than candidates seeking google out?

hmm.

Of Nature, Suffering and the Internet

If you live in an area with earthquakes, you might suffer. If you live in an area with a volcano, you might suffer. If you live in an area where it floods, freezes, scorches, has terrible storms, landslides, avalanches, aligators, bears, lions, snakes, spiders, insects… you might suffer. Sounds like suffering is inherent in nature doesnt it?

If you live in a city, you’ll most likely suffer. If you drive a car, you’ll most likely suffer. If you ride a bike, walk dow the street, deal in business, dont deal in business, work too hard, work too little, live in an unstable country, live in a stable one, work in a school, work at a prison, work (hell anywhere), IF YOU DEAL WITH PEOPLE YOU WILL SUFFER.

I don’t understand why it is that when suffering happens, iether because of nature of because of people, we all drop what we’re doing and gawk like a global community of rubberneckers. And I dont understand why we expect that the internet should be without suffering when we’ve taken nature out (the milder of the two) and replaced it with a heaping handful of human. Anonymous human at that. People this is life… Do something unprecedented about it, or learn to live with the fact that something might happen. Because lets face it you could fall for an e-mail scam, or you could trip on a crack in the sidewalk and sustain fatal injuries. Life’s just a bitch sometimes… It’s enough of a bitch without all the bitching going on…