Skip to content

Instantly share code, notes, and snippets.

View jrob5756's full-sized avatar

Jason Robert jrob5756

View GitHub Profile
jrob5756 / zone-redundant-vms.azcli
Created February 14, 2022 22:01
This is a set of AZ CLI commands to create a sample workload for resiliency testing.
# # 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
az network vnet subnet create --resource-group $PREFIX --vnet-name $PREFIX-vnet --name $PREFIX-sub-a --address-prefixes