Skip to content

Azure (Terraform Implementation) - Modularized infrastructure across VNet, VMs, peering, routing - Screenshots organized per-task - Region-aware VM SKU validation built in - README.md embedded walkthrough + visuals

Notifications You must be signed in to change notification settings

Mo-Afz/automated-intersite-connectivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 AZ-104 Lab 05 β€” Implement Intersite Connectivity (Terraform Edition)

This project recreates the Microsoft Learn AZ-104 Lab 05: Implement Intersite Connectivity using Terraform modules, enabling automated deployment, repeatable infrastructure builds, and clean source control for hybrid connectivity scenarios.

πŸ“ Local Path Reference:
C:\Users\shaha\Documents\AZ104-Projects\Projects\Implement-Intersite-Connectivity


πŸš€ Project Modules & Structure

Terraform is modularized across folders: β”œβ”€β”€ environments/lab/ # Root Terraform environment β”‚ β”œβ”€β”€ main.tf / variables.tf # Global wiring and tfvars β”œβ”€β”€ modules/ β”‚ β”œβ”€β”€ networking/ # VNet, subnet, peering β”‚ β”œβ”€β”€ resource-group/ # RG provisioning β”‚ β”œβ”€β”€ routing/ # Custom route table logic β”‚ └── virtual-machines/ # VM deployment and SKU validation β”œβ”€β”€ screenshots/ # πŸ“Έ Portal + TF visuals (see below) └── README.md


🧠 Lab Tasks Overview

🧩 Task 1 β€” Deploy Core Services VNet & VM

  • Core VNet: CoreServicesVnet with subnet Core
  • VM: CoreServicesVM deployed with a region-safe SKU selector

Screenshots:

  • CoreServices VM Overview
  • Core VNet Overview
  • Terraform - Core VM Block
  • Terraform - Core VNet Block

🏭 Task 2 β€” Deploy Manufacturing VNet & VM

  • Manufacturing VNet: ManufacturingVnet with subnet Manufacturing
  • VM: ManufacturingVM deployed in same region

Screenshots:

  • Manufacturing VM Overview
  • Manufacturing VNet Overview
  • Terraform - Manufacturing VM
  • Terraform - Manufacturing VNet

πŸ” Tasks 3 & 4 β€” Peering & Connectivity Test

Peering created bidirectionally between CoreServicesVnet and ManufacturingVnet, followed by a successful test using Network Watcher.

ℹ️ Note: Initial unreachable connectivity test was skipped due to Terraform provisioning order. The peering between CoreServicesVnet and ManufacturingVnet had already been applied, so Network Watcher confirmed reachability on first capture.

Screenshots:

  • Network Watcher Test Successful
  • Terraform - Network Watcher

πŸ§ͺ Task 5 β€” Verify VM-to-VM Reachability

Connectivity validated using Test-NetConnection via Azure Run Command from ManufacturingVM.

Screenshots:

  • PowerShell Test Success
  • Terraform - Test Block

πŸ›£οΈ Task 6 β€” Custom Route Table for Traffic Control

A custom route table named rt-CoreServices was created and associated to the Core subnet.

Screenshots:

  • Route Table - Core
  • Terraform - Route Table Block
  • Terraform - Subnet Association

πŸ”§ Noteworthy Features

  • βœ… Region-safe VM sizing with dynamic SKU selector via variables.tf
  • βš™οΈ Modular resource provisioning across networking, routing, virtual-machines
  • πŸ–ΌοΈ Screenshots captured post-deployment for validation and documentation
  • πŸ—‘οΈ Clean teardown supported via terraform destroy or RG deletion

πŸ“˜ Learn More

This project is based on Microsoft Learn: AZ-104 Lab 05 β€” restructured using Infrastructure as Code principles.

About

Azure (Terraform Implementation) - Modularized infrastructure across VNet, VMs, peering, routing - Screenshots organized per-task - Region-aware VM SKU validation built in - README.md embedded walkthrough + visuals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages