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

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
主站蜘蛛池模板: 策勒县| 商都县| 吴堡县| 澎湖县| 枣庄市| 井陉县| 宁都县| 祁东县| 盐池县| 藁城市| 安泽县| 满洲里市| 辉县市| 广汉市| 九江县| 三明市| 汝城县| 武汉市| 高邮市| 石景山区| 金山区| 奈曼旗| 威宁| 岫岩| 米泉市| 兴文县| 北海市| 天长市| 科尔| 彰武县| 定结县| 阜宁县| 泸西县| 霍邱县| 色达县| 三明市| 鲁甸县| 忻州市| 莲花县| 陆川县| 兴义市|