Putting a mule on a cloud: one man's battle with Amazon S3
Are we there yet?
The phrase “cloud computing” has been subjected to unnatural forms of marketing abuse. The buzzword pros have taken two nouns that we all recognize, combined them and formed a nebulous, hideous beast that means many things to many people.
Vague as the general cloud computing term is, there are places where you can encounter an actual, useful cloud service and begin to see where things are heading.
As the CEO of MuleSource, a maker of open source enterprise software, I’ve been dabbling with these early cloud/utility services looking for a distribution and cost edge. Or, if not an edge, at least something that’s easy to use and – god willing - more efficient than our current systems.
I’ll be walking you through some of our experiences with these services, particularly Amazon’s “cloud,” in a series of articles. With any luck, we’ll hit on what’s helpful and what still needs to be done in the cloud to turn it from vacuous to practical.
Journey to the Amazon
Back in January, my company reached its breaking point with managing file downloads and download sites. We decided to experiment with Amazon’s S3 (Simple Storage Service) to see if shifting to something resembling a utility service could make life easier. So far, we have been very successful.
We had been managing and maintaining multiple archives on multiple servers. After a while, a server crash, a disk blowout, lack of memory or some other fiasco kept reminding us why we hate computers.
This brings us to reason one for liking S3: you can stop buying and maintaining tons of machines - at least for file serving over the internet.
After several deep technology discussions conducted over games of Guitar Hero, we decided our main goal was to provide speedy file downloads with easy administration. There were several other things we were also looking for.
- Reduced hosting costs - It's
revoltingamazing just how many servers you have to manage in this day and age
- Easy access to storage in case we want to add more files - Even though disk space is cheap, you always need more. The idea of installing disk drives made us all want to vomit.
- Unique URLs for download tracking - We want to know who is downloading and to be able to see the associated statistics.
If you've been living in a cave and aren't familiar with Amazon.com, it's fast. [Well, you know, when it's up – Ed.] The file downloads from S3 appear to be even faster than the site itself. That’s the speed problem solved.
Apple has some unused Clouds.....
With Apple's recent ME generation product rollout going a bit slow I am sure they could spare a few clouds.
"Cloud Computing" Is The Correct Term
I assume that, in future articles, the author will talk about the full scope of Amazon's cloud computing, but in the meantime, my British cat, Mr. Fluffer Wickbidget, III, is meowing quite discontentedly at the above comments. "Computing", regardless of what English language labels and rules apply to it, is definitely a part of the "cloud", although it's not obvious from this story, which covers only S3, the storage portion of the cloud computing services Amazon provides. You can also use EC2, the computing portion, which allows you to do pretty much anything you can do with your own systems. I don't really understand why the author even continues to use his own.
As an example of pure computing, you could create a virtual machine to calculate the digits of pi, provision one of Amazon's EC2 machines to run it, and just let it go, without storing the digits, or even serving them up to anyone. Amazon will charge you for every hour the machine is assigned to you. S3 is billed by how much data you store, and how much you transfer, in and out. EC2 is connected to S3, such that S3 stores all of your virtual machines, which are booted and executed, by EC2, only when necessary. Data transfer between S3 and EC2 is free. Basically, except maybe for backups, you can run your entire business from Amazon, which is the promise that "cloud computing" delivers, today.
Paris, because she's also clueless about the cloud.
Re: Code sample got all bashed together
Aye, that was my fault. Should be better now, you whiney bitches.