Cloud hosting options explained: from shared hosting to serverless

A plain-English comparison of hosting options for websites and apps — shared hosting, VPS, managed platforms, static hosting with a CDN, containers and serverless — with costs, trade-offs and how to choose.

Hosting is where your website or app actually runs. The options range from inexpensive shared hosting to fully managed cloud platforms, and the right choice depends on what you are running, how much traffic you expect, and who will look after it. Choosing well affects speed, reliability, security and cost for years.

This guide explains the main options in plain language and gives a simple way to decide. It reflects how we approach infrastructure in our cloud and DevOps work.

The main options

Shared hosting

Your site shares a server with many others. The host manages the server; you manage your site through a control panel.

  • Good for: small brochure sites and simple content management systems.
  • Pros: very low cost, easy to start.
  • Cons: performance can be affected by neighbouring sites, limited control, and resource limits as you grow.

Virtual private server (VPS)

A virtual machine with dedicated resources that you control fully.

  • Good for: sites and small applications that need custom software or settings, at a predictable price.
  • Pros: full control, good value, predictable monthly cost.
  • Cons: you (or your partner) are responsible for server security, updates, backups and monitoring.

Managed application platforms

Platforms where you deploy your code and the provider runs the servers, scaling and much of the maintenance. Many offer managed databases too.

  • Good for: web applications and APIs where you want reliability without managing servers.
  • Pros: less operational work, easy deployments, built-in scaling.
  • Cons: higher cost per unit of computing, and some platform-specific constraints.

Static hosting with a CDN

Sites built as static files (HTML, CSS, JavaScript, images) served from a content delivery network close to visitors.

  • Good for: marketing sites, documentation, blogs and many business websites.
  • Pros: very fast, very secure (no server code to attack), very low cost, scales automatically.
  • Cons: dynamic features such as forms, search or accounts need separate services or APIs.

This website is a static site, which is one reason it is fast and has a small attack surface.

Containers

Applications packaged with everything they need, run on a container platform or orchestrator such as Kubernetes.

  • Good for: larger applications with several services, teams that need consistent environments, and complex scaling.
  • Pros: portability, consistency between development and production, fine-grained scaling.
  • Cons: significant operational complexity; usually more than small projects need.

Serverless functions

Small pieces of code that run on demand and are billed per use, without managing servers.

  • Good for: form handlers, scheduled tasks, webhooks, APIs with uneven traffic.
  • Pros: no idle cost, automatic scaling, little maintenance.
  • Cons: cold starts, execution limits, and costs that can grow unexpectedly with heavy use.

Comparing the options

OptionTypical useControlYour maintenance work
Shared hostingSmall sitesLowSite only
VPSCustom sites, small appsHighServer and site
Managed platformWeb apps, APIsMediumApplication
Static + CDNMarketing sites, blogsMediumBuild and content
ContainersMulti-service appsHighPlatform and apps
ServerlessEvent-driven tasksMediumFunctions

What else to consider

Location and latency

Host close to most of your visitors, or use a CDN so static files are served from nearby. Distance affects speed, especially server response time, which feeds into Core Web Vitals.

Data location and privacy

Some industries and laws care where personal data is stored. Check your provider's data centre locations and your obligations. See data privacy basics.

Backups and recovery

Know how backups work, where they are stored, how long they are kept, and how quickly you can restore. Test it.

Security

Look for automatic security updates (or a plan for applying them), firewalls, isolation between customers, HTTPS by default and two-factor authentication on the hosting account. Our security checklist covers the rest.

Monitoring and support

Uptime monitoring, logs, alerts and a support channel that responds when it matters.

Costs beyond the headline price

Data transfer, backups, managed databases, additional environments, email sending and support plans can all add to the monthly bill. Estimate costs at your expected traffic, not just the starter tier.

Lock-in

Some platforms make it easy to start and hard to leave. Keep your code in your own repository, your domain in your own registrar account, and prefer standard technologies where practical.

How to choose

  • A simple business website: static hosting with a CDN, or quality shared hosting if you need a familiar CMS.
  • A content-heavy CMS site: managed CMS hosting or a well-maintained VPS.
  • A web application or API: a managed platform for most teams; a VPS if you have operations expertise and want predictable costs.
  • A large multi-service product: containers, with a team ready to run them.
  • Occasional background jobs: serverless functions.

When in doubt, choose the simplest option that meets your needs today and can grow with you. You can migrate later; complexity you don't need costs time and money every month.

Questions to ask a hosting provider

Before committing, ask:

  1. Where are your data centres, and can I choose the region?
  2. What is included in the price: backups, SSL certificates, CDN, support?
  3. How are backups taken, how long are they kept, and how do I restore one?
  4. Who applies security updates to the operating system and server software?
  5. What happens if my site gets much more traffic than usual?
  6. How do I get support, and how fast do you respond to urgent problems?
  7. Can I export everything and move elsewhere easily?
  8. What does the bill look like at two or three times my current usage?

Clear, specific answers are a good sign. Vague answers about "unlimited" resources usually come with limits in the small print.

Environments: development, staging and production

As soon as a site or app matters to your business, separate where changes are made from where customers visit:

  • Development: where developers build and test new work.
  • Staging: a copy of the live site for final checks and client review, protected from the public and search engines.
  • Production: the live site.

Changes move from development to staging to production, which catches problems before customers see them. Many managed platforms make this easy; on a VPS it needs to be set up deliberately.

A note on email

Website hosting and email hosting are separate concerns. Many businesses use a dedicated email provider and point their domain's mail records to it. When changing hosting, copy existing DNS records carefully so email keeps working.

Planning for growth without overbuilding

It is tempting to choose infrastructure for the traffic you hope to have one day. In practice, most sites and apps are better served by a simple, well-monitored setup that can be upgraded when real usage requires it. Measure actual traffic, response times and resource use, and scale when the numbers show a need. Moving from a single server to a managed platform, or adding a CDN, is a routine change when it is planned. Paying for complex infrastructure that sits idle is a cost every month, and complexity itself creates new ways for things to fail.

Frequently asked questions

Is cloud hosting always more expensive than a VPS?

Not always. Managed platforms cost more per unit of computing but can save significant maintenance time. Compare the total cost, including people's time.

Do I need a CDN?

For visitors spread over a wide area, a CDN noticeably improves load times for static files. Many hosts include one.

How much downtime is normal?

Good providers publish uptime commitments. More importantly, know how you will be alerted and how quickly someone can act.

Who should own the hosting account?

Your business. Give your developer or agency access, but keep ownership and billing in your name.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project