Перейти к содержимому

Terraform with Azure Tutorial for Beginners | Remote State, Modules & HCP Terraform [HINDI]

M Prashant

0:00 / 0:00

Terraform with Azure Tutorial for Beginners | Remote State, Modules & HCP Terraform [HINDI]

14 991 просмотр · 2 нед. назад
M Prashant
189 тыс. подписчиков
14 991 просмотр · 2 нед. назад
Want to learn Terraform with Microsoft Azure? 🚀 In this practical Terraform tutorial in Hindi, we'll learn how to use Terraform to automate Azure infrastructure provisioning and manage cloud resources using Infrastructure as Code (IaC). Instead of manually creating resources through the Azure Portal, you'll learn how to define your infrastructure using Terraform configuration files and deploy it to Azure. This tutorial is designed for beginners who want to learn Terraform practically and understand how it is used in real-world DevOps workflows. Links: Config link https://github.com/paulphilip/terrafo... Slides link https://canva.link/96cxfx9devrc3tu Providers Docs https://registry.terraform.io/provide... Module Docs https://registry.terraform.io/browse/... Terraform Docs https://developer.hashicorp.com/terra... 📚 Topics Covered in This Terraform Tutorial ✅ *Terraform Fundamentals* What is Terraform and Infrastructure as Code (IaC)? Terraform providers and resources Terraform workflow: `init`, `plan`, `apply`, and `destroy` Terraform variables, outputs, and local values List, map, and set variable types Environment variables and `.tfvars` files Terraform data sources and resource dependencies ✅ *Azure Infrastructure Automation* Create Azure Resource Groups using Terraform Create Azure Virtual Networks (VNet) and subnets Configure Azure Virtual Machines and networking resources Create Azure Storage Accounts and Blob Containers Upload files to Azure Blob Storage using Terraform Generate random values for Azure resource names Use the Random provider and `keepers` ✅ *Dynamic Resource Creation* Using `count` in Terraform Using `for_each` to create multiple resources Difference between lists and sets ✅ *Terraform State Management* What is Terraform state? Local vs. remote state Configure the Azure Blob Storage backend Migrate local Terraform state to remote state Verify remote state migration ✅ *Terraform Modules* What is a Terraform module? Create a custom Terraform module for Azure VNet and subnets Use input variables and outputs in modules Reuse modules across projects Understand pre-built modules and the Terraform Registry Best practices for reusable modules ✅ *Terraform Workspaces and Lifecycle* What are Terraform workspaces? Create, select, and delete workspaces Understand resource lifecycle and infrastructure changes ✅ *HCP Terraform (Terraform Cloud)* What is HCP Terraform? Create and use HCP Terraform workspaces Remote execution and remote state Team collaboration and workspace permissions Configure Azure authentication for Terraform runs 🎯 Who Should Watch This Tutorial? Beginners learning Terraform with Azure Aspiring DevOps Engineers Cloud Engineers Azure Administrators Developers interested in Infrastructure as Code Anyone looking to automate Azure infrastructure provisioning 📌 Prerequisites Basic knowledge of Microsoft Azure is helpful, especially Resource Groups, Virtual Networks, Subnets, and Virtual Machines. If you're new to Azure, consider watching my Azure beginner tutorial first. 🔑 What You'll Learn By the end of this tutorial, you'll understand how to provision Azure infrastructure using Terraform, create reusable modules, manage remote state, automate resource creation, and explore HCP Terraform for team-based workflows. #Terraform #Azure #TerraformTutorial #TerraformWithAzure #InfrastructureAsCode #DevOps #HCPTerraform #CloudComputing #MicrosoftAzure #TerraformHindi Timelines: 00:00:00 Intro 00:02:04 What is Terraform? 00:06:11 Azure Free Account Setup 00:20:44 Terraform Installation on Windows 00:22:19 Azure CLI on Windows 00:23:09 Terraform Installation on MAC 00:24:21 Azure CLI on MAC 00:25:13 vsCode Setup for Terraform Config 00:27:24 First Terraform Config 00:32:33 Modify & Delete Resources 00:35:13 Terraform State Management 00:41:38 Terraform Variables 00:46:04 Azure Vnet & VM using Terraform Config 00:55:01 Enable Public IP 00:59:01 Enable Network Security Group 01:04:35 Terraform Outputs 01:07:18 Terraform Resource Dependecy 01:11:00 Azure Blob Storage using Terraform Config 01:17:00 Terraform Remote State Management 01:27:16 Terraform Data Source 01:32:45 Terraform Random Provider 01:36:43 More about Variables 01:48:53 Terraform Local Variables 01:50:21 Terraform Env Variables 01:57:38 Terraform Operators & Expressions 02:09:48 Terraform Functions 02:18:53 Terraform COUNT 02:29:23 Terraform FOR EACH 02:33:37 Terraform Resource Lifecycle 02:41:22 Terraform Pre & Post Conditions 02:46:21 Terraform State Manipulation 02:54:24 Terraform IMPORT 02:59:10 Terraform Workspaces 03:13:50 Terraform Modules 03:18:33 Azure Resource using Moduel 03:35:51 Creating Custom Terraform Module 03:46:51 Publish Module into Terraform Registry 03:53:57 Terraform CLOUD