Skip to Content
Fundamentals of DevOps and Software Delivery
book

Fundamentals of DevOps and Software Delivery

by Yevgeniy Brikman
May 2025
Intermediate to advanced
552 pages
14h 57m
English
O'Reilly Media, Inc.
Content preview from Fundamentals of DevOps and Software Delivery

Chapter 2. How to Manage Your Infrastructure as Code

In Chapter 1, you learned how to deploy your app by using PaaS and IaaS, but it required a lot of manual steps clicking around a web UI. This is fine while you’re learning and experimenting, but managing everything at a company this way—sometimes called ClickOps—quickly leads to problems:

Deployments are slow and tedious

You can’t deploy frequently or respond to problems or opportunities quickly.

Deployments are error prone and inconsistent

You end up with lots of bugs, outages, and late-night debugging sessions. You become fearful and slow to introduce new features.

Only one person knows how to deploy

That person is overloaded and never has time for long-term improvements. If they were to leave or get hit by a bus, everything would grind to a halt.1

Fortunately, these days, there is a better way to do things: you can manage your infrastructure as code (IaC). Instead of clicking around manually, you use code to define, deploy, update, and destroy your infrastructure. This represents a key insight of DevOps: most tasks that you used to do manually can now be automated using code, as shown in Table 2-1.

Table 2-1. A key insight of DevOps is that you can manage almost everything as code
Task How to manage as code Example Chapter

Provision servers

Provisioning tools

Use OpenTofu to deploy a server

This chapter

Configure servers

Server templating tools

Use Packer to create an image of a server

This chapter

Configure ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Kubernetes: Up and Running, 3rd Edition

Kubernetes: Up and Running, 3rd Edition

Brendan Burns, Joe Beda, Kelsey Hightower, Lachlan Evenson
Ansible: Up and Running, 3rd Edition

Ansible: Up and Running, 3rd Edition

Bas Meijer, Lorin Hochstein, René Moser

Publisher Resources

ISBN: 9781098174583Errata Page