Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samsmith-msft/avnm-lab
Terraform lab deployment for Azure Virtual Network Manager
https://github.com/samsmith-msft/avnm-lab
azure azure-networking
Last synced: 17 days ago
JSON representation
Terraform lab deployment for Azure Virtual Network Manager
- Host: GitHub
- URL: https://github.com/samsmith-msft/avnm-lab
- Owner: samsmith-MSFT
- Created: 2024-09-21T17:33:16.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T20:40:45.000Z (2 months ago)
- Last Synced: 2024-12-19T06:43:44.255Z (17 days ago)
- Topics: azure, azure-networking
- Language: HCL
- Homepage: https://github.com/samsmith-MSFT/AVNM-LAB
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```sh
az login
```
If you have issues signing in, try using:
```sh
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:
```json
{
"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!