Skip to content

Commit 31d0794

Browse files
Apply suggestions from code review
Co-authored-by: Karl Erickson <[email protected]>
1 parent dfb5904 commit 31d0794

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

articles/spring-apps/quickstart-deploy-web-app.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This quickstart shows how to deploy a Spring Boot web application to Azure Sprin
2323

2424
:::image type="content" source="./media/quickstart-deploy-web-app/todo-app.png" alt-text="Sceenshot of a sample web application in Azure Spring Apps." lightbox="./media/quickstart-deploy-web-app/todo-app.png":::
2525

26-
This application is a typical three-layers web application:
26+
This application is a typical three-layers web application with the following layers:
2727

2828
- A frontend bounded [React](https://reactjs.org/) application.
2929
- A backend Spring web application that uses Spring Data JPA to access a relational database.
@@ -71,29 +71,29 @@ The main resources required to run this sample are an Azure Spring Apps instance
7171

7272
### Provide names for each resource
7373

74-
Set the following names for the resources. Make adjustments as needed to avoid conflicts with existing resources.
74+
Create variables to hold the resource names. Be sure to replace the placeholders with your own values.
7575

7676
```azurecli-interactive
77-
RESOURCE_GROUP=WebAppResourceGroup
78-
LOCATION=eastus
79-
POSTGRESQL_SERVER=webapppostgresqlserver
80-
POSTGRESQL_DB=WebAppPostgreSQLDB
81-
AZURE_SPRING_APPS_NAME=web-app-azure-spring-apps
82-
APP_NAME=webapp
83-
CONNECTION=WebAppConnection
77+
RESOURCE_GROUP=<resource-group-name>
78+
LOCATION=<location>
79+
POSTGRESQL_SERVER=<server-name>
80+
POSTGRESQL_DB=<database-name>
81+
AZURE_SPRING_APPS_NAME=<Azure-Spring-Apps-service-instance-name>
82+
APP_NAME=<web-app-name>
83+
CONNECTION=<connection-name>
8484
```
8585

8686
### Create a new resource group
8787

8888
Use the following steps to create a new resource group.
8989

90-
1. Sign in to Azure CLI.
90+
1. Use the following command to sign in to Azure CLI.
9191

9292
```azurecli-interactive
9393
az login
9494
```
9595

96-
1. Set the default location.
96+
1. Use the following command to set the default location.
9797

9898
```azurecli-interactive
9999
az configure --defaults location=${LOCATION}
@@ -105,19 +105,19 @@ Use the following steps to create a new resource group.
105105
az account list --output table
106106
```
107107

108-
Choose a subscription and set it as the default subscription with the following command:
108+
1. Choose a subscription and set it as the default subscription with the following command:
109109

110110
```azurecli-interactive
111111
az account set --subscription <subscription-ID>
112112
```
113113

114-
1. Create a resource group.
114+
1. Use the following command to create a resource group.
115115

116116
```azurecli-interactive
117117
az group create --resource-group ${RESOURCE_GROUP}
118118
```
119119

120-
1. Set the newly created resource group as the default resource group.
120+
1. Use the following command to set the newly created resource group as the default resource group.
121121

122122
```azurecli-interactive
123123
az configure --defaults group=${RESOURCE_GROUP}
@@ -127,13 +127,13 @@ Use the following steps to create a new resource group.
127127

128128
Azure Spring Apps is used to host the Spring web app. Create an Azure Spring Apps instance and an application inside it.
129129

130-
1. Create an Azure Spring Apps service instance.
130+
1. Use the following command to create an Azure Spring Apps service instance.
131131

132132
```azurecli-interactive
133133
az spring create --name ${AZURE_SPRING_APPS_NAME}
134134
```
135135

136-
1. Create an application in the Azure Spring Apps instance.
136+
1. Use the following command to create an application in the Azure Spring Apps instance.
137137

138138
```azurecli-interactive
139139
az spring app create \
@@ -167,7 +167,7 @@ Do you want to enable access for all IPs (y/n): n
167167

168168
After the application instance and the PostgreSQL instance are created, the application instance can't access the PostgreSQL instance directly. The following steps use Service Connector to configure the needed network settings and connection information. For more information about Service Connector, see [What is Service Connector?](../service-connector/overview.md).
169169

170-
1. If you're using Service Connector for the first time, register the Service Connector resource provider.
170+
1. If you're using Service Connector for the first time, use the following command to register the Service Connector resource provider.
171171

172172
```azurecli-interactive
173173
az provider register --namespace Microsoft.ServiceLinker
@@ -194,7 +194,7 @@ After the application instance and the PostgreSQL instance are created, the appl
194194
--connection ${CONNECTION}
195195
```
196196

197-
The `--system-identity` parameter is required for the passwrodless connection. For more information, see [Bind an Azure Database for PostgreSQL to your application in Azure Spring Apps](how-to-bind-postgres.md).
197+
The `--system-identity` parameter is required for the passwordless connection. For more information, see [Bind an Azure Database for PostgreSQL to your application in Azure Spring Apps](how-to-bind-postgres.md).
198198

199199
1. After the connection is created, use the following command to validate the connection:
200200

0 commit comments

Comments
 (0)