Infrastructure as a Service (IaaS) provides the fundamental building blocks of computing (compute, networking and storage) on demand, over the network, created and managed through APIs.

IaaS is the foundation of cloud computing. It provides compute (virtual machines), networking (virtual networks, routes, firewalls, load balancers, DNS) and storage (block storage, file systems, object stores), all created via APIs and usually a web console.

IaaS makes it possible to create environments, such as a server configuration, deterministically, based on rules. Environment creation becomes predictable and testable rather than a variable unknown.

Good IaaS services must be API-based so development teams can build distribution, load balancing, resilience, failover and configuration into the development and build process. Because of the speed, the amount of change and the quality advantages involved, IaaS provisioning, configuration and tear-down should be automated with Infrastructure as Code.

IaaS is often characterised as treating servers as cattle, not pets. Servers no longer have special names and hand-tended configurations. They’re treated as utilities: if one goes wrong, we turn it off and stand up a new one with exactly the same configuration in its place, usually automatically through an auto-scaling group.

When to use IaaS

With IaaS you get the most control but also the most responsibility: you own the operating system, patching, hardening, scaling and availability of everything you run (see the shared responsibility model). Following the mental model, IaaS is usually the last resort for new workloads rather than the first. It remains the right choice when you need:

IaaS is best provided by public cloud providers rather than built on premises. Their scale, automation and breadth of services are hard to match.