Guide

Cloud Hosting Infrastructure

What actually sits between a visitor's browser and your application: the layers of compute, network, storage and operations that make up modern cloud hosting.

How a request travels

A typical path for a single web request, from the user to the app and back.

User→ DNS→ CDN / Edge→ Firewall→ Load balancer / Reverse proxy→ App servers→ Database & storage

The building blocks

Every hosting platform, from a single VPS to a hyperscaler, is made of the same core pieces.

Compute

Virtual machines, containers and serverless functions that run your code. Sized by CPU, memory and GPU.

Networking

Virtual private networks, public IPs, load balancers and firewalls that route and filter traffic.

Storage

Block disks for servers, object storage for files and backups, and managed databases for structured data.

Edge & CDN

Caches content close to users worldwide to cut latency and absorb traffic spikes and attacks.

Security

TLS certificates, identity and access management, intrusion protection, encryption at rest and in transit.

Observability

Metrics, logs, traces and alerts so you know when something is slow or broken — before your users do.

Service models

How much of the stack you manage yourself versus the provider.

ModelYou manageProvider managesExamples
VPS / IaaSOS, runtime, app, dataHardware, virtualization, networkVirtual servers, bare metal
PaaSApp and dataOS, runtime, scalingApp platforms, managed containers
ServerlessFunctions and dataEverything else, billed per requestFunctions, edge workers
SaaSConfiguration and contentThe whole applicationHosted CMS, email, CRM

Designing for reliability

Principles that keep a hosted service up when individual parts fail.

Redundancy

Run at least two of everything critical, across separate availability zones.

Horizontal scaling

Add more instances behind a load balancer instead of buying one bigger server.

Backups & recovery

Automated, off-site, and regularly tested restores. A backup you haven't restored is a guess.

Infrastructure as code

Define servers and networks in version-controlled files so environments are reproducible.