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-deploy-web-app.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ This quickstart shows how to deploy a Spring Boot web application to Azure Sprin
23
23
24
24
:::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":::
25
25
26
-
This application is a typical three-layers web application:
26
+
This application is a typical three-layers web application with the following layers:
27
27
28
28
- A frontend bounded [React](https://reactjs.org/) application.
29
29
- 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
71
71
72
72
### Provide names for each resource
73
73
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.
Use the following steps to create a new resource group.
89
89
90
-
1.Sign in to Azure CLI.
90
+
1.Use the following command to sign in to Azure CLI.
91
91
92
92
```azurecli-interactive
93
93
az login
94
94
```
95
95
96
-
1.Set the default location.
96
+
1.Use the following command to set the default location.
97
97
98
98
```azurecli-interactive
99
99
az configure --defaults location=${LOCATION}
@@ -105,19 +105,19 @@ Use the following steps to create a new resource group.
105
105
az account list --output table
106
106
```
107
107
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:
109
109
110
110
```azurecli-interactive
111
111
az account set --subscription <subscription-ID>
112
112
```
113
113
114
-
1.Create a resource group.
114
+
1.Use the following command to create a resource group.
115
115
116
116
```azurecli-interactive
117
117
az group create --resource-group ${RESOURCE_GROUP}
118
118
```
119
119
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.
121
121
122
122
```azurecli-interactive
123
123
az configure --defaults group=${RESOURCE_GROUP}
@@ -127,13 +127,13 @@ Use the following steps to create a new resource group.
127
127
128
128
Azure Spring Apps is used to host the Spring web app. Create an Azure Spring Apps instance and an application inside it.
129
129
130
-
1.Create an Azure Spring Apps service instance.
130
+
1.Use the following command to create an Azure Spring Apps service instance.
131
131
132
132
```azurecli-interactive
133
133
az spring create --name ${AZURE_SPRING_APPS_NAME}
134
134
```
135
135
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.
137
137
138
138
```azurecli-interactive
139
139
az spring app create \
@@ -167,7 +167,7 @@ Do you want to enable access for all IPs (y/n): n
167
167
168
168
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).
169
169
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.
171
171
172
172
```azurecli-interactive
173
173
az provider register --namespace Microsoft.ServiceLinker
@@ -194,7 +194,7 @@ After the application instance and the PostgreSQL instance are created, the appl
194
194
--connection ${CONNECTION}
195
195
```
196
196
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).
198
198
199
199
1. After the connection is created, use the following command to validate the connection:
0 commit comments