Get started with the foundations of Infrastructure as Code and learn how Terraform can automate the deployment and management of resources on Azure. This book covers all of the software engineering practices related to Terraform and Infrastructure as Code with Azure as a cloud provider.

The book starts with an introduction to Infrastructure as Code and covers basic concepts, principles, and tools, followed by an overview of Azure and Terraform that shows you how Terraform can be used to provision and manage Azure resources. You will get started writing multiple Terraform scripts and explore its various concepts. Author Ritesh Modi takes a deep dive into Terraform and teaches you about deployment and multiple resource creation using loops. Writing a reusable script using modules is discussed as well as management and administration of secrets, sensitive data, and passwords within Terraform code. You will learn to store and version Terraform scripts and know how Terraform is used in Azure DevOps pipelines. And you will write unit and integration tests for Terraform and learn its best practices. The book also highlights and walks through the Terraform Azure Provider and shows you a simple way to create a new Terraform provider.
After reading this book, you will be able to write quality Terraform scripts that are secure by design, modular, and reusable in Azure.
You will:
  • Understand implementation within infrastructure and application deployments
  • Provision resources in Azure using Terraform
  • Use unit and integration testing
  • Explore concepts such as local vs remote, importing state, workspaces, and backends



Autorentext
Ritesh Modi works with Microsoft as Senior Engineer on the Commercial Engineering team. He has served as Microsoft Regional Director as well as Regional Lead for Microsoft certified trainers.

Ritesh is an architect, a senior evangelist, cloud architect, published author, speaker, and a known leader for his contributions in Blockchain, Ethereum, Datacenter, Azure, bots, cognitive services, DevOps, artificial intelligence, and automation. He has more than a decade of experience in building and deploying enterprise solutions for customers. He has contributed to AzureRM provider multiple times as an open source contribution.

Inhalt
Chapter 1:  Introduction to Infrastructure as Code  

Chapter Goal: Understand the basics on Infrastructure as Code paradigm and known about its advantages, principles and tools. Understand the need to convert infrastructure into code.

No of pages: 5      

Sub -Topics

1.     Understanding Configuration Management

2.     Understanding Infrastructure as code

3.     Principles of Infrastructure as code

4.     Benefits and applicability for cloud environments

Chapter 2:  Azure and Terraform

Chapter Goal: Get an overview of Azure as enterprise cloud provider with different paradigm like IaaS, PaaS. Different ways to provision resources in Azure. How Terraform fits within the Azure Landscape and how it can be used to provision Azure resources. Understand the high-level architecture and workflow using Terraform

No of pages: 15

Sub - Topics  

1.      Overview of Azure cloud

2.      Overview of Terraform configuration management

3.      Terraform workflow for provisioning and de-provisioning of resources

4.      Terraform architecture providers, plugins, resources, repositories

Chapter 3: Getting Started with Terraform

Chapter Goal: Getting hand dirty with Terraform, writing multiple terraform scripts exploring different concepts of Terraform.

No of pages: 45

Sub - Topics: 

1.     Understand Terraform CLI and using various options

2.     State Management in Terraform

3.     using Resources, providers, outputs

4.     Terraform Data types

5.  Dependency graphs in Terraform scripts

 Chapter 4: Deep Dive into Terraform

Chapter Goal: Understanding the advance features of Terraform both from component as well at script level. Write advance Terraform scripts for conditional deployments, multiple resource creation using loops.

No of pages: 45

Sub - Topics:

1. Backend, state and workspace management in Terraform

2. dynamic provisioning of resources

3. loops, conditional statements for, for-each, if

4. using Terraform functions string, collection, encoding, file

Chapter 5: Writing Reusable Modules in Terraform

Chapter Goal: Writing reusable Terraform scripts using modules, storing modules in repositories and consuming them in multiple scripts.

No of pages: 25

1.     Basic of Modules, child and parent modules

2.     Passing parameters and getting output from modules

3.     Using modules from multiple scripts.

Chapter 6: Writing Secure Scripts with Terraform

Chapter Goal: Management and administration of sensitive data, secrets and passwords within Terraform code. Usage of Key vaults for storing of secrets.

No of pages: 20

                         

1.     Secure storage of credentials and sensitive information

2.     Usage of Managed Identities, certificates, service principles to connect to Azure

3.     Storing secrets in Azure...

Titel
Deep-Dive Terraform on Azure
Untertitel
Automated Delivery and Deployment of Azure Solutions
EAN
9781484273289
Format
E-Book (pdf)
Hersteller
Veröffentlichung
27.09.2021
Digitaler Kopierschutz
Wasserzeichen
Dateigrösse
5.28 MB
Anzahl Seiten
236