Debug School

Rajesh Kumar
Rajesh Kumar

Posted on

Terraform Azure — Hands-On Assignments - 1 Windows

Assignment 1: Deploy Windows VM and Install IIS Using Terraform Provisioner

Objective: Create a Windows Server VM in Azure and automatically configure IIS Web Server using Terraform.

Requirements:

Create an Azure Resource Group, VNet, Subnet, NSG, Public IP, and Windows VM.

Use a Terraform provisioner to install IIS Web Server.

Configure the IIS service to start automatically and ensure it is running.

Allow HTTP traffic on port 80 through the NSG.

Test IIS by accessing http:// in a browser.

Submission: Write complete, standalone Terraform code and paste it into the comment section, along with the successful test result.

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.