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/quickstart-access-within-vnet.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.custom: devx-track-java
13
13
14
14
This article describes how to access your application in a virtual network using Azure Spring Apps Standard Consumption plan.
15
15
16
-
When you create an Azure Container Apps Environment in an existing virtual network, all the apps inside the environment can be accessed only within that virtual network. In addition, when you create an instance of Azure Spring Apps inside the Azure Container Apps Environment, the applications in the Azure Spring Apps instance can be accessed only from the virtual network. For more information see [Provide a virtual network to an internal Azure Container Apps environments](/azure/container-apps/vnet-custom-internal?tabs=bash&pivots=azure-portal).
16
+
When you create an Azure Container Apps Environment in an existing virtual network, all the apps inside the environment can be accessed only within that virtual network. In addition, when you create an instance of Azure Spring Apps inside the Azure Container Apps Environment, the applications in the Azure Spring Apps instance can be accessed only from the virtual network. For more information, see [Provide a virtual network to an internal Azure Container Apps environments](/azure/container-apps/vnet-custom-internal?tabs=bash&pivots=azure-portal).
17
17
18
18
## Create a private DNS zone
19
19
@@ -23,17 +23,17 @@ Use the following command to get the default domain of Azure Container Apps Envi
23
23
24
24
```azurecli
25
25
az containerapp env show \
26
-
--name <manage environmentname> \
27
-
--resource-group <resourcegroup> \
26
+
--name <Azure-Container-Apps-environment-name> \
27
+
--resource-group <resource-group-name> \
28
28
--query 'properties.defaultDomain'
29
29
```
30
30
31
31
Use the following command to create a Private DNS Zone for applications in the virtual network.
32
32
33
33
```azurecli
34
34
az network private-dns zone create \
35
-
--resource-group <resourcegroup> \
36
-
--name <privatednszonename>
35
+
--resource-group <resource-group-name> \
36
+
--name <private-dns-zone-name>
37
37
```
38
38
39
39
## Create an A record
@@ -44,31 +44,31 @@ Use the following command to get the static IP address for an Azure Container Ap
44
44
45
45
```azurecli
46
46
az containerapp env show \
47
-
--name <manage environmentname> \
48
-
--resource-group <resourcegroup> \
47
+
--name <Azure-Container-Apps-environment-name> \
48
+
--resource-group <resource-group-name> \
49
49
--query 'properties.staticIp'
50
50
```
51
51
52
52
Use the following command to get the A record:
53
53
54
54
```azurecli
55
55
az network private-dns record-set a add-record \
56
-
--resource-group <resourcegroup> \
57
-
--zone-name <privatednszonename> \
56
+
--resource-group <resource-group-name> \
57
+
--zone-name <private-dns-zone-name> \
58
58
--record-set-name '*' \
59
-
--ipv4-address <staticip>
59
+
--ipv4-address <static-ip>
60
60
```
61
61
62
62
## Link the virtual network
63
63
64
-
Use the following command to create a virtual network link to link to the private DNS zone of the virtual network.
64
+
Use the following command to create a virtual network link to the private DNS zone of the virtual network.
0 commit comments