Welcome to the Azure Virtual WAN Playground repository! Your one-stop shop for an awesome Azure Virtual WAN lab environment.
This repo is dedicated for all poor souls out there who want to play around with Azure Virtual WAN but don't have unlimited Azure Credit in their subscriptions. I've put together a template that deploys Azure Virtual WAN and all resources needed to play around with the service and test everything from VPN, Routing, Secured Virtual Hub, Virtual Network connections and more. The goal is to make it easy to spin up an environment when you need to test a feature for a short period of time and then remove it all when finished.
The Azure Virtual WAN Playground is built using 💪Bicep language which makes it so much easier to work with and read compared to ARM Templates. Azure Virtual WAN with all it's dependencies between the hub and the connected services like VPN Gateway, Firewall (Secured Virtual WAN), VPN Site makes it hard to follow in pure ARM template. If you haven't tested Bicep yet check out the Bicep repository for all info needed, I guarantee you're going to love it!
The template is built using Bicep modules and the target scope is subscription. Deploy the solution using the compiled main.json template and optionally the main.parameters.json parameter file that can be found in the playground folder.
New-AzDeployment -Name vwanplayground -Location <location> -TemplateFile .\main.json -TemplateParameterFile .\main.parameters.json
az deployment sub create -n vwanplayground --location <location> --template-file main.json -parameters @main.parameters.json
The Azure Virtual WAN Playground deploys the following topology:
- Azure Virtual WAN
- Virtual Hub (Secured Virtual Hub)
- Firewall Policy
- Rule Collection Groups
- Azure Firewall
- Hub Route Tables
- Virtual Network Connection (Spoke VNet)
- Using custom route table sending branch and internet traffic to firewall
- VPN Gateway
- VPN Site (On-Prem VNet)
- Spoke VNet
- Azure Bastion Service
- Virtual Machine
- On-Prem VNet
- Azure Bastion Service
- Virtual Machine
- VPN Gateway
- Connection (On-Prem to WAN Hub)
- Local Network Gateway
- Connection (On-Prem to WAN Hub)
- Log Analytics Workspace (Firewall Diagnostics)
Azure Virtual WAN Playground will evolve over time with new features added regularly. The following improvements are planned:
- Will add support to select which resource to deploy using
conditionswhen it is released. - User VPN Gateway and User VPN Configuration.
- Azure Firewall Workbook added to Log Analytics Workspace.
- Azure Sentinel.
Other improvements can be requested by creating a new issue.
If you find this project interesting and want to contribute, please feel free to submit Pull Requests with suggested improvements.
