Skip to content

Commit 2f71c31

Browse files
committed
[ACI] VNet update
1 parent 88dca36 commit 2f71c31

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

articles/container-instances/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
items:
5656
- name: Deploy
5757
items:
58-
- name: Deploy in a virtual network (preview)
58+
- name: Deploy in a virtual network
5959
href: container-instances-vnet.md
6060
- name: Deploy from Azure Container Registry
6161
href: container-instances-using-azure-container-registry.md

articles/container-instances/container-instances-vnet.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy container group to Azure virtual network
33
description: Learn how to deploy container groups to a new or existing Azure virtual network.
44
ms.topic: article
5-
ms.date: 12/17/2019
5+
ms.date: 01/06/2020
66
ms.author: danlep
77

88
---
@@ -20,7 +20,7 @@ Container groups deployed into an Azure virtual network enable scenarios like:
2020
* Container communication with on-premises resources through a [VPN gateway](../vpn-gateway/vpn-gateway-about-vpngateways.md) or [ExpressRoute](../expressroute/expressroute-introduction.md)
2121

2222
> [!IMPORTANT]
23-
> This feature is currently in preview, and some [limitations apply](#preview-limitations). Previews are made available to you on the condition that you agree to the [supplemental terms of use][terms-of-use]. Some aspects of this feature may change prior to general availability (GA).
23+
> Container group deployments to a virtual network are generally available for production workloads only in the following regions: **East US, South Central US, and West US 2**. In other regions where the feature is available, virtual network deployments are currently in preview, with general availability planned in the near future. Previews are made available to you on the condition that you agree to the [supplemental terms of use][terms-of-use].
2424
2525

2626
## Virtual network deployment limitations
@@ -29,11 +29,7 @@ Certain limitations apply when you deploy container groups to a virtual network.
2929

3030
* To deploy container groups to a subnet, the subnet cannot contain any other resource types. Remove all existing resources from an existing subnet prior to deploying container groups to it, or create a new subnet.
3131
* You cannot use a [managed identity](container-instances-managed-identity.md) in a container group deployed to a virtual network.
32-
* Due to the additional networking resources involved, deploying a container group to a virtual network is typically somewhat slower than deploying a standard container instance.
33-
34-
## Preview limitations
35-
36-
While this feature is in preview, the following limitations apply when deploying container groups to a virtual network.
32+
* Due to the additional networking resources involved, deploying a container group to a virtual network is typically slower than deploying a standard container instance.
3733

3834
[!INCLUDE [container-instances-vnet-limits](../../includes/container-instances-vnet-limits.md)]
3935

@@ -42,8 +38,8 @@ Container resource limits may differ from limits for non-networked container ins
4238
### Unsupported networking scenarios
4339

4440
* **Azure Load Balancer** - Placing an Azure Load Balancer in front of container instances in a networked container group is not supported
45-
* **Virtual network peering** - VNet peering will not work for ACI if the network to which the ACI VNet is being peered to uses a public IP space. The peered network needs an RFC1918 private IP space in order for peering to work. Additionally, you currently can only peer your VNet to one other VNet
46-
* **Virtual network traffic routing** - Customer routes cannot be set up around public IPs. Routes can be set up within the private IP space of the delegated subnet in which the ACI resources are deployed
41+
* **Virtual network peering** - VNet peering will not work for ACI if the network to which the ACI VNet is peered uses a public IP space. The peered network needs an RFC1918 private IP space in order for peering to work. Additionally, you currently can only peer your VNet to one other VNet
42+
* **Virtual network traffic routing** - Custom routes cannot be set up around public IPs. Routes can be set up within the private IP space of the delegated subnet in which the ACI resources are deployed
4743
* **Network security groups** - Outbound security rules in NSGs applied to a subnet delegated to Azure Container Instances aren't currently enforced
4844
* **Public IP or DNS label** - Container groups deployed to a virtual network don't currently support exposing containers directly to the internet with a public IP address or a fully qualified domain name
4945
* **Internal name resolution** - Name resolution for Azure resources in the virtual network via the internal Azure DNS is not supported
@@ -95,7 +91,7 @@ Once you've deployed your first container group with this method, you can deploy
9591

9692
To deploy a container group to an existing virtual network:
9793

98-
1. Create a subnet within your existing virtual network, or empty an existing subnet of *all* other resources
94+
1. Create a subnet within your existing virtual network, use an existing subnet in which a container group is already deployed, or empty an existing subnet of *all* other resources
9995
1. Deploy a container group with [az container create][az-container-create] and specify one of the following:
10096
* Virtual network name and subnet name
10197
* Virtual network resource ID and subnet resource ID, which allows using a virtual network from a different resource group
@@ -111,7 +107,7 @@ The following sections describe how to deploy container groups to a virtual netw
111107

112108
First, deploy a container group and specify the parameters for a new virtual network and subnet. When you specify these parameters, Azure creates the virtual network and subnet, delegates the subnet to Azure Container instances, and also creates a network profile. Once these resources are created, your container group is deployed to the subnet.
113109

114-
Run the following [az container create][az-container-create] command that specifies settings for a new virtual network and subnet. You need to supply the name of a resource group that was created in a region that [supports](#preview-limitations) container groups in a virtual network. This command deploys the public Microsoft [aci-helloworld][aci-helloworld] container that runs a small Node.js webserver serving a static web page. In the next section, you'll deploy a second container group to the same subnet, and test communication between the two container instances.
110+
Run the following [az container create][az-container-create] command that specifies settings for a new virtual network and subnet. You need to supply the name of a resource group that was created in a region where container group deployments in a virtual network are [available](#virtual-network-deployment-limitations). This command deploys the public Microsoft [aci-helloworld][aci-helloworld] container that runs a small Node.js webserver serving a static web page. In the next section, you'll deploy a second container group to the same subnet, and test communication between the two container instances.
115111

116112
```azurecli
117113
az container create \
@@ -176,7 +172,7 @@ The log output should show that `wget` was able to connect and download the inde
176172

177173
### Deploy to existing virtual network - YAML
178174

179-
You can also deploy a container group to an existing virtual network by using a YAML file. To deploy to a subnet in a virtual network, you specify several additional properties in the YAML:
175+
You can also deploy a container group to an existing virtual network by using a YAML file, a Resource Manager template, or another programmatic method. To deploy to a subnet in a virtual network, you specify several additional properties in the YAML:
180176

181177
* `ipAddress`: The IP address settings for the container group.
182178
* `ports`: The ports to open, if any.
@@ -221,7 +217,7 @@ properties:
221217
- protocol: tcp
222218
port: '80'
223219
networkProfile:
224-
id: /subscriptions/<Subscription ID>/resourceGroups/container/providers/Microsoft.Network/networkProfiles/aci-network-profile-aci-vnet-subnet
220+
id: /subscriptions/<Subscription ID>/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkProfiles/aci-network-profile-aci-vnet-subnet
225221
osType: Linux
226222
restartPolicy: Always
227223
tags: null
@@ -259,9 +255,9 @@ az container delete --resource-group myResourceGroup --name appcontaineryaml -y
259255

260256

261257
> [!NOTE]
262-
> If you recieve an error while attempting to remove the Network Profile allow 2-3 days for the platform to automatically mitigate the issue and attempt the deletion again. If you still have issues removing the Network Profile [open a support reqest.](https://azure.microsoft.com/support/create-ticket/)
258+
> If you receive an error while attempting to remove the network profile, allow 2-3 days for the platform to automatically mitigate the issue and attempt the deletion again. If you still have issues removing the network profile, [open a support request](https://azure.microsoft.com/support/create-ticket/).
263259

264-
The initial preview of this feature requires several additional commands to delete the network resources you created earlier. If you used the example commands in previous sections of this article to create your virtual network and subnet, then you can use the following script to delete those network resources.
260+
This feature currently requires several additional commands to delete the network resources you created earlier. If you used the example commands in previous sections of this article to create your virtual network and subnet, then you can use the following script to delete those network resources.
265261

266262
Before executing the script, set the `RES_GROUP` variable to the name of the resource group containing the virtual network and subnet that should be deleted. Update the name of the virtual network if you did not use the `aci-vnet` name suggested earlier. The script is formatted for the Bash shell. If you prefer another shell such as PowerShell or Command Prompt, you'll need to adjust variable assignment and accessors accordingly.
267263

0 commit comments

Comments
 (0)