Yongfook’s posterous - free toy inside
« Back to blog

Cloud vs. Physical

I'm in the process of moving to the cloud.

The database layer of Seashell already runs off the cloud.  It was a seamless, downtime-less transition.  I will be moving the application layer to the cloud soon.  Then I'll do the same for Peashoot. The applications will be run from Rackspace Cloud Servers.  The databases from FathomDB.

Naturally I ran some tests before making this decision.  The usual type of load, latency etc tests.  I've posted some apache benchmark results below, comparing my physical server to a similarly-specced cloud server.  What's important is not the absolute numbers (the benchmark was initiated from a server in Japan) but relative.  Moving to the cloud will have zero impact on the end user.

Therefore, moving to the cloud is a simple financial decision.  I can halve costs without impacting user experience.  That's before factoring in other benefits like being able to scale faster and more cheaply.  I've been running a physical server for a year now, which in bootstrapped startup language means I've been leaving money on the table that whole time.

You live and learn :)

If you make web apps or run a website, please vote - Cloud or Physical?

UPDATE: Both the application and database layer of Seashell are now on the cloud!

UPDATE 2: Peashoot and Seashell are now both fully running on the cloud!

       
Click here to download:
Cloud_vs._Physical.zip (481 KB)

Comments (10)

Dec 20, 2009
montanaflynn said...
Very interesting, I run my sites on a cheap shared host but planning on moving to the cloud soon.
Dec 20, 2009
stargrey said...
With our current application re-write we are moving from 14 physical servers to 12 cloud servers. We are getting more power, better load balancing, and we're saving more than 1/2 our current server/host costs.
Dec 20, 2009
I'd be curious to know of the people who answered your poll, when they started building their applications. I'd guess that anyone who has started out in the last 6-9 months is definitely in the cloud. Before that maybe not so much if they haven't had an opportunity to rearchitect and take a fresh look.
Dec 20, 2009
Leif said...
We looked at moving from Rackspace's dedicated servers to their Cloud hosting. Because of our dynamic sites and web apps, it just didn't like we'd gain any benefits from moving
Dec 20, 2009
yongfook said...
Leif > that's kind of the point of this post. I couldn't see any real benefits or gotchas in terms of relative performance.

Where the cloud servers trumped the physical servers is on running costs, and by a high margin.

Dec 21, 2009
I hadn't heard of Fathom before. What made you go with them vs. Amazon's MySQL or just running it on your own instances?
Dec 21, 2009
yongfook said...
Ray > the partnership with Rackspace gave them the credibility I
needed to make the decision.

Amazon's RDS is not a drop-in solution. There's some API faffing
involved and that's not what I was after.

FathomDB acts like any other mysql database. Migrating my CI apps was
a simple case of replicating the DB to FathomDB, then changing my
connection parameters in the app. The actual switch took less than a
minute (excluding the time to dump and import).

I could provision my own instances but... long story short I'm too
lazy for that :) Happy to let the experts take care of it for me.
Dec 21, 2009
Sounds like a great service. Anybody that makes it take less than 1 minute to start using it has their stuff together.
Jan 28, 2010
Gunnar Mattiasson said...
Hi!
I'm just starting to develop using CI and I'm about to build this webapp. Woulditbe better for me to deploy it "in the cloud" directly or is it better to do it on a physical server first and then move it once the customer base starts to grow and I need to scale?
Is there any differences in coding for cloud hosting compared to physical hosting?

Regards,
Gunnar

Feb 05, 2010
Chris Brisson said...
Great post. We're in the midst of pulling the trigger on going in the cloud or on a dedicated. Your post kinda gave a step back to look further into using the cloud.

What do you like best about cloud compared to just a box?

Thanks,

Chris

PS. Love your minimalistic design. :)

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter