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

  • 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
主站蜘蛛池模板: 桑日县| 南和县| 泰来县| 大城县| 鹤岗市| 长岭县| 普安县| 嘉鱼县| 洛隆县| 龙口市| 仁怀市| 伊吾县| 永寿县| 苍梧县| 收藏| 邵东县| 阿克陶县| 东山县| 南岸区| 象山县| 商水县| 南投市| 扶余县| 太湖县| 泸定县| 昆山市| 临猗县| 原阳县| 长汀县| 玉树县| 富源县| 合川市| 西充县| 沙坪坝区| 汤原县| 息烽县| 沽源县| 临汾市| 安龙县| 辉南县| 彭州市|