Immutable Infrastructure

When we had bare metal servers, it took a bit of time to provision them. Even today, if you want to get new hardware, it can take days to get them connected and running. Needless to say that you would want to keep them running as long as possible, given the cost of replacement or adding a new one. Then, as automation is a must, instead of configuring this bare metal servers by hand, a set of configuration management tools appeared.

Even with these tools, though, servers are prone to configuration drift, they can diverge a lot from one another and people would still go via SSH and perform changes not captured into infrastructure code.

Don't get me wrong: configuration management is still a must. But context changed a bit ...

Get Getting Started with Terraform now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.