cybergavin e2de341f67 updated topology image 3 years ago
..
README.md 77d897c91c fixed formatting 3 years ago
az-tfl-vnet-perf-resources.png cb59e61f60 - Renamed lab to az-tfl-vnet-perf 3 years ago
az-tfl-vnet-perf-topology.png e2de341f67 updated topology image 3 years ago
main.tf e2de341f67 updated topology image 3 years ago
terraform.tfvars 77d897c91c fixed formatting 3 years ago
variables.tf cb59e61f60 - Renamed lab to az-tfl-vnet-perf 3 years ago

README.md

Azure Terraform Lab - az-tfl-vnet-perf - Network Performance between VMs in a VNet

Topology

az-tfl-vnet-perf-topology

Resources created

This Lab creates the following Azure resources (prefix 'cg' used for names):

az-tfl-vnet-perf-resources

Use-Cases

  • Measure network performance (e.g. throughput, latency) between VMs (Oracle Linux) in the same VNet
  • qperf is installed and firewalld is disabled on both VMs
  • You may use ping, iperf3 or other network performance tools (may have to be installed)

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/Demo
  • terraform destroy
  • Example - qperf

    • On vm1, use qperf to listen

    sudo qperf

    • On vm2, use qperf to connect to vm1 (private IP) and test TCP bandwidth and latency for 10 seconds

    sudo qperf <vm1 private IP> -t 10 tcp_bw tcp_lat

    References