Skip to content

Commit 2fa797a

Browse files
committed
edits
1 parent 56987cb commit 2fa797a

File tree

6 files changed

+123
-105
lines changed

6 files changed

+123
-105
lines changed

articles/spring-apps/includes/quickstart-deploy-web-app/clean-up-resources.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: KarlErickson
33
ms.author: xiada
44
ms.service: spring-apps
55
ms.topic: include
6-
ms.date: 05/24/2022
6+
ms.date: 07/11/2023
77
---
88

99
<!--
@@ -15,15 +15,15 @@ For clarity of structure, a separate markdown file is used to describe how to cl
1515

1616
If you plan to continue working with subsequent quickstarts and tutorials, you might want to leave these resources in place. When you no longer need the resources, you can clean up unnecessary resources to avoid Azure charges.
1717

18-
#### [Azure portal](#tab/Azure-portal)
18+
### [Azure portal](#tab/Azure-portal)
1919

2020
You can delete the Azure resource group, which includes all the resources in the resource group. Use the following steps to delete the entire resource group, including the newly created service:
2121

2222
1. Locate your resource group in the Azure portal. On the navigation menu, select **Resource groups**, then select the name of your resource group.
2323

2424
1. On your resource group page, select **Delete**. Enter the name of your resource group in the text box to confirm deletion, then select **Delete**.
2525

26-
#### [Azure Developer CLI](#tab/Azure-Developer-CLI)
26+
### [Azure Developer CLI](#tab/Azure-Developer-CLI)
2727

2828
Use the following command to delete all the Azure resources used in this sample application.
2929

articles/spring-apps/includes/quickstart-deploy-web-app/deploy-consumption-plan.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: KarlErickson
33
ms.author: xiada
44
ms.service: spring-apps
55
ms.topic: include
6-
ms.date: 05/24/2022
6+
ms.date: 07/11/2023
77
---
88

99
<!--
@@ -30,7 +30,7 @@ Use the following steps to clone and run the app locally.
3030
./mvnw clean package
3131
```
3232

33-
3. Use the following command to run the sample application by Maven:
33+
3. Use the following command to run the sample application by using Maven:
3434

3535
```bash
3636
java -jar web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
@@ -61,21 +61,21 @@ export CONNECTION=<connection-name>
6161

6262
### 3.2. Create a new resource group
6363

64-
Use the following steps to create a new resource group.
64+
Use the following steps to create a new resource group:
6565

66-
1. Use the following command to sign in to the Azure CLI.
66+
1. Use the following command to sign in to the Azure CLI:
6767

6868
```azurecli
6969
az login
7070
```
7171

72-
1. Use the following command to set the default location.
72+
1. Use the following command to set the default location:
7373

7474
```azurecli
7575
az configure --defaults location=${LOCATION}
7676
```
7777

78-
1. Use the following command to list all available subscriptions to determine the subscription ID to use.
78+
1. Use the following command to list all available subscriptions to determine the subscription ID to use:
7979

8080
```azurecli
8181
az account list --output table
@@ -87,13 +87,13 @@ Use the following steps to create a new resource group.
8787
az account set --subscription <subscription-ID>
8888
```
8989

90-
1. Use the following command to create a resource group.
90+
1. Use the following command to create a resource group:
9191

9292
```azurecli
9393
az group create --resource-group ${RESOURCE_GROUP}
9494
```
9595

96-
1. Use the following command to set the newly created resource group as the default resource group.
96+
1. Use the following command to set the newly created resource group as the default resource group:
9797

9898
```azurecli
9999
az configure --defaults group=${RESOURCE_GROUP}
@@ -159,7 +159,7 @@ Specifying `0.0.0.0` enables public access from any resources deployed within Az
159159

160160
### 3.5. Connect app instance to PostgreSQL instance
161161

162-
After the application instance and the PostgreSQL instance are created, the application instance can't access the PostgreSQL instance directly. Use the following steps to enable the app to connect to the PostgreSQL instance.
162+
After the application instance and the PostgreSQL instance are created, the application instance can't access the PostgreSQL instance directly. Use the following steps to enable the app to connect to the PostgreSQL instance:
163163

164164
1. Use the following command to get the PostgreSQL instance's fully qualified domain name:
165165

@@ -183,13 +183,11 @@ After the application instance and the PostgreSQL instance are created, the appl
183183

184184
## 4. Deploy the app to Azure Spring Apps
185185

186-
Now that the cloud environment is prepared, the application is ready to deploy.
186+
Now that the cloud environment is prepared, the application is ready to deploy. Use the following command to deploy the app:
187187

188-
1. Use the following command to deploy the app:
189-
190-
```azurecli
191-
az spring app deploy \
192-
--service ${AZURE_SPRING_APPS_NAME} \
193-
--name ${APP_NAME} \
194-
--artifact-path web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
195-
```
188+
```azurecli
189+
az spring app deploy \
190+
--service ${AZURE_SPRING_APPS_NAME} \
191+
--name ${APP_NAME} \
192+
--artifact-path web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
193+
```

articles/spring-apps/includes/quickstart-deploy-web-app/deploy-enterprise-plan.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: KarlErickson
33
ms.author: xiada
44
ms.service: spring-apps
55
ms.topic: include
6-
ms.date: 05/24/2022
6+
ms.date: 07/11/2023
77
---
88

99
<!--
@@ -30,7 +30,7 @@ Use the following steps to clone and run the app locally.
3030
./mvnw clean package
3131
```
3232

33-
3. Use the following command to run the sample application by Maven:
33+
3. Use the following command to run the sample application by using Maven:
3434

3535
```bash
3636
java -jar web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
@@ -159,13 +159,11 @@ After the application instance and the PostgreSQL instance are created, the appl
159159

160160
## 4. Deploy the app to Azure Spring Apps
161161

162-
Now that the cloud environment is prepared, the application is ready to deploy.
162+
Now that the cloud environment is prepared, the application is ready to deploy. Use the following command to deploy the app:
163163

164-
1. Use the following command to deploy the app:
165-
166-
```azurecli
167-
az spring app deploy \
168-
--service ${AZURE_SPRING_APPS_NAME} \
169-
--name ${APP_NAME} \
170-
--artifact-path web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
171-
```
164+
```azurecli
165+
az spring app deploy \
166+
--service ${AZURE_SPRING_APPS_NAME} \
167+
--name ${APP_NAME} \
168+
--artifact-path web/target/simple-todo-web-0.0.1-SNAPSHOT.jar
169+
```

0 commit comments

Comments
 (0)