Browse Source

- Renamed lab to az-tfl-vnet-perf
- Modified README.md

cybergavin 3 years ago
parent
commit
cb59e61f60

+ 0 - 34
az-tfl-single-vnet/README.md

@@ -1,34 +0,0 @@
-# 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
-
-![az-tfl-single-vnet](az-tfl-single-vnet.png)
-
-## Usage
-
-- Authenticate with Azure (e.g. Azure CLI) and switch to the appropriate subscription (az account set -s <subscription>)
-- Configure appropriate values for the variables in terraform.tfvars
-- ```terraform init```
-- ```terraform apply```
-- Evaluate/Test concepts
-- ```terraform destroy```

+ 41 - 0
az-tfl-vnet-perf/README.md

@@ -0,0 +1,41 @@
+# Azure Terraform Lab - az-tfl-vnet-perf - Network Performance between VMs in a VNet
+
+## Topology
+
+![az-tfl-vnet-perf-topology](az-tfl-vnet-perf-topology.png)
+
+
+## Resources created
+
+This Lab creates the following Azure resources:
+
+![az-tfl-vnet-perf-resources](az-tfl-vnet-perf-resources.png)
+
+
+## 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 <subscription>)
+- 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
+- [qperf](https://linux.die.net/man/1/qperf)
+- [iperf3](https://iperf.fr/iperf-doc.php)

az-tfl-single-vnet/az-tfl-single-vnet-resources.png → az-tfl-vnet-perf/az-tfl-vnet-perf-resources.png


az-tfl-single-vnet/az-tfl-single-vnet.png → az-tfl-vnet-perf/az-tfl-vnet-perf-topology.png


az-tfl-single-vnet/main.tf → az-tfl-vnet-perf/main.tf


az-tfl-single-vnet/terraform.tfvars → az-tfl-vnet-perf/terraform.tfvars


az-tfl-single-vnet/variables.tf → az-tfl-vnet-perf/variables.tf