From the course: CompTIA SecurityX (CAS-005) Cert Prep

Unlock this course with a free trial

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

Infrastructure as code (IaC)

Infrastructure as code (IaC)

- In an earlier web safari, we looked at infrastructure as code in the cloud and we looked primarily at AWS Cloud formation, which is going to use YAML or JSON, but we also mentioned how you can use Terraform by HashiCorp in the cloud and you can also use Ansible in the cloud. This particular lesson is about using Infrastructure as code in the enterprise, in your server form, in your data center. So I'm going to come back up to these two products, Terraform and Ansible, and just cover a couple of different things that I didn't look at in the earlier web safari. So for example, if we look at the different use cases for using Terraform, we can enforce policy as code. Obviously we're going to do IAC where we can have either a single source of truth of an existing deployment or you create this particular template and when you roll out a new branch office or regional office, you can use that same template or that same stack. We can also use the IAC template or stack as a place to roll back…

Contents