What is cloud hosting? Explained with a serviced office
Cloud hosting means renting computing power from a provider over the internet and paying for what you use. Explained with renting a serviced office instead of owning the building.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- DevOps
In one sentence: cloud hosting means running your website, app or data on computers owned and looked after by a provider, which you rent over the internet, switch on when you need them and pay for by how much you use.
The everyday picture
Picture a business that needs office space. One option is to buy a building. You pay a lot up front. You fix the roof, pay the guards and replace the boiler. If the team grows, you must build an extension. If it shrinks, empty rooms still cost you.
The other option is a serviced office. The building belongs to someone else. You walk up to the front desk, book the rooms you need and move in the same day. Cleaning, power, security and repairs are the landlord's job. Need two more rooms next month? Ask the desk. Done with them? Hand back the keys, and you stop paying for them.
Cloud hosting is the serviced office. The "building" is a provider's data centre: a large, guarded building full of computers. You rent space on those computers instead of buying and running your own.
You book computing power at the front desk (the provider's console). The provider sets it up in its own building (the data centre). Your use is metered and turns into a bill.
How it works, step by step
- You open an account (you sign up as a tenant). You choose a cloud provider and create an account, usually with a card on file.
- You book what you need through a console (you ask at the front desk). The provider's website or tools let you choose computing power, storage and a database. The US standards body NIST calls this "on-demand self-service": you get resources without phoning anyone.
- The provider sets it up in its data centre (your rooms are made ready). Your app is placed on servers, the computers that do the work, in a building you never visit. Your customers reach it over the internet, from a phone or a laptop.
- You grow or shrink as you go (you add or give back rooms). When you get busier, you add capacity, and many services can do this automatically. When things quieten down, you release it. NIST calls this "rapid elasticity".
- Your use is metered and billed (the monthly invoice). The provider measures what you used and charges for it. AWS describes this as pay-as-you-go pricing, with no large up-front investment in hardware.
Where the picture stops
- Your "rooms" are often shared. In a serviced office, your room is yours alone. In the cloud, one physical computer often serves many customers at once, kept apart by software. NIST calls this "resource pooling". You can pay extra for machines used only by you.
- You still lock your own doors. A landlord guards the building, but not what you leave lying around inside your room. Cloud providers work the same way, with a sharper line. AWS calls it the shared responsibility model: AWS secures the buildings, hardware and network, while the customer secures their own data, passwords, access settings and, on some services, software updates.
- The bill can surprise you. An office lease has a fixed rent. Cloud bills rise with use, so a forgotten server or a sudden spike in traffic costs money. Set budgets and alerts from day one.
Why it matters for your business
- Lower start-up cost. You avoid buying servers before you know what you need. You pay for what you use, as you use it.
- Speed. A new server or database can be ready in minutes, not weeks of ordering and installing hardware.
- Handling busy days. A shop's website can add capacity for a big sale and give it back afterwards, instead of paying all year for its busiest day.
- Less upkeep, but not none. The provider handles power, cooling and broken parts. Your team still owns the app, the data and who can get in.
An example
Imagine a small online bakery that takes orders through its website. Today, the site runs on one old computer in the back office. When it crashes, nobody can order until the owner reboots it, and in the holiday rush it slows to a crawl.
The bakery moves its site to cloud hosting. It books a modest server and a managed database through the provider's console. In December, it adds capacity for the rush. In January, it scales back down, and the bill drops with it. The owner sets a monthly budget alert, turns on two-step login for every account, and stops worrying about the computer in the back office.
Frequently asked questions
Is "the cloud" just someone else's computer?
Partly, yes. Your files and apps do run on a provider's computers. The difference is the service around them: you can rent, grow and release them on demand, and pay only for what you use.
What are IaaS, PaaS and SaaS?
They describe how much of the "office" comes furnished. With IaaS you rent bare computing power and manage the rest. With PaaS the provider also runs the platform your app sits on. With SaaS you simply use a finished app, like online email.
Is cloud hosting safe?
It can be very safe, but safety is shared. The provider protects the buildings and hardware. You must protect your accounts, data and settings, for example with strong logins and careful access rules.
Is cloud hosting always cheaper?
Not always. It usually costs less to start and suits changing demand. For steady, heavy use, compare the long-term bill with owning hardware, and switch off anything you are not using.
Related explainers
- Frontend vs backend, explained with a restaurant
- What is caching? Explained with a restaurant kitchen
- What is an API? Explained with a waiter in a restaurant
The DevDrift sets up and runs cloud hosting for web apps and platforms: see how.