You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/scripts/virtual-network-powershell-sample-ipv6-dual-stack-standard-load-balancer.md
+17-31Lines changed: 17 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,44 +1,30 @@
1
1
---
2
-
title: Azure PowerShell script sample - Configure IPv6 frontend with Standard Load Balancer (preview)
2
+
title: Azure PowerShell script sample - Configure IPv6 frontend with an Azure Standard Load Balancer
3
3
titlesuffix: Azure Virtual Network
4
-
description: Learn about configuring an IPv6 frontend in a virtual network script sample with Standard Load Balancer.
5
-
services: virtual-network
6
-
author: asudbring
4
+
description: Learn about configuring an IPv6 frontend in a virtual network script sample with an Azure Standard Load Balancer.
7
5
ms.service: virtual-network
6
+
author: asudbring
8
7
ms.topic: sample
9
-
ms.workload: infrastructure-services
10
-
ms.date: 07/15/2019
8
+
ms.date: 04/04/2023
11
9
ms.author: allensu
12
10
ms.custom: devx-track-azurepowershell
13
11
---
14
12
15
-
# Configure IPv6 frontend in virtual network script sample with Standard Load Balancer (preview)
13
+
# Configure IPv6 frontend in virtual network script sample with an Azure Standard Load Balancer
16
14
17
-
This article shows you how to deploy a dual stack (IPv4 + IPv6) application in Azure that includes a dual stack virtual network with a dual stack subnet, a load balancer with dual (IPv4 + IPv6) front-end configurations, VMs with NICs that have a dual IP configuration, dual network security group rules, and dual public IPs.
15
+
This article outlines the necessary steps to create a dual stack virtual network, load balancer with dual (IPv4 + IPv6) front-end configurations, VMs with NICs that have a dual IP configuration, dual network security group rules, and dual public IPs.
18
16
19
-
You can execute the script from the Azure [Cloud Shell](https://shell.azure.com/powershell), or from a local PowerShell installation. If you use PowerShell locally, this script requires the Azure Az PowerShell module version 1.0.0 or later. To find the installed version, run `Get-Module -ListAvailable Az`. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
22
20
23
-
## Prerequisites
24
-
Before you deploy a dual stack application in Azure, you must configure your subscription only once for this preview feature using the following Azure PowerShell:
21
+
- Azure PowerShell installed locally or Azure Cloud Shell.
It takes up to 30 minutes for feature registration to complete. You can check your registration status by running the following Azure PowerShell command:
After the registration is complete, run the following command:
23
+
- Sign in to Azure PowerShell and ensure you've selected the subscription with which you want to use this feature. For more information, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).
- Ensure your `Az.Network` module is 4.3.0 or later. To verify the installed module, use the command `Get-InstalledModule -Name Az.Network`. If the module requires an update, use the command `Update-Module -Name Az.Network` if necessary.
26
+
27
+
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find the installed version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-Az-ps). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
42
28
43
29
## Sample script
44
30
@@ -251,12 +237,12 @@ This script uses the following commands to create a resource group, virtual mach
251
237
|[New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork)| Creates an Azure virtual network and subnet. |
252
238
|[New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress)| Creates a public IP address with a static IP address and an associated DNS name. |
253
239
|[New-AzLoadBalancer](/powershell/module/az.network/new-azloadbalancer)| Creates an Azure load balancer. |
254
-
|[New-AzLoadBalancerProbeConfig](/powershell/module/az.network/new-azloadbalancerprobeconfig)| Creates a load balancer probe. A load balancer probe is used to monitor each VM in the load balancer set. If any VM becomes inaccessible, traffic is not routed to the VM. |
255
-
|[New-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerruleconfig)| Creates a load balancer rule. In this sample, a rule is created for port 80. As HTTP traffic arrives at the load balancer, it is routed to port 80 one of the VMs in the load balancer set. |
240
+
|[New-AzLoadBalancerProbeConfig](/powershell/module/az.network/new-azloadbalancerprobeconfig)| Creates a load balancer probe. A load balancer probe is used to monitor each VM in the load balancer set. If any VM becomes inaccessible, traffic isn't routed to the VM. |
241
+
|[New-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerruleconfig)| Creates a load balancer rule. In this sample, a rule is created for port 80. As HTTP traffic arrives at the load balancer, it's routed to port 80 one of the VMs in the load balancer set. |
256
242
|[New-AzNetworkSecurityGroup](/powershell/module/az.network/new-aznetworksecuritygroup)| Creates a network security group (NSG), which is a security boundary between the internet and the virtual machine. |
257
243
|[New-AzNetworkSecurityRuleConfig](/powershell/module/az.network/new-aznetworksecurityruleconfig)| Creates an NSG rule to allow inbound traffic. In this sample, port 22 is opened for SSH traffic. |
258
244
|[New-AzNetworkInterface](/powershell/module/az.network/new-aznetworkinterface)| Creates a virtual network card and attaches it to the virtual network, subnet, and NSG. |
259
-
|[New-AzAvailabilitySet](/powershell/module/az.compute/new-azavailabilityset)| Creates an availability set. Availability sets ensure application uptime by spreading the virtual machines across physical resources such that if failure occurs, the entire set is not affected. |
245
+
|[New-AzAvailabilitySet](/powershell/module/az.compute/new-azavailabilityset)| Creates an availability set. Availability sets ensure application uptime by spreading the virtual machines across physical resources such that if failure occurs, the entire set isn't affected. |
260
246
|[New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig)| Creates a VM configuration. This configuration includes information such as VM name, operating system, and administrative credentials. The configuration is used during VM creation. |
261
247
|[New-AzVM](/powershell/module/az.compute/new-azvm)| Creates the virtual machine and connects it to the network card, virtual network, subnet, and NSG. This command also specifies the virtual machine image to be used and administrative credentials. |
262
248
|[Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup)| Deletes a resource group including all nested resources. |
@@ -265,4 +251,4 @@ This script uses the following commands to create a resource group, virtual mach
265
251
266
252
For more information on the Azure PowerShell, see [Azure PowerShell documentation](/powershell/azure/).
267
253
268
-
Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
254
+
More networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
0 commit comments