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

  • Learning DevOps
  • Mikael Krief
  • 197字
  • 2021-06-24 12:32:09

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.

主站蜘蛛池模板: 邮箱| 慈溪市| 吐鲁番市| 永兴县| 肇源县| 彭州市| 清水河县| 兴义市| 霸州市| 太湖县| 泗水县| 任丘市| 惠安县| 汝城县| 汉源县| 嵩明县| 巴塘县| 收藏| 偏关县| 宿松县| 南陵县| 罗源县| 长兴县| 公主岭市| 河津市| 稻城县| 广东省| 宿松县| 涿州市| 西安市| 正蓝旗| 韩城市| 张家港市| 高清| 都匀市| 平原县| 玉树县| 腾冲县| 鹤岗市| 水城县| 木里|