Getting started on creating several virtual machines across regions in parallel in C#
Azure compute sample for creating multiple virtual machines in parallel.
- Define 1 virtual network per region
- Define 1 storage account per region
- Create 5 virtual machines in 2 regions using defined virtual network and storage account
- Create a traffic manager to route traffic across the virtual machines
Running this Sample
To run this sample:
Set the environment variable
AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/compute-dotnet-create-virtual-machines-across-regions-in-parallel.git cd compute-dotnet-create-virtual-machines-across-regions-in-parallel dotnet build bin\Debug\net452\CreateVirtualMachinesInParallel.exe