Book a free call

What Is Cloud Computing, and How Does It Actually Work?

Cloud computing rents servers, storage and software over the internet instead of buying hardware. Learn the service models, deployment types and how to start.

Hertiv engineering teamReviewed by a senior engineer
5 min read
What Is Cloud Computing, and How Does It Actually Work?
On this page

Short answer

Cloud computing is the delivery of computing services, such as servers, storage, databases and software, over the internet on a pay-as-you-go basis. Instead of buying and running hardware, a team rents capacity from a provider and scales it up or down as demand changes. The provider runs the data centres; the customer focuses on the product.

What is cloud computing?

Cloud computing is the delivery of computing services over the internet, on demand, instead of running them on hardware you own. A server, a database or a storage bucket is rented by the hour or by the gigabyte, and it is ready in minutes.

A team that needs a server no longer buys a machine, installs it in a rack and waits for delivery. It asks a provider for a virtual server, gets it in minutes, and pays for the hours it uses. When the workload grows, it asks for more capacity; when it shrinks, it gives capacity back.

The change is not only technical. Buying hardware is a large cost paid up front, while renting is a smaller cost paid over time. That shift lets a small team start with almost no infrastructure spend and grow the bill only as the product earns money.

Cloud providers also handle the parts a team rarely thinks about until they fail: power, cooling, physical security and replacing broken disks. That is part of what you rent. The trade-off is dependence: your product runs on someone else's hardware, in someone else's buildings, under someone else's rules.

What are the main cloud service models?

Cloud services come in three layers, and the choice is about how much of the stack you want to run yourself.

ModelProvider runsYou runBest for
IaaSHardware, network, storageOperating system, appsTeams that want control
PaaSHardware, OS, runtimeYour application codeTeams that want to ship fast
SaaSEverythingJust the data and settingsTeams that want a finished tool

Most products use a mix. A team might run its own application on a platform service, store files in a storage service, and use a software service for email. There is no rule that says everything must sit in one layer, and the cloud computing use cases guide shows where each layer pays off first.

How does cloud computing work in practice?

Cloud computing works because providers run very large data centres and share them between thousands of customers. Virtualisation splits one physical machine into many virtual ones, so each customer gets an isolated slice of a much larger pool.

When you start a server, the provider finds spare capacity, creates the virtual machine, connects it to storage and a network, and hands you an address. When traffic rises, load balancers spread requests across more copies. When a physical machine fails, the virtual machines move to healthy hardware, often without the customer noticing.

Because capacity is shared, a provider can offer far more power than any single customer could buy. That sharing is also why costs stay low: machines that would sit idle in one company are used by many customers across the day.

You manage all of this through a console or an API, and you can write the setup down as code, so the same environment can be rebuilt exactly. That practice, infrastructure as code, is what makes cloud setups repeatable instead of hand-built. The cloud services page covers how teams design that setup.

What are the deployment models?

A public cloud is shared infrastructure run by a provider, and it suits most products because it needs no hardware of your own. A private cloud is infrastructure used by one organisation, which fits strict rules about where data lives. A hybrid model keeps some workloads private and runs the rest in public cloud, and a multi-cloud setup spreads work across two or more providers.

ModelWho uses itWhen it fits
Public cloudMany customers, sharedMost products, fast start
Private cloudOne organisationStrict data location rules
HybridOne organisation plus a providerSome data must stay private
Multi-cloudOne organisation, several providersAvoiding dependence on one vendor

The choice is usually driven by rules and cost, not by fashion. Regulated data may have to stay in a specific country or building, while a public website can run anywhere. Start with the rules your data must follow, then pick the model that fits them.

Example (hypothetical): moving a shop to the cloud

Example (hypothetical): a small shop runs its website on three servers it owns, each costing 400 a month to host and maintain, a total of 1,200 a month. The shop moves to cloud servers that cost 850 a month for the same traffic.

The saving is 1,200 minus 850, which is 350 a month, or 4,200 a year. The move itself takes two engineers three weeks, and the team also gains the ability to add a fourth server in minutes when a sale doubles traffic, instead of ordering hardware and waiting.

The numbers are invented, but the shape of the decision is real: compare the running cost, count the one-off move, and weigh the value of being able to scale on demand. A move that looks dearer on monthly cost can still be right if traffic swings sharply.

What are the common mistakes?

The most common mistakes are treating the cloud like a data centre you own, moving everything at once, and ignoring the bill until it surprises you.

  • Moving everything at once. Migrate one workload, learn, then move the next.
  • Leaving servers running. Cloud bills grow silently; shut down what is not used.
  • Skipping cost alerts. Set a budget alert on day one, not after the first large bill.
  • Ignoring security basics. The provider secures the data centre; you still secure your accounts, keys and data.
  • No plan for failure. A single region or a single database is still a single point of failure.

How do you start with cloud computing?

You start with cloud computing by moving one workload, not the whole system, and learning how the provider bills, secures and scales before you commit further.

  1. Pick one workload to move, not the whole system, and keep the old setup running beside it.
  2. Choose a provider and a region close to your users, with the data rules you must follow.
  3. Set up accounts, billing alerts and access rules before you deploy anything.
  4. Build the setup as code so it can be rebuilt exactly, by anyone on the team.
  5. Move the workload, test it under real traffic, then switch over and watch the bill for a month.

If you need help planning the move, the guide to cloud migration walks through the planning steps, from inventory to cutover, so the move happens in order instead of in a rush.

Key takeaways

  • Cloud computing rents capacity over the internet instead of buying hardware
  • IaaS, PaaS and SaaS differ in how much of the stack the provider runs
  • Public, private, hybrid and multi-cloud fit different data rules and budgets
  • Scale on demand is the real gain; the bill follows actual use
  • Start with one workload, set billing alerts on day one, and build the setup as code

Frequently asked questions

Is cloud computing the same as the internet?

No. The internet is the network that connects computers, while cloud computing is a way of renting computing services over that network. A website hosted on a server in your office is on the internet but not in the cloud. Cloud computing means the hardware sits with a provider and you rent capacity on demand.

Who owns the data in the cloud?

You do. The provider owns the hardware and the data centre, but the data, the applications and the responsibility for who can reach them stay with you. That is why access rules, encryption and backups matter even when the servers belong to someone else.

Is the cloud cheaper than owning servers?

It depends on how steady the workload is. For variable or growing workloads, renting is usually cheaper, because you pay only for what you use. For a large, steady workload that runs at full capacity for years, owned hardware can cost less. Compare the running cost over two or three years, not one month.

What happens if a cloud provider has an outage?

Part of the service can stop, which is why teams spread work across zones or regions inside a provider. The provider handles the hardware failure, but your design decides whether your product stays up. Keep backups outside the affected region and test the failover before you need it.

Do I need cloud computing for a small app?

Not always. A small app with steady traffic can run well on a single server or a simple hosting plan. Cloud computing earns its place when traffic varies, when you need to scale quickly, or when you want to avoid buying and maintaining hardware.

How do I control cloud costs?

Set a budget alert first, then tag every resource by team or project so the bill can be read. Shut down idle servers, right-size the ones that are too large, and use reserved or committed pricing only for workloads that run all the time. Review the bill monthly with the team that spends it.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Moving to the cloud and want a plan that fits your workload? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Cloud Services service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call