Books116 chapters41 h 10 min read
Hosting & Cloud
Every company in this book rents out a bigger version of one server in a closet. A homelab already holds the whole stack in miniature, and when it outgrows the house (an upload link sized for watching rather than serving, one line, one power feed) it moves into a colocation cabinet. From there the same layers scale up one at a time: bare metal, virtual machines, containers and schedulers, functions, storage, regions, managed services, deploy platforms and infrastructure as code, with the hosts, registrars, certificate authorities and edge networks that sell to everyone else on top. Kubernetes is a strong option on that path but not the end of it, and some steady workloads went back to owned metal. This book tells each layer through its history and what it cost, benchmarked across AWS, Azure, Google Cloud, Hetzner, Vercel, Cloudflare, GoDaddy, Let's Encrypt and the others, and how you'd build it, extending one core data model chapter by chapter.
It reads in six movements across seventeen parts, plus a glossary: at home, up the stack, the platform, the businesses, the rules, and the top of the path and back to owned metal.
The Business
- 01The Hosting & Cloud BusinessHow companies that rent out infrastructure work: the parties, every way they earn, how big they are, four lifecycles, and the core data model.43 min
- 02The Provider LandscapeHyperscalers, developer clouds, European providers, PaaS, web hosts, registrars, edge networks and CPaaS: who sells what, who resells whom, and what to build.12 min
- 03Accounts, Organizations & ResellersAccount hierarchies across clouds and hosts, IAM and API keys, reseller and white-label models, and account standing from warning to suspension and closure.14 min
- 04From Bare Metal to Cloud: The TimelineDated eras of hosting from colocation to virtualization, cloud, containers, serverless and back to hybrid, with deployment and IaC milestones.13 min
Homelab
- 05The HomelabWhy people run infrastructure at home, the community, enterprise servers vs mini PCs vs NAS boxes, power in watts and dollars, noise, racks and UPS.17 min
- 06NAS & Home StorageUnraid, TrueNAS, ZFS and OpenZFS, Synology and QNAP, SnapRAID and mergerfs: parity versus pools, drive lists, ECC, and a ZFS pool built for a homelab.16 min
- 07Hypervisors at HomeProxmox VE, free ESXi's end and partial return, XCP-ng, Hyper-V, Incus, Harvester and KVM: home clusters, quorum, PCIe and GPU passthrough, and a 3-node build.15 min
- 08Home Networks: Ethernet, Wi-Fi & CablingEthernet, cabling, PoE, optics and Wi-Fi standards and limits, home versus data center, the path to a colo cage, and how to build an immaculate home internet.26 min
- 09Home Routing, Firewalls & DNSpfSense, OPNsense, OpenWrt and UniFi; VLANs for trusted, IoT, guest and lab; Pi-hole and AdGuard Home; IPv6, CGNAT and UPnP; WireGuard at the edge.19 min
- 10Self-Hosted Apps & OrchestrationCompose, NAS app stores and LXC; Home Assistant, Plex vs Jellyfin, Immich, Nextcloud, Vaultwarden; k3s and GitOps; 3-2-1 backups; the offline internet.20 min
- 11Exposing Home ServicesPort forwards, UPnP and DDNS; DNS-01 certificates; Caddy, Traefik and NPM; Cloudflare Tunnel and its video terms; Tailscale, Headscale, WireGuard; ISP terms.20 min
- 12AI at HomeOpen-weight models on home hardware: VRAM and bandwidth math, MoE offload, GPUs and unified memory, runtimes, quantization, model licenses, power and privacy.32 min
- 13From Homelab to ColocationDeploying from home, the upload problem, static IPs and AUPs, dual WAN and BGP, power and uptime math, published colo prices and a hybrid home, colo and cloud.22 min
The Stack, Bottom to Top
- 14The Data Center & ColocationPower, cooling, Uptime tiers and TIA-942 ratings, cross-connects, remote hands, and how colocation is sold, from a cabinet to a powered shell.21 min
- 15Dedicated Servers & Bare MetalRenting whole machines from Rackspace and SoftLayer to bare-metal clouds: PXE, IPMI and Redfish provisioning, reimaging and wiping, spares and inventory.15 min
- 16Data Center NetworkingThree-tier trees to leaf-spine Clos, VPCs and overlays, SmartNICs and DPUs, and AI fabrics: InfiniBand, RoCE v2, EFA and SRD, NVLink and Ultra Ethernet.34 min
- 17Virtualization & the VPSBinary translation, Xen, VT-x and KVM, Virtuozzo and OpenVZ, overcommit and burstable credits, the VPS as a product, and the Broadcom VMware shock.16 min
- 18Shared Hosting Isolationmod_php to suEXEC, mpm-itk and PHP-FPM pools, CloudLinux LVE limits and CageFS, Plesk and DirectAdmin cgroups, container-per-site hosts, and noisy neighbors.17 min
- 19From chroot to ContainersForty years of OS-level isolation, from chroot and jails to namespaces, cgroups, Docker and OCI, and what a provider sells when it runs containers.18 min
- 20Schedulers: Borg to KubernetesBorg, Omega and Mesos to Swarm, Kubernetes, ECS and Nomad: how the orchestrator wars ended, and how placement, packing and preemption work.18 min
- 21Sandboxes & MicroVMsHow providers wall off strangers' code: Lambda's first design, Nitro, gVisor, Kata, Firecracker and Cloud Hypervisor, and their density, boot and syscall costs.20 min
- 22Functions, Isolates & Edge ComputeFunction platforms from Lambda's 2014 preview to isolates, Wasm and CDN functions: how they run, cold starts, WASI, and limits and pricing compared.17 min
- 23Storage: Block, File & ObjectBlock volumes, file shares and object storage: how each works, classes and minimums, what 11 nines means, data-loss rulings, and the S3-compatible challengers.31 min
- 24Regions, Zones, Cells & QuotasRegions, zones and sovereign partitions across providers, control and data planes, cells and shuffle sharding, real outages, quotas and capacity limits.26 min
- 25Hybrid & On-Prem CloudThe cloud's control plane in the customer's building: Outposts, Azure Local and Arc, Google Distributed Cloud, Cloud@Customer, Satellite, OpenStack and Oxide.23 min
Kubernetes
- 26Kubernetes ArchitectureThe control loop, API server and etcd, the scheduler, controllers, kubelet and CRI, CRDs and operators, release cadence, support windows and version skew.37 min
- 27Managed KubernetesEKS, GKE, AKS and the developer clouds: control-plane fees and SLAs, node pools and upgrades, release channels, forced upgrades, and extended support.34 min
- 28Cluster NetworkingCNI and provider pod networks, kube-proxy to nftables and eBPF, Service load balancers, Ingress to Gateway API, ingress-nginx, meshes, multi-cluster.26 min
- 29Storage & Stateful WorkloadsIn-tree plugins to CSI, claims and classes, topology and attach limits, StatefulSets, database operators, Velero, and when state belongs outside.20 min
- 30Packaging & GitOpsHelm from Tiller to Helm 4, Kustomize, OCI artifacts, Argo CD and Flux, the Weaveworks collapse, progressive delivery, and GitOps sold as an add-on.22 min
- 31Multi-Tenancy, Policy & SecurityKubernetes tenancy models, RBAC and quotas, PSP to Pod Security Admission, CEL admission, Kyverno and Gatekeeper, signed images, Falco, sandboxes.26 min
- 32Autoscaling & CostHPA, KEDA and VPA, Cluster Autoscaler versus Karpenter, bin packing and the request gap, spot in clusters, provider billing shapes, and cost allocation.26 min
- 33Distributions & AlternativesCertified Kubernetes, OpenShift, Rancher, k3s, Talos, Tanzu after Broadcom; Nomad, ECS, Cloud Run, Fly Machines, Swarm, Kamal; and when not to run Kubernetes.19 min
Managed Services
- 34Managed DatabasesRDS to Aurora's log-structured storage, DynamoDB, Spanner, Atlas and managed caches: how they work, how they meter, extended support fees and lock-in.21 min
- 35Serverless & Edge DatabasesNeon, Supabase, PlanetScale, D1, Turso, Workers KV, Durable Objects, Hyperdrive and Upstash: consistency, branching, scale to zero and pricing per row.21 min
- 36Managed Queues & StreamingSQS to Kafka as a service: managed brokers, buses, logs and realtime pub/sub, what delivery guarantees cover, and pricing by message, byte and broker-hour.25 min
- 37Observability PlatformsDatadog, New Relic, Grafana, Honeycomb, Dynatrace and cloud monitoring: OpenTelemetry, pricing by host, gigabyte and cardinality, and bill shock.21 min
- 38Open Source & the CloudsThe license wars: SSPL, Elastic and OpenSearch, Redis and Valkey, HashiCorp and OpenTofu, NATS, each side's case, and foundations as the settlement.16 min
Deployment
- 39How Code Got to ServersFTP, FTPS and SFTP, the panel file manager, rsync and Capistrano: how code reached hosted servers before platforms owned the deploy, and its credentials.12 min
- 40Platforms Take Over the DeployGit push and buildpacks, twelve-factor, releases and rollback, previews, immutable URLs and aliases, GitOps and edge deploys: the deploy as a platform object.13 min
- 41PaaS & Frontend CloudsWhat platforms resell, how they meter (CPU time, memory, requests, credits), spend caps and pauses, Heroku's lifecycle, and where the hyperscaler shows through.11 min
CI/CD Platforms
- 42From Tinderbox to Jenkins: How CI BeganTinderbox, CruiseControl, TeamCity, Hudson and the Jenkins rename, Bamboo, Travis CI and hosted CI, then the code hosts absorbing it: dated to primary sources.11 min
- 43The CI/CD Platform BusinessWho sells build minutes and how: per-minute SKUs, credits, parallel jobs and cost factors, OS multipliers, open-source free tiers, funding and shutdowns.12 min
- 44Runners & Build InfrastructureHosted, hybrid and self-hosted runners, ephemeral VMs and microVMs, autoscaling, macOS fleets, caches, remote execution and the faster-runner vendors.11 min
- 45Continuous Delivery PlatformsCodeDeploy, Spinnaker, Argo, Harness and Octopus; progressive delivery and feature flags as products; and how approvals and protection gate a deploy.9 min
- 46Artifacts & RegistriesDocker Hub's pull limits and reversals, GHCR, ECR, the Container Registry shutdown, Artifactory, Nexus, npm and PyPI, and what storing artifacts costs.10 min
- 47Pipeline Supply-Chain SecurityThe CI breaches from SolarWinds to Shai-Hulud and the controls they produced: OIDC federation, pinning, SLSA, Sigstore, trusted publishing and SBOMs.13 min
Infrastructure as Code
- 48Convergence: CFEngine to PuppetDesired state and convergence: CFEngine's promises and pull agents, Puppet's facts, catalogs, RAL and PuppetDB, and the Perforce and OpenVox split.19 min
- 49ChefChef from Opscode to Progress: the run's twelve stages, resources and guards, attribute precedence, Policyfiles, Test Kitchen, InSpec, licensing and Chef 360.26 min
- 50Push & Events: Ansible and SaltAnsible's agentless push over SSH and Salt's master, minions and event bus: how each runs, AWX and event-driven Ansible, Red Hat, Broadcom, push versus pull.17 min
- 51Baking Images: PackerGolden images and immutable servers: Aminator, Packer's sources, provisioners and post-processors, HCL2, HCP Packer channels and revocation, baking vs frying.22 min
- 52Provisioning: Terraform, OpenTofu & the AlternativesCloudFormation to Terraform and OpenTofu: providers, state as data, import and refactoring, the BSL and IBM, CDK, Pulumi, Bicep, Crossplane, and provider APIs.28 min
- 53Testing, Policy, Secrets & IaC PlatformsTesting IaC with mocks and real deploys, policy at plan time, secrets kept out of state, state-leak incidents, and plan-and-apply platforms and prices.19 min
- 54Governance, Guardrails & the Resource CatalogLanding zones and account vending, guardrails from organization policy to runtime, tags and owners, exceptions that expire, and the catalog of what runs.26 min
Web Hosting
- 55How Web Hosting Makes MoneyHow shared hosting earns: intro prices on long prepaid terms, renewals at list, free-domain bundles, trial add-ons, retention and ratable revenue.19 min
- 56cPanel & WHMcPanel and WHM in depth: root, resellers, packages, feature lists and accounts; EasyApache 4, MultiPHP, AutoSSL, the APIs and hooks; releases and owners.21 min
- 57Control Panel Licensing & the AlternativesHow panels are licensed: cPanel's per-account tiers since 2019, Plesk and DirectAdmin, the open-source panels, and how license cost reaches plan prices.18 min
- 58Managed WordPressWhat managed WordPress sells: visit-metered plans, staging pushes, page and object caching, updates and cron, and WP Engine v. Automattic as a dependency risk.21 min
- 59Backups, Restores & MigrationsHow hosts back up accounts and sites: schedules, retention, offsite targets, restores, panel-to-panel transfers and the DNS and MX cutover that ends a move.17 min
- 60Email HostingHow hosts sell mailboxes: bundled cPanel mail on Exim and Dovecot, white-labeled pro email, Google Workspace and Microsoft 365 resale, and relay limits.17 min
Domains and DNS
- 61ICANN, Registries & RegistrarsWho does what in a domain sale: ICANN, registries, registrars and resellers, the contracts that bind them, the per-name fee stack, and how ICANN enforces.18 min
- 62The Domain Data Model & EPPEPP's domain, host and contact objects, every status code, commands, result codes and extensions, and how a registrar runs and reconciles registry sessions.18 min
- 63The Domain LifecycleA domain from creation to release: grace periods and their day counts, expiry notices, DNS interruption, redemption, pending delete, drop catching and auctions.16 min
- 64Transfers, Locks & Registrar SecurityInter-registrar transfers, auth codes and the TAC, 60-day locks, the Transfer Policy Review, registrar and registry lock, and registrar account security.23 min
- 65Registration Data & RDAPWHOIS to RDAP, GDPR and the Registration Data Policy, redaction, disclosure requests and their clocks, RDRS, privacy and proxy services, and accuracy duties.21 min
- 66DNS Abuse at the RegistrarICANN's 2024 DNS abuse amendments for registrars and registries, the path from report to clientHold, enforcement numbers, and the policy work still coming.22 min
- 67Domain DisputesThe UDRP and URS, court orders and the ACPA, transfer disputes under the TDRP, and the locks, deadlines and implementations a registrar owes each one.20 min
- 68New gTLDs & ccTLDsHow top-level domains multiplied, the 2026 application round, registry economics from Verisign's filings, ccTLD rules outside ICANN, and the .ai and .io cases.17 min
- 69DNS Hosting & DNSSECAuthoritative DNS as a product: zones and records, metering and published prices, routing policies with health checks, and DNSSEC through the registrar.21 min
Certificates
- 70The Web PKI & Certificate TransparencyWho decides which certificates browsers trust: root programs, the CA/B Forum, domain validation, CAA, multi-perspective checks and Certificate Transparency.20 min
- 71ACME & Certificates at Hosting ScaleRFC 8555, ARI and profiles, Let's Encrypt's rate limits, and issuing and renewing certificates for millions of hosted sites, AutoSSL included.21 min
- 72Shorter Lifetimes, Revocation & DistrustThe SC-081 schedule to 47-day certificates, the end of OCSP, CRLs and short-lived certificates, the 2024 Entrust distrust, and a host's migration playbook.17 min
The Edge
- 73The Edge BusinessCDNs as businesses: Akamai to Bunny, revenue mix and retention, free tiers and plan gating, content limits, and how CDN pricing works, with a worked comparison.26 min
- 74Networks, Peering & IP AddressesHow requests find a PoP: DNS steering and anycast, PoP counts, transit, peering and IXPs, embedded caches, route security, and IPv4 scarcity, charges and reuse.23 min
- 75Caching & InvalidationCache keys, TTLs and stale serving, tiered caches and shields, request collapsing, purge by URL and tag, soft purge, purge limits and billing, and hit ratio.27 min
- 76TLS & Protocols at the EdgeTLS termination at the edge, SNI and custom hostnames, edge-to-origin modes, origin pulls, HTTP/2, HTTP/3 and QUIC, ECH, post-quantum key agreement and pricing.24 min
- 77DDoS MitigationVolumetric and application-layer DDoS: reflection, SYN floods, HTTP/2 Rapid Reset, record attacks, per-PoP mitigation, scrubbing, blackholing and billing.23 min
- 78WAF, Bots & Rate LimitsManaged and custom WAF rules, anomaly scoring, virtual patching, rule rollout, bot scores and challenges, AI crawlers and pay per crawl, and edge rate limits.28 min
Communications Platforms
- 79The CPaaS BusinessHow communications platforms make money: owned networks versus aggregators, usage revenue, carrier fees passed through, and why the margin keeps shrinking.16 min
- 80Phone Numbers & PortingPhone numbers from the platform's side: the NANP, where inventory comes from, VoIP numbering rules, the number lifecycle, porting, and SIM swap rules.15 min
- 81Business Texting RegistrationUS business texting registration from the platform's side: 10DLC brands and campaigns, vetting, throughput, ISVs, toll-free verification, short codes, RCS.16 min
- 82Sending a TextWhat happens after a send call: encoding and segments, throughput by carrier and brand, delivery receipts, STOP at the platform, filtering and carrier fines.13 min
- 83WhatsApp & Messaging AppsBusiness messaging over channels an app owner runs: the WhatsApp Business Platform, Apple, Meta and other apps, international sender IDs, resale and fallback.24 min
- 84Voice PlatformsVoice from the provider's side: SIP trunking, STIR/SHAKEN signing and attestation, the Robocall Mitigation Database, and call labeling and branded calling.12 min
- 85911, CPNI & Telecom DutiesThe telephone-company duties a voice platform inherits: 911 and dispatchable location, Kari's Law, CPNI and breach rules, and universal service and 911 fees.14 min
- 86Telecom FraudFraud a communications platform carries: SMS pumping, international revenue share and toll fraud, the platform as a target, geo permissions, and who pays.10 min
- 87Email Sending PlatformsEmail sending providers from the inside: SES, SendGrid, Mailgun, Postmark and Resend; onboarding, shared and dedicated IPs, warmup, streams and pricing.14 min
- 88Inbox RulesGmail, Yahoo and Outlook sender rules and how they are enforced, feedback loops, BIMI, blocklists, and how an email platform enforces them on its own customers.13 min
Metering and Billing
- 89Metering & RatingHow providers measure usage and turn it into money: meters, units and granularity, minimums, allowances and caps, pass-through fees, corrections and re-rating.23 min
- 90Pricing CatalogsSKUs, attributes and price shapes, machine-readable price lists, the pricing page as the legal source of truth, and how providers change prices with notice.18 min
- 91Free Tiers, Credits & Startup ProgramsAlways-free tiers, trials and credit plans across clouds and hosts, startup credit programs, spending limits as hard caps, credit accounting and fraud exposure.21 min
- 92Commitments, Discounts & MarketplacesReserved capacity, savings plans and committed use discounts, spend commitments and shortfalls, spot, GPU reservations, and marketplaces with private offers.20 min
- 93Subscriptions, Renewals & Cancellation LawHosting and domain terms, intro prices that renew at list, auto-renew, ROSCA, the vacated FTC rule and 2026 ANPRM, state and EU renewal laws, cancellation.23 min
- 94Invoices, Dunning & SuspensionInvoice runs from rated usage, payment terms and late interest, threshold charges, failed payments, suspension and deletion clocks, and data after termination.21 min
- 95Tax on Hosting & CloudSeller entities by region, VAT and GST on electronic services, US sales tax on hosting, IaaS and SaaS, Chicago's cloud tax, telecom taxes and USF on CPaaS.24 min
- 96SLAs & Service CreditsHow hosting and cloud SLAs measure uptime, credit tiers across providers, claims and deadlines, sole-remedy and exclusion clauses, and computing a credit.19 min
- 97Cost Data, FinOps & Surprise BillsWhat providers give customers to see and control spend: cost exports, CUR and FOCUS, budgets, anomaly detection, spend caps and pauses, and bill forgiveness.19 min
Abuse, Trust and the Law
- 98Abuse on InfrastructureHosted, pass-through and core services as abuse tiers, AUPs, voluntary terminations, automated action and the narrowest effective response.13 min
- 99Free-Tier Fraud & Stolen KeysAbuse aimed at the provider's own resources: free-tier farming, cryptomining, leaked cloud keys and their quarantine, LLMjacking and secret scanning.10 min
- 100Conduits, Caches & Blocking OrdersDMCA 512(a) and (b), DSA conduit and caching, Cox v. Sony, and site-blocking orders against CDNs and resolvers in Italy, France, Germany, the UK and the US.12 min
- 101Sanctions, Exports & Bulletproof HostsOFAC and EU sanctions on infrastructure, the 2022 Russia exits, bulletproof host designations, AI-chip export rules and the withdrawn IaaS KYC rule.10 min
- 102Law Enforcement at Infrastructure ProvidersWhat police and courts ask infrastructure providers for, the published volumes, and resolving an IP and timestamp to the customer who held it.8 min
Market Rules and Compliance
- 103Shared Responsibility & Compliance ProgramsThe shared responsibility model and the programs a provider holds for customers: SOC 2, ISO 27001, PCI DSS for hosts, FedRAMP 20x, GovRAMP, sovereign cloud.12 min
- 104Egress & SwitchingWhat providers charge to move data out, the 2024 exit waivers, multicloud transfer at cost, and the EU Data Act's switching rules and charge phase-out.9 min
- 105Competition CasesThe UK CMA's cloud market investigation and Microsoft SMS case, the EU's DMA cloud investigations, and the FTC's inquiry: what each found, decided and when.8 min
- 106Licensing DisputesMicrosoft's Listed Providers rule and the CISPE settlement, Broadcom's VMware licensing changes and the lawsuits and complaints they drew, as of October 2026.8 min
Running the Provider
- 107Provider ArchitectureHow a provider's parts fit: control and data planes, provisioning, cells and blast radius, metering, billing, support and abuse, and public scale figures.19 min
- 108GPU & AI CloudsRenting GPUs: hyperscaler instances and capacity blocks, neoclouds and take-or-pay contracts, marketplaces, serverless GPU, rack power and export controls.30 min
- 109Where AI Runs: Home, Colo, Cloud or FrontierWhere inference runs: frontier APIs, hosted open models, rented GPUs, colocation or home; prices, data terms, breakeven, the quality gap and routing.22 min
- 110Blockchain Nodes, RPC & ValidatorsHosting blockchains: node resource profiles, RPC providers metered in compute units, validator hosting and slashing, provider terms and node concentration.25 min
- 111Outages, Post-Mortems & Status PagesThe 2025 cloud and edge outages, the global-config failure pattern, control-plane dependencies, CPaaS incidents, vendor risk, and honest status pages.20 min
- 112Operating MetricsThe numbers providers run on: ARR, net dollar retention, churn and renewal rates, ARPU, gross margin with pass-through, utilization, capex and cost per unit.15 min
- 113Migrations, Shutdowns & End of LifeProduct sunsets from Heroku's free tier to Google Domains and Chef Infra Server: notice, forced migrations, version end of life, data export and getting out.13 min
- 114Total Cost of OwnershipWhat each stage from homelab to cloud and back really costs: the bill, staffing by platform, buying servers, a five-year model, and the SQL to run it.38 min
- 115RepatriationLeaving the cloud for owned hardware: Dropbox's Magic Pocket and S-1, 37signals' numbers, exit egress waivers, and a cost model for when owning wins.21 min