Azure Terraform Lab - az-tfl-single-vnet
NOTE:
- This Terraform Lab is intended for quick evaluation of a concept and should be ideally executed in a test/lab/empty susbcription with adequate privileges (e.g. Contributor role on the subscription).
- This Lab does not authenticate with Azure. You must authenticate via other means (Azure CLI is quick and simple).
Resources created
This Lab creates the following Azure resources:
- 1 x Resource Group
- 1 x Virtual Network
- 2 x Subnets
- 2 x Public IP Addresses (dynamic)
- 2 x Private Network Interfaces
- 2 x VMs (Oracle Linux) associated with public and private IPs and the following:
- qperf installed
- firewalld disabled
Use-Cases
- Measure network performance (e.g. throughput, latency) between VMs in the same VNet and region
Topology

Usage
- Authenticate with Azure (e.g. Azure CLI) and switch to the appropriate subscription (az account set -s )
- Configure appropriate values for the variables in terraform.tfvars
terraform init
terraform apply
- Evaluate/Test concepts
terraform destroy