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/spring-apps/access-app-virtual-network.md
+37-36Lines changed: 37 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Azure Spring Apps access app in virtual network"
3
-
description: Access app in Azure Spring Apps in a virtual network.
2
+
title: Access your application in a private network
3
+
description: Access an app in Azure Spring Apps in a virtual network.
4
4
author: karlerickson
5
5
ms.author: karler
6
6
ms.service: spring-apps
@@ -15,7 +15,7 @@ ms.devlang: azurecli
15
15
> [!NOTE]
16
16
> Azure Spring Apps is the new name for the Azure Spring Cloud service. Although the service has a new name, you'll see the old name in some places for a while as we work to update assets such as screenshots, videos, and diagrams.
This article explains how to access an endpoint for your application in a private network.
21
21
@@ -31,28 +31,28 @@ When **Assign Endpoint** on applications in an Azure Spring Apps service instanc
31
31
32
32
3. In the filtered result, find the **Device** connected to the **Service Runtime Subnet** of the service instance, and copy its **IP Address**. In this sample, the IP Address is *10.1.0.7*.
33
33
34
-
> [!Warning]
35
-
> Please make sure the IP Address belongs to **Service Runtime subnet** instead of **Spring Boot microservice apps subnet**. (Subnet specifications are provided when [Deploy an Azure Spring Apps instance](./how-to-deploy-in-azure-virtual-network.md#deploy-an-azure-spring-apps-instance).
34
+
> [!WARNING]
35
+
> Be sure that the IP Address belongs to **Service Runtime subnet** instead of **Spring Boot microservice apps subnet**. Subnet specifications are provided when you deploy an Azure Spring Apps instance. For more information, see the [Deploy an Azure Spring Apps instance](./how-to-deploy-in-azure-virtual-network.md#deploy-an-azure-spring-apps-instance) section of [Deploy Azure Spring Apps in a virtual network](./how-to-deploy-in-azure-virtual-network.md).
36
36
37
37
:::image type="content" source="media/spring-cloud-access-app-vnet/create-dns-record.png" alt-text="Screenshot of the Azure portal showing the Connected devices page for a virtual network, filtered for kubernetes-internal devices, with the IP Address for the service runtime subnet highlighted." lightbox="media/spring-cloud-access-app-vnet/create-dns-record.png":::
38
38
39
39
#### [CLI](#tab/azure-CLI)
40
40
41
41
Find the IP Address for your Spring Cloud services. Customize the value of your Azure Spring Apps instance name based on your real environment.
@@ -61,7 +61,7 @@ Find the IP Address for your Spring Cloud services. Customize the value of your
61
61
If you have your own DNS solution for your virtual network, like Active Directory Domain Controller, Infoblox, or another, you need to point the domain `*.private.azuremicroservices.io` to the [IP address](#find-the-ip-for-your-application). Otherwise, you can follow the following instructions to create an **Azure Private DNS Zone** in your subscription to translate/resolve the private fully qualified domain name (FQDN) to its IP address.
62
62
63
63
> [!NOTE]
64
-
> If you are using Azure China, please replace `private.azuremicroservices.io` with `private.microservices.azure.cn` in this article. Learn more about [Check Endpoints in Azure](/azure/china/resources-developer-guide#check-endpoints-in-azure).
64
+
> If you're using Azure China, be sure to replace `private.azuremicroservices.io` with `private.microservices.azure.cn` in this article. Learn more about [Check Endpoints in Azure](/azure/china/resources-developer-guide#check-endpoints-in-azure).
65
65
66
66
## Create a private DNS zone
67
67
@@ -114,7 +114,7 @@ To link the private DNS zone to the virtual network, you need to create a virtua
114
114
115
115
#### [Portal](#tab/azure-portal)
116
116
117
-
1. Select the private DNS zone resource created above: *private.azuremicroservices.io*
117
+
1. Select the private DNS zone resource you created previously: *private.azuremicroservices.io*
118
118
119
119
2. On the left pane, select **Virtual network links**, then select **Add**.
120
120
@@ -130,14 +130,15 @@ To link the private DNS zone to the virtual network, you need to create a virtua
130
130
131
131
Link the private DNS zone you created to the virtual network holding your Azure Spring Apps service.
132
132
133
-
```azurecli
134
-
az network private-dns link vnet create \
135
-
--resource-group $RESOURCE_GROUP \
136
-
--name azure-spring-apps-dns-link \
137
-
--zone-name private.azuremicroservices.io \
138
-
--virtual-network $VIRTUAL_NETWORK_NAME \
139
-
--registration-enabled false
140
-
```
133
+
```azurecli
134
+
az network private-dns link vnet create \
135
+
--resource-group $RESOURCE_GROUP \
136
+
--name azure-spring-apps-dns-link \
137
+
--zone-name private.azuremicroservices.io \
138
+
--virtual-network $VIRTUAL_NETWORK_NAME \
139
+
--registration-enabled false
140
+
```
141
+
141
142
---
142
143
143
144
## Create DNS record
@@ -146,7 +147,7 @@ To use the private DNS zone to translate/resolve DNS, you must create an "A" typ
146
147
147
148
#### [Portal](#tab/azure-portal)
148
149
149
-
1. Select the private DNS zone resource created above: *private.azuremicroservices.io*.
150
+
1. Select the private DNS zone resource you created previously: *private.azuremicroservices.io*.
150
151
151
152
1. Select **Record set**.
152
153
@@ -168,13 +169,13 @@ To use the private DNS zone to translate/resolve DNS, you must create an "A" typ
168
169
169
170
Use the [IP address](#find-the-ip-for-your-application) to create the A record in your DNS zone.
0 commit comments