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

  • Learning DevOps
  • Mikael Krief
  • 192字
  • 2021-06-24 12:32:03

Provisioning Cloud Infrastructure with Terraform

In the previous chapter, we introduced the tools, practices, and benefits of Infrastructure as Code (IaC) and its impact on DevOps culture. Out of all of the IaC tools that have been mentioned, one that is particularly powerful is Terraform, which is part of the HashiCorp tools suite.

In this chapter, we will look at the basics of using Terraform to provision a cloud infrastructure, using Azure as an example. We will start with an overview of its strengths compared to other IaC tools. We will see how to install it in both manual and automatic mode, and then we will create our first Terraform script to provision an Azure infrastructure with the use of best practices and its automation in a CI/CD process. Finally, we will go a little deeper with the implementation of a remote backend for tfstate.

In this chapter, the following topics will be covered:

  • Installing Terraform
  • Configuring Terraform for Azure
  • Writing a Terraform script to deploy an Azure infrastructure
  • Running Terraform for deployment
  • Understanding the Terraform's life cycle with the different command-lines options
  • Protecting the tfstate file with a remote backend
主站蜘蛛池模板: 金川县| 信丰县| 巴塘县| 福清市| 邻水| 东阿县| 普陀区| 沙河市| 绍兴县| 迭部县| 罗平县| 绵竹市| 宁强县| 金秀| 南京市| 三台县| 丽江市| 泗洪县| 西充县| 巴林右旗| 扶绥县| 黔东| 建平县| 吉水县| 荥经县| 洛川县| 沈丘县| 肇州县| 集安市| 丽水市| 长沙市| 陇南市| 祥云县| 会泽县| 德兴市| 福安市| 县级市| 新安县| 新乐市| 马鞍山市| 柳州市|