Skip to content

Commit 43f6ba7

Browse files
committed
section names, relative links, next steps
1 parent 07f101b commit 43f6ba7

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

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

Lines changed: 17 additions & 12 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
- A frontend bounded [React](https://reactjs.org/) application.
2525
- A backend Spring web application that uses Spring Data JPA to access a relational database.
26-
- A relational database. For localhost, the application uses [H2 Database Engine](https://www.h2database.com/html/main.html). For Azure Spring Apps, the application uses Azure Database for PreSql. For more information about Azure Database for PreSql, see [Flexible Server documentation](/azure/postgresql/flexible-server/).
26+
- A relational database. For localhost, the application uses [H2 Database Engine](https://www.h2database.com/html/main.html). For Azure Spring Apps, the application uses Azure Database for PreSql. For more information about Azure Database for PreSql, see [Flexible Server documentation](../postgresql/flexible-server/overview.md).
2727

2828
The following diagram shows the architecture of the system:
2929

@@ -38,6 +38,8 @@ The following diagram shows the architecture of the system:
3838

3939
## Clone and run the sample project locally
4040

41+
Use the following steps to clone and run the app locally.
42+
4143
1. The sample project is available on GitHub. Use the following command to clone the sample project:
4244

4345
```bash
@@ -65,7 +67,7 @@ The following diagram shows the architecture of the system:
6567

6668
The main resources required to run this sample are an Azure Spring Apps instance and an Azure Database for PostgreSQL instance. This section provides the steps to create these resources.
6769

68-
### Step 1 - Provide names for each resource
70+
### Provide names for each resource
6971

7072
Set the following names for the resources. Make adjustments as needed to avoid conflicts with existing resources.
7173

@@ -79,7 +81,7 @@ APP_NAME=webapp
7981
CONNECTION=WebAppConnection
8082
```
8183

82-
### Step 2 - Create a new resource group
84+
### Create a new resource group
8385

8486
Use the following steps to create a new resource group.
8587

@@ -119,7 +121,7 @@ Use the following steps to create a new resource group.
119121
az configure --defaults group=${RESOURCE_GROUP}
120122
```
121123

122-
### Step 3 - Create an Azure Spring Apps instance
124+
### Create an Azure Spring Apps instance
123125

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

@@ -139,7 +141,7 @@ Azure Spring Apps is used to host the Spring web app. Create an Azure Spring App
139141
--assign-endpoint true
140142
```
141143

142-
### Step 4 - Prepare the PostgreSQL instance
144+
### Prepare the PostgreSQL instance
143145

144146
The Spring web app uses H2 for the database in localhost, and Azure Database for PostgreSQL for the database in Azure.
145147

@@ -154,14 +156,14 @@ az postgres flexible-server create \
154156

155157
To ensure that the application is accessible only by PostgreSQL in Azure Spring Apps, enter `n` to the prompts to enable access to a specific IP address and to enable access for all IP addresses.
156158

157-
```azurecli
159+
```output
158160
Do you want to enable access to client xxx.xxx.xxx.xxx (y/n) (y/n): n
159161
Do you want to enable access for all IPs (y/n): n
160162
```
161163

162-
### Step 5 - Connect app instance to PostgreSQL instance
164+
### Connect app instance to PostgreSQL instance
163165

164-
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?](/azure/service-connector/overview).
166+
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).
165167

166168
1. If you're using Service Connector for the first time, register the Service Connector resource provider.
167169

@@ -190,7 +192,7 @@ After the application instance and the PostgreSQL instance are created, the appl
190192
--connection ${CONNECTION}
191193
```
192194

193-
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](/azure/spring-apps/how-to-bind-postgres?tabs=Passwordlessflex).
195+
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).
194196

195197
1. After the connection is created, use the following command to validate the connection:
196198

@@ -274,8 +276,11 @@ Now that the cloud environment is prepared, the application is ready to deploy.
274276

275277
## Next steps
276278

277-
[Bind an Azure Database for PostgreSQL to your application in Azure Spring Apps](/azure/spring-apps/how-to-bind-postgres?tabs=Secrets)
279+
> [!div class="nextstepaction"]
280+
> [Create a service connection in Azure Spring Apps with the Azure CLI](../service-connector/quickstart-cli-spring-cloud-connection.md)
278281
279-
[Create a service connection in Azure Spring Apps with the Azure CLI](/azure/service-connector/quickstart-cli-spring-cloud-connection)
282+
For more information, see the following articles:
280283

281-
[Azure Spring Apps Samples](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples)
284+
- [Azure Spring Apps Samples](https://github.com/Azure-Samples/Azure-Spring-Cloud-Samples).
285+
- [Spring on Azure](/azure/developer/java/spring/)
286+
- [Spring Cloud Azure](/azure/developer/java/spring-framework/)

0 commit comments

Comments
 (0)