Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How to choose between normal web hosting and cloud hosting, what are the key points that can make this decision easier.

Does everything I can do in the normal web hosting is possible in cloud one? In Brief, when to choose which?

share|improve this question

4 Answers 4

up vote 18 down vote accepted

I think you are over-simplifying the types of hosting that you could get. Here they are, what they're good for and what they're not so good for:

Shared Hosting

You are on a server with potentially hundreds of other people. There are pre-defined limits, such as the amount of disk space / databases you can have and the amount of data you can transfer per month. This is the cheapest of them all, sometimes as little as $3 / monthly but beware - as soon as your site starts consuming more than minimal resources you'll be suspended and asked to upgrade.

Additionally, stuff like PHP/SSH/etc are configured in 'paranoid' mode. You might not have access to certain functions and you must depend on your host to install things that you may need (i.e. subversion / mercurial).

This is good for people who want to host a personal or business card type site. An off shoot of this is called reseller hosting, which gives you the ability to create additional hosting accounts for your customers.

Note, this is not PCI/DSS/HIPAA/Etc compliant.

Virtual Dedicated Server

Your site gets its own unique view of a shared server. You can configure your services and software just like you could on a dedicated server, however there are no real resource guarantees. "Bad neighbors" is all it takes to bring your site to a crawl.

I usually recommend this for developers who need a sand box that allows them to configure stuff the way that they want it.

Again, not PCI/DSS/HIPAA/Etc compliant

Virtual Private Server

This is, for all intents and purposes, a dedicated server that comes with a certain amount of guaranteed resources. You'll be the super user, you can do whatever you wish. Depending on the platform, your resources limits may be able to 'burst' on occasion in order to deal with spikes in usage. Unfortunately, this also means that your resources suffer if several neighbors also need to 'burst'.

I recommend going with a Xen provider if you go this route, you will never have less than what you pay for.

I recommend all new sites that anticipate any kind of traffic start out on nothing less than a VPS.

This can be, depending on the type of hypervisor and storage used made PCI/etc compliant.

Fully Dedicated Server

Exactly as it reads, a server that is yours and yours alone. You can rent one monthly, or purchase one and pay for it to be located in a data center. I recommend going with the renting option first, it requires less investment to scale up if needed. When revenue permits, you can always buy your own servers. By that time, you'll have a very firm grasp on the kind of hardware that you need.

I recommend this for start up companies that can afford a few hundred a month on hosting, or anyone that has to adhere to security standards. If you store CC info of any kind, or any kind of medical / health information, you'll really want exclusive access to your own hardware.

Cloud Hosting

I have built several cloud platforms for some large web hosting companies. I am prolific in development around Xen and even I can't tell you in one clear and concise sentence what 'cloud' is supposed to mean when it comes to IAAS (Infrastructure As A Service).

What you are getting with most cloud providers is one or more virtual machines that can be allocated more memory or storage as traffic demands, then go back to the 'idle' setting when traffic subsides. Additionally, some offer the ability to make clones of a single instance and connect them together using a load balancer (usually software based).

The thing to watch out for here is mega bills if your site gets hammered. There are many instances where the algorithm that 'auto scales' you works more in favor of the hosting company and less in favor of your wallet. If you get that kind of hosting, make sure that switch stays glued on manual. In many instances, just turning on a cache is sufficient to meet an increased traffic demand.

Amazon and others have clearly posted that their offerings do not meet the guidelines set out by security standards such as PCI/DSS or federal standards such as HIPAA/HITECH. This isn't so much a caveat of using a hypervisor, its a caveat of using a shared storage network.

In summary:

The kind of hosting you get is really incidental, what matters more is how you plan your network. For instance, you might have static.domain.com using a light weight http server that has the responsibility of serving only images and media, thereby drastically reducing the load on your production server.

Additionally, smart caching of dynamic pages (and/or) the queries that go into making them let you squeeze considerably more out of any platform.

I'd get a few VPS servers, or perhaps a dedicated server and a couple of VPS servers. The other thing I'm adamant about doing is splitting up my DNS, if my domain can't be resolved .. all the caching and fine tuning in the world is not going to help.

Its really hard to say what would be 'best' for you, I'm not sure about the complexity and needs of your project. However, hopefully, the above gives you some insight into the pros and cons, whatever way you decide to go.

share|improve this answer
    
A properly-configured shared hosting setup can be PCI-DSS compliant. See requirement 2.4: pcisecuritystandards.org/pdfs/pci_audit_procedures_v1-1.pdf –  Lèse majesté Oct 24 '10 at 9:16
    
@Lèse majesté While it can be, I don't agree that it should be. I will not submit any installation for certification unless I have strong limits on who can upload files that the public can execute. –  Tim Post Oct 30 '10 at 4:48

Let's say you're an executive at a large corporation. Your particular responsibilities include making sure that all of your employees have the right hardware and software they need to do their jobs. Buying computers for everyone isn't enough -- you also have to purchase software or software licenses to give employees the tools they require. Whenever you have a new hire, you have to buy more software or make sure your current software license allows another user. It's so stressful that you find it difficult to go to sleep on your huge pile of money every night.

Soon, there may be an alternative for executives like you. Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing.

share|improve this answer

With cloud hosting you have to watch out for hidden costs. As most cloud hosts charge for usage when you get a heavy burst of traffic you could get hit with a large hosting bill for that period. Most cloud solutions do not have the ability to place a limit on resource used so there isn't usually a way to limit your costs when experiencing bursts of traffic.

Thats the downside.

The upside is that your website will be able to handle those large bursts of traffic which a traditional single shared or dedicate server may not handle as well.

share|improve this answer
    
The hidden charge are the same for overages on any host, normal or cloud. However, many of the cheap solutions offer unlimited bandwidth. –  Thorn007 Jul 9 '10 at 5:02
    
"The hidden charge are the same for overages on any host, normal or cloud" Not true Most normal hosts simply cut you off if your usage is too heavy. Cloud hosting on the other hand auto scales. The problem is with cloud hosting you cannot limit that auto scaling and can end up with large unexpected bills. –  Ash G Jul 16 '10 at 0:31

That's an interesting and far-ranging question. I'd say the primary difference between "normal" web hosting and making use of a cloud-based service is on-demand (or dynamic) scalability.

A "normal" web hosting service usually provides a certain level of service (cpu cycles, bandwidth, storage space, etc.) for a fixed price per unit of time. You pay that price regardless of how much of the service you actually use. If your needs exceed the service level then you are stuck in most cases.

The idea behind most cloud services is that the service level varies, sometimes wildly, and that you pay for only what you actually use.

Consider Netflix as a use case: I bet the Netflix service level spikes in the evening and nighttime hours on weekdays and most of the time on weekends (in the USA). So their service level needs Friday night at 7pm are vastly different than Tuesday morning at 9:30am. Using a "normal" hosting service, they'd have to pay for "Friday night level" service all the time whereas with a cloud-based solution the amount they pay varies as their service level grows and shrinks on demand.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.