Skip to content

Commit 867befb

Browse files
committed
review of articles for freshness and errors. Tested both scripts
1 parent bd3979b commit 867befb

File tree

3 files changed

+18
-40
lines changed

3 files changed

+18
-40
lines changed

articles/networking/cli-samples.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
---
22
title: Azure CLI Samples - Networking
3-
description: Learn about Azure CLI samples for networking, including samples for connectivity between Azure resources and samples for load balancing and traffic direction.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
8-
9-
tags:
10-
ms.assetid:
3+
description: Learn about Azure CLI samples for networking that include connectivity between Azure resources and for load balancing and traffic direction.
4+
author: asudbring
115
ms.service: virtual-network
126
ms.topic: article
13-
ms.tgt_pltfrm:
14-
ms.workload: infrastructure
15-
ms.date: 04/25/2017
16-
ms.author: kumud
7+
ms.date: 03/23/2023
8+
ms.author: allensu
179
ms.custom: devx-track-azurecli
1810

1911
---
@@ -27,7 +19,7 @@ The following table includes links to bash scripts built using the Azure CLI.
2719
| [Create a virtual network for multi-tier applications](./scripts/virtual-network-cli-sample-multi-tier-application.md?toc=%2fazure%2fnetworking%2ftoc.json) | 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. |
2820
| [Peer two virtual networks](./scripts/virtual-network-cli-sample-peer-two-virtual-networks.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates and connects two virtual networks in the same region. |
2921
| [Route traffic through a network virtual appliance](./scripts/virtual-network-cli-sample-route-traffic-through-nva.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates a virtual network with front-end and back-end subnets and a VM that is able to route traffic between the two subnets. |
30-
| [Filter inbound and outbound VM network traffic](./scripts/virtual-network-filter-network-traffic.md?toc=%2fazure%2fnetworking%2ftoc.json) | 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. |
22+
| [Filter inbound and outbound VM network traffic](./scripts/virtual-network-filter-network-traffic.md?toc=%2fazure%2fnetworking%2ftoc.json) | 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 isn't permitted. |
3123
|**Load balancing and traffic direction**||
3224
| [Load balance multiple websites on VMs](./scripts/load-balancer-linux-cli-load-balance-multiple-websites-vm.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates two VMs with multiple IP configurations, joined to an Azure Availability Set, accessible through an Azure Load Balancer. |
3325
| [Direct traffic across multiple regions for high application availability](./scripts/traffic-manager-cli-websites-high-availability.md?toc=%2fazure%2fnetworking%2ftoc.json) | Creates two app service plans, two web apps, a traffic manager profile, and two traffic manager endpoints. |

articles/networking/scripts/virtual-network-cli-sample-multi-tier-application.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,33 @@
11
---
22
title: Azure CLI script sample - Create a network for multi-tier applications
33
description: Azure CLI script sample - Create a virtual network for multi-tier applications.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
4+
author: asudbring
85
ms.service: virtual-network
9-
ms.devlang: azurecli
106
ms.topic: article
11-
ms.tgt_pltfrm:
12-
ms.workload: infrastructure
13-
ms.date: 07/07/2017
14-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
159
ms.custom: devx-track-azurecli
1610

1711
---
1812

1913
# Use an Azure CLI script sample to create a network for multi-tier applications
2014

21-
This script sample 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. After running the script, you will have two virtual machines, one in each subnet that you can deploy web server and MySQL software to.
15+
This script sample 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. After running the script, you'll have two virtual machines, one in each subnet that you can deploy web server and MySQL software to.
2216

2317
[!INCLUDE [sample-cli-install](../../../includes/sample-cli-install.md)]
2418

2519
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2620

27-
2821
## Sample script
2922

30-
3123
[!code-azurecli-interactive[main](../../../cli_scripts/virtual-network/virtual-network-multi-tier-application/virtual-network-multi-tier-application.sh "Virtual network for multi-tier application")]
3224

3325
## Clean up deployment
3426

3527
Run the following command to remove the resource group, VM, and all related resources.
3628

3729
```azurecli
38-
az group delete --name MyResourceGroup --yes
30+
az group delete --name $resourceGroup --yes
3931
```
4032

4133
## Script explanation
@@ -58,4 +50,4 @@ This script uses the following commands to create a resource group, virtual netw
5850

5951
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
6052

61-
Additional networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)
53+
More networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)

articles/networking/scripts/virtual-network-cli-sample-peer-two-virtual-networks.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
---
2-
title: Azure CLI Script Sample - Peer two virtual networks | Microsoft Docs
2+
title: Azure CLI Script Sample - Peer two virtual networks
33
description: Use an Azure CLI script sample to create and connect two virtual networks in the same region through the Azure network.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
4+
author: asudbring
85
ms.service: virtual-network
9-
ms.devlang: azurecli
106
ms.topic: article
11-
ms.tgt_pltfrm:
12-
ms.workload: infrastructure
13-
ms.date: 07/07/2017
14-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
159
ms.custom: devx-track-azurecli
1610
---
1711

1812
# Use an Azure CLI sample script to connect two virtual networks
1913

20-
This script creates and connects two virtual networks in the same region through the Azure network. After running the script, you will create a peering between two virtual networks.
14+
This script creates and connects two virtual networks in the same region through the Azure network. After running the script, you'll create a peering between two virtual networks.
2115

2216
[!INCLUDE [sample-cli-install](../../../includes/sample-cli-install.md)]
2317

@@ -33,7 +27,7 @@ This script creates and connects two virtual networks in the same region through
3327
Run the following command to remove the resource group, VM, and all related resources.
3428

3529
```azurecli
36-
az group delete --name myResourceGroup --yes
30+
az group delete --name $resourceGroup --yes
3731
```
3832

3933
## Script explanation
@@ -51,4 +45,4 @@ This script uses the following commands to create a resource group, virtual mach
5145

5246
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
5347

54-
Additional networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md).
48+
More networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md).

0 commit comments

Comments
 (0)