Skip to content

Files

34 lines (30 loc) · 2.45 KB

cli-samples.md

File metadata and controls

34 lines (30 loc) · 2.45 KB
title description services documentationcenter author manager tags ms.assetid ms.service ms.topic ms.tgt_pltfrm ms.workload ms.date ms.author ms.custom
Azure CLI Samples - Networking
Learn about Azure CLI samples for networking, including samples for connectivity between Azure resources and samples for load balancing and traffic direction.
virtual-network
virtual-network
KumudD
timlt
virtual-network
article
infrastructure
04/25/2017
kumud
devx-track-azurecli

Azure CLI Samples for networking

The following table includes links to bash scripts built using the Azure CLI.

Script Description
Connectivity between Azure resources
Create a virtual network for multi-tier applications Creates a virtual network with front-end and back-end subnets. Traffic to the front-end subnet is limited to HTTP and SSH, while traffic to the back-end subnet is limited to MySQL, port 3306.
Peer two virtual networks Creates and connects two virtual networks in the same region.
Route traffic through a network virtual appliance Creates a virtual network with front-end and back-end subnets and a VM that is able to route traffic between the two subnets.
Filter inbound and outbound VM network traffic Creates a virtual network with front-end and back-end subnets. Inbound network traffic to the front-end subnet is limited to HTTP, HTTPS and SSH. Outbound traffic to the Internet from the back-end subnet is not permitted.
Load balancing and traffic direction
Load balance multiple websites on VMs Creates two VMs with multiple IP configurations, joined to an Azure Availability Set, accessible through an Azure Load Balancer.
Direct traffic across multiple regions for high application availability Creates two app service plans, two web apps, a traffic manager profile, and two traffic manager endpoints.