Skip to Content
Modern DevOps Practices
book

Modern DevOps Practices

by Gaurav Agarwal
September 2021
Intermediate to advanced
530 pages
10h 30m
English
Packt Publishing
Content preview from Modern DevOps Practices

Chapter 8: IaC and Config Management in Action

In the previous chapter, we looked at configuration management with Ansible and the technology's core concepts. We also discussed Terraform and IaC in Chapter 6, Infrastructure as Code (IaC) with Terraform. Now let's apply the principles of both technologies to a practical situation. Let's boot up a scalable Linux Apache MySQL and PHP (LAMP) stack on Azure with Terraform, Ansible, and another tool Packer that we'll discuss in this chapter.

In this chapter, we're going to cover the following main topics:

  • Immutable infrastructure with Hashicorp's Packer
  • Creating the Apache and MySQL playbook
  • Building the Apache and MySQL images using Packer and Ansible provisioners
  • Creating the required infrastructure ...
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.
Start your free trial

You might also like

Effective DevOps

Effective DevOps

Jennifer Davis, Ryn Daniels
Kubernetes Best Practices, 2nd Edition

Kubernetes Best Practices, 2nd Edition

Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson
Learning DevOps

Learning DevOps

Mikael Krief
Kubernetes in Production Best Practices

Kubernetes in Production Best Practices

Aly Saleh, Murat Karslioglu

Publisher Resources

ISBN: 9781800562387Supplemental Content