官术网_书友最值得收藏!

Summary

In this chapter dedicated to Terraform, we have seen that its installation can be done either manually or with scripts. 

To apply it, we have detailed the different steps of its configuration to provision an Azure infrastructure using an Azure service principal.

We also explained step by step its local execution with its main command lines, which are init, plan, apply, and destroy as well as its life cycle in a CI/CD process. This chapter ends with the protection of the tfstate in an Azure remote backend.

Terraform is, therefore, a tool that is in line with the principles of IaC. The Terraform code is readable and understandable by users, and its execution integrates very well into a CI/CD pipeline that will allow you to provision a cloud infrastructure automatically.

Throughout this book, we will continue to talk about Terraform, with additions about its use with Packer, Azure Kubernetes Services, and downtime reduction.

In the next chapter, we will see the next step of the IaC, which is configuration management by using Ansible. It will cover its installation, its usage for configuring our provisioned virtual machine, and how to protect secrets with Ansible Vault.

主站蜘蛛池模板: 绍兴市| 义马市| 彭水| 莎车县| 柘荣县| 托里县| 安平县| 明光市| 元谋县| 柏乡县| 泰来县| 缙云县| 兴山县| 新邵县| 江川县| 开远市| 衡东县| 安吉县| 五常市| 金秀| 达孜县| 商丘市| 西乌珠穆沁旗| 青州市| 巴林左旗| 高碑店市| 普定县| 灌南县| 万州区| 淮安市| 布拖县| 宕昌县| 敦化市| 昔阳县| 潞西市| 高安市| 桃园市| 巩义市| 峨山| 阳信县| 轮台县|