Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Robert jrob5756

View GitHub Profile
@jrob5756
jrob5756 / zone-redundant-vms.azcli
Created Feb 14, 2022
This is a set of AZ CLI commands to create a sample workload for resiliency testing.
View zone-redundant-vms.azcli
# # Setup
# PREFIX=jrtest-lb
# REGION=eastus
# Create Resource Group
az group create --name $PREFIX --location $REGION
# Create VNet
az network vnet create --resource-group $PREFIX --name $PREFIX-vnet --address-prefix 10.1.0.0/16
az network vnet subnet create --resource-group $PREFIX --vnet-name $PREFIX-vnet --name $PREFIX-sub-a --address-prefixes 10.1.0.0/24