Skip to content

samsmith-MSFT/AVNM-LAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Virtual Network Manager Lab

This Terraform lab environment will deploy an Azure Virtual Network Manager (AVNM) lab. This lab uses GitHub Codespaces which allows you to deploy a containerized dev environment with all dependencies included. Follow the steps below to deploy and manage the lab environment.

Prerequisites

  • GitHub account

Steps to Deploy the Lab

  1. Create a Codespace from the GitHub Repository

    • Navigate to the GitHub repository for this lab.
    • Click on the Code button.
    • Select the Codespaces tab.
    • Click on Create codespace on main (or the appropriate branch).
  2. Login to Azure

    Open a terminal in the Codespace and run the following command to login to your Azure account:

    az login

    If you have issues signing in, try using:

    az login --use-device-code
  3. Update the answers.json File

    Update the answers.json file with your environment values. The file should look like this:

    {
      "subscriptionId": "your-subscription-id",
      "location": "your-location",
      "resourceGroupName": "your-resource-group-name"
    }
  4. Run the Deploy Script

    Run the deploy.ps1 script to deploy the lab environment:

    ./deploy.ps1
    

Clean Up the Lab

When you're ready to clean up the lab environment, run the destroy.ps1 script:

./destroy.ps1

Notes

Ensure you have the necessary permissions to create and manage resources in your Azure subscription. Review the Terraform configurations and scripts to understand the resources being deployed and managed. Ensure that the SKU used in the main.tf in the 2-compute module is supported in your chosen location. I would suggest useast2 for the givin SKU or change the SKU as necessary.

Azure VMs login info

  • Username = azureadmin
  • Password = AzureAdmin123!

Happy deploying!

About

Terraform lab deployment for Azure Virtual Network Manager

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published