VNet peering of OSS Corporation
Connecting Virtual Networks might be messy sometimes if not done right. Creating it, again and again, will be more error-prone. So, we will be utilizing a service from Azure called Azure ARM Templates to deploy our infrastructure in an idempotent way. We will also be using Portal for only some tasks but most of it will be done from the templates.
- Azure Account
- Azure Virtual Machines
- Azure VNet
- Azure Templates
git clone git@github.com:codexponent/oss-vnet-peering.git
az group create --name oss-east-rg --location eastus
az group create --name oss-west-rg --location westus
cd east
az deployment group create --resource-group oss-east-rg --template-file template.json
cd west
az deployment group create --resource-group oss-west-rg --template-file template.json
For the rest of the explanation and demonstration I have it on my medium blog.