Updated 3 hours ago

12814 products + 13853 members

The web designers' guide to cloud hosting

All you need to know about developing and hosting in the cloud

June 23rd | Tell us what you think [ 3 comments ]

spotify

Spotify provides music for free on a peer-to-peer streaming basis

<>

Cloud computing is quietly taking over the world and changing the way we use our computers forever. Whether you're storing your photo collection on Flickr or logging on to Gmail, everyone's now using the cloud, even if they don't realise it. But how does it work and how can we as web designers and developers make it work for us?

Cloud computing runs on virtual servers. Rather than being a single physical box, a virtual server runs as part of a physical box. This type of virtualisation is nothing new and has long been a cost-effective entry-level solution. Virtual machines on the cloud run on clusters of servers. Again, this is nothing new: most medium-to-large server set-ups involve clustering.

Hardware as a service

The big difference with cloud hosting is that it packages all of this up so that it's 'Hardware as a Service' – the clustering, virtualisation and resilience are all a given. The virtual server on the cloud runs across many thousands of servers, in different data centres in different locations: an entire 'cloud' of servers.

In terms of server architecture, this looks like an obvious progression. In terms of users, developers and business, the implications are as big as the cloud itself.

The move to cloud hosting requires a shift in mindset similar to that when stepping away from apps stored on your own machine to those managed on the web. In the same way that Google Docs means you no longer have to install Microsoft Word, and Spotify means you can listen to music without downloading it from iTunes, with cloud hosting there's no longer a need to lease a server: you can use as much or as little as you need.

Hosting on the cloud

The big player bringing cloud hosting to the masses is Amazon Web Services (AWS), and its timing couldn't be better. Economically, we're living in uncertain times. When it comes to upgrading a 12-month hosting contract or trying to justify another capital expenditure in terms of new hardware, painful decisions need to be made. But with cloud computing, there's less need to worry.

Because you pay for what you use, rather than having to buy upfront what you think you only might use, cloud hosting provides the ultimate pay-as-you go hosting solution. Rather than compromise on performance or scalability, you can just host on the cloud…

As Amazon's CTO, Werner Vogels, put it: "Anything is crappy, whether it's your hardware, your network, your operating system. Don't let anyone tell you that this stuff is unbreakable; if you have enough of these things sitting around, they all break all the time." This is the philosophy with which the Amazon infrastructure has been set up.

As such, AWS cloud hosting is set up over 19 different data centres globally, each with different power connectivity, internet connectivity and geographical location. What happens if one of these data centres goes down? Well, they do go down all of the time: Amazon pulls the plug on one of its data centres monthly, as a real-life rehearsal of what would happen in a fire.

Hosting security evolves

In the old days, many a CTO used to think that the safest place to keep a server was in the office: that way, security could be ensured by fixing the latest in window locks and alarms and ensuring the night security guard had enough coffee. Of course, this approach was about as resilient as keeping your hard-earned cash under the floorboards.

The next approach to hosting security was to put your server in a data centre, with managed security and support. This approach has proved sufficient for many, but it's as limiting as putting all your money in a bank. And as we've all become aware recently, having all of your savings in one bank is something to be discouraged – if it goes down, so does your business.

Now imagine putting each one of your pounds into a different bank account. If you did, then should one of the banks fail, you'd carry on as normal. The same can be said for cloud hosting.

Developing on the cloud

At 3ev, we approach cloud hosting with enthusiasm, because essentially it enables our techies to get their hands on as many servers at any one time as they like.

Previously, we had a couple of collocated live servers for all of our hosting requirements, and setting up an additional box to test something out on was painful, both in terms of expense and time. Additionally there was a certain level of commitment involved: we'd have had to have that server for a minimum of a month, when often we'd just want to set something up for an afternoon.

Nowadays, on the cloud, the virtual machines look just like normal servers. You can ssh in, move stuff around and even install software. So what's actually different?

First, it's brilliantly easy to take snapshots. You can take a snapshot of your data at any time you like and, because you can buy as much storage space as your requirements dictate, you can just keep going. Working with this level of agility means that if one of your sites needs some immediate and risky maintenance, this is easier than ever before.

You can instantly clone it onto a new server – and work on the clone – in the "live" environment. With the cloud you always have spare servers sitting around, should you need them.

Next Page: Scaling on demand

 

Your comments (3) Click to add a new comment

danfrost


June 25th

3. I think cloud hosting is a little more mature than most people make out. We've hosted big apps on lots of rack servers and, sometimes they fail. Most of the time they don't, but when they do it hurts.

The nice thing about cloud - and the thing that is mature - is that it gives you hardware as a service. That means, if it goes wrong turn it off and start again. No hardware to think about.

Alert a moderator

mtitania


June 23rd

2. Cloud computing has a lot of promise, but from experience, actual implementation and results is far from what this article describes.

yes, it's easy to deploy and cancel new instances, but the uptime of a cloud environment, from my experience, isn't as rock solid - if your instance is on a node that suffers a DOS attack, for instance, and that attack has nothing to do with your instance -- you will still suffer, and access to that instance will either go down or be unavailable. I've not experienced, that it will "fail over" to a different node.

So while cloud is the new best thing that everyone is all excited about - I'd temper that with experience by saying that it's not quite "there" yet.

Even with Amazon EC2, you select which city, and you cannot automatically fail over - at least not when I evaluated their service.

Alert a moderator

gandharva81


June 23rd

1. This is the best but also increase in traffic and make internet as Bottle neck theory.

But this will happen some time i think so. anyway good idea. to make cloud computing..

Alert a moderator

Tell us what you think

You need to Log in or register to post comments

By submitting this form you agree to our Terms of Use and so are legally responsible for anything you submit. DO NOT submit anything which may violate the Terms of Use or another person's rights including copyrighted or offensive materials.

Share this article

tweet
The most common web design myths busted

The most common web design myths busted

Misconceptions in web design and development uncovered