From the course: GitOps Foundations

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Infrastructure as code (IaC)

Infrastructure as code (IaC) - Git Tutorial

From the course: GitOps Foundations

Infrastructure as code (IaC)

- [Instructor] Infrastructure as Code is another key practice embraced by GitOps. The idea behind Infrastructure as Code is to apply practices traditionally used by developers like source code versioning and code reviews to the management of infrastructure. This means that every change to a system's infrastructure is written as code and stored in version control. This allows us to track the changes to the infrastructure over time. When it's time to change or build the infrastructure of a system, Infrastructure as Code says we start by writing the changes as code and then feed the code into a tool for it to be applied. If we stick with this approach, we can avoid making manual one-off changes through GUIs or issuing commands that we can never repeat through a CLI. This should sound familiar because it overlaps a lot with GitOps. The Kubernetes manifest and Terraform files we looked at is infrastructure expressed as code.…

Contents