Skip to content

Commit b0dcbff

Browse files
committed
edits
1 parent 3d93772 commit b0dcbff

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

articles/spring-apps/quickstart-access-within-vnet.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ description: Learn how to access applications in a virtual network that are usin
44
author: karlerickson
55
ms.author: haojianzhong
66
ms.service: spring-apps
7-
ms.topic: how-to
8-
ms.date: 03/14/2023
7+
ms.topic: quickstart
8+
ms.date: 03/21/2023
99
ms.custom: devx-track-java
1010
---
1111

1212
# Access applications using Azure Spring Apps Standard consumption plan in a virtual network
1313

1414
This article describes how to access your application in a virtual network using Azure Spring Apps Standard Consumption plan.
1515

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, you can access all the apps inside the environment only within that virtual network. In addition, when you create an instance of Azure Spring Apps inside the Azure Container Apps environment, you can access the applications in the Azure Spring Apps instance 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).
1717

1818
## Create a private DNS zone
1919

20-
Create a private DNS zone named as the Container App Environment’s default domain `<UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io`, with an A record.
20+
Create a private DNS zone named as the Azure Container App environment’s default domain `<UNIQUE_IDENTIFIER>.<REGION_NAME>.azurecontainerapps.io`, with an A record.
2121

22-
Use the following command to get the default domain of Azure Container Apps Environment.
22+
Use the following command to get the default domain of Azure Container Apps environment.
2323

2424
```azurecli
2525
az containerapp env show \
26-
--name <Azure-Container-Apps-environment-name> \
2726
--resource-group <resource-group-name> \
27+
--name <Azure-Container-Apps-environment-name> \
2828
--query 'properties.defaultDomain'
2929
```
3030

@@ -38,14 +38,14 @@ az network private-dns zone create \
3838

3939
## Create an A record
4040

41-
Create an A record that contains the name `<DNS Suffix>` and the static IP address of the Azure Container Apps Environment.
41+
Create an A record that contains the name `<DNS Suffix>` and the static IP address of the Azure Container Apps environment.
4242

43-
Use the following command to get the static IP address for an Azure Container Apps Environment.
43+
Use the following command to get the static IP address for an Azure Container Apps environment.
4444

4545
```azurecli
4646
az containerapp env show \
47-
--name <Azure-Container-Apps-environment-name> \
4847
--resource-group <resource-group-name> \
48+
--name <Azure-Container-Apps-environment-name> \
4949
--query 'properties.staticIp'
5050
```
5151

@@ -74,6 +74,19 @@ az network private-dns link vnet create \
7474

7575
## Access the application
7676

77-
Now you can access an application in an Azure Spring Apps instance within your virtual network, using the url of the application.
77+
Now you can access an application in an Azure Spring Apps instance within your virtual network, using the URL of the application.
78+
79+
## Clean up resources
80+
81+
Be sure to delete the resources you created in this article when you no longer need them. To delete the resources, just delete the resource group that contains them. You can delete the resource group using the Azure portal. Alternately, to delete the resource group by using Azure CLI, use the following commands:
82+
83+
```azurecli
84+
echo "Enter the Resource Group name:" &&
85+
read resourceGroupName &&
86+
az group delete --name $resourceGroupName &&
87+
echo "Press [ENTER] to continue ..."
88+
```
7889

7990
## Next steps
91+
92+
- [Azure Spring Apps documentation](./index.yml)

0 commit comments

Comments
 (0)