Skip to content

Commit e4c8e4b

Browse files
incorporated edits and comments
1 parent 7a4eaae commit e4c8e4b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

articles/spring-apps/quickstart.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ At the end of this quickstart, you'll have a working spring app running on Azure
3232

3333
## [Azure CLI](#tab/Azure-CLI)
3434

35-
### Prerequisites
35+
## Prerequisites
3636

3737
- An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
3838

39-
### Provision an instance of Azure Spring Apps
39+
## Provision an instance of Azure Spring Apps
40+
41+
Use the following steps to provision a service instance.
4042

4143
1. Select **Try It** and sign in to your Azure account in [Azure Cloud Shell](/azure/cloud-shell/overview).
4244

@@ -73,12 +75,12 @@ At the end of this quickstart, you'll have a working spring app running on Azure
7375
```azurecli-interactive
7476
az spring create \
7577
--resource-group <name-of-resource-group> \
76-
--service <service-instance-name>
78+
--name <service-instance-name>
7779
```
7880

7981
1. Choose **Y** to install the Azure Spring Apps extension and run it.
8082

81-
### Create an app in your instance
83+
## Create an app in your instance
8284

8385
Use the following command to specify the app name on Azure Spring Apps as *hellospring*.
8486

@@ -90,7 +92,9 @@ az spring app create \
9092
--assign-endpoint true
9193
```
9294

93-
### Clone the Spring Boot sample project
95+
## Clone the Spring Boot sample project
96+
97+
Use the following steps to clone the Spring Boot sample project.
9498

9599
1. Use the following command to clone the [Spring Boot sample project](https://github.com/spring-guides/gs-spring-boot.git) from GitHub.
96100

@@ -110,7 +114,7 @@ Use the following [Maven](https://maven.apache.org/what-is-maven.html) command t
110114
mvn clean package -DskipTests
111115
```
112116

113-
### Deploy the local app on Azure Spring Apps
117+
## Deploy the local app on Azure Spring Apps
114118

115119
Use the following command to deploy the *.jar* file for the app (*target/spring-boot-complete-0.0.1-SNAPSHOT.jar* on Windows).
116120

@@ -126,13 +130,13 @@ Deploying the application can take a few minutes.
126130

127131
## [IntelliJ](#tab/IntelliJ)
128132

129-
### Prerequisites
133+
## Prerequisites
130134

131135
- An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
132136
- [IntelliJ IDEA](https://www.jetbrains.com/idea/).
133137
- [Azure Toolkit for IntelliJ](/azure/developer/java/toolkit-for-intellij/install-toolkit).
134138

135-
### Generate a Spring project
139+
## Generate a Spring project
136140

137141
Use the following steps to create the project:
138142

@@ -168,7 +172,7 @@ This example uses Java version 11. To use a different Java version, change the
168172
}
169173
```
170174

171-
### <a name="provision-instance">Provision an instance of Azure Spring Apps</a>
175+
## Provision an instance of Azure Spring Apps
172176

173177
Use the following steps to create an instance of Azure Spring Apps using the Azure portal.
174178

@@ -195,7 +199,7 @@ Use the following steps to create an instance of Azure Spring Apps using the Azu
195199

196200
1. Select **Review and create**.
197201

198-
### Import project
202+
## Import project
199203

200204
Use the following steps to import the project.
201205

@@ -204,11 +208,13 @@ Use the following steps to import the project.
204208

205209
:::image type="content" source="media/quickstart/intellij-new-project.png" alt-text="Screenshot of IntelliJ IDEA showing Open File or Project dialog box." lightbox="media/quickstart/intellij-new-project.png":::
206210

207-
### Build and deploy your app
211+
## Build and deploy your app
208212

209213
> [!NOTE]
210214
> To run the project locally, add `spring.config.import=optional:configserver:` to the project's *application.properties* file.
211215
216+
Use the following steps to build and deploy your app.
217+
212218
1. If you haven't already installed the Azure Toolkit for IntelliJ, follow the steps in [Install the Azure Toolkit for IntelliJ](/azure/developer/java/toolkit-for-intellij/install-toolkit).
213219

214220
1. Right-click your project in the IntelliJ Project window, and then select **Azure** -> **Deploy to Azure Spring Apps**.
@@ -218,7 +224,7 @@ Use the following steps to import the project.
218224
1. Accept the name for the app in the **Name** field. **Name** refers to the configuration, not the app name. You don't usually need to change it.
219225
1. In the **Artifact** textbox, select **Maven:com.example:hellospring-0.0.1-SNAPSHOT**.
220226
1. In the **Subscription** textbox, verify that your subscription is correct.
221-
1. In the **Service** textbox, select the instance of Azure Spring Apps that you created in [Provision an instance of Azure Spring Apps](#provision-instance).
227+
1. In the **Service** textbox, select the instance of Azure Spring Apps that you created in [Provision an instance of Azure Spring Apps](#provision-an-instance-of-azure-spring-apps-1).
222228
1. In the **App** textbox, select the plus sign (**+**) to create a new app.
223229
224230
:::image type="content" source="media/quickstart/intellij-create-new-app.png" alt-text="Screenshot of IntelliJ IDEA showing Deploy Azure Spring Apps dialog box.":::
@@ -242,16 +248,14 @@ Use the following steps to import the project.
242248

243249
## [Visual Studio Code](#tab/VS-Code)
244250

245-
### Deploy a Spring Boot web app to Azure Spring Apps with Visual Studio Code
251+
## Deploy a Spring Boot web app to Azure Spring Apps with Visual Studio Code
246252

247253
To deploy a Spring Boot web app to Azure Spring Apps, follow the steps in [Java on Azure Spring Apps](https://code.visualstudio.com/docs/java/java-spring-apps).
248254

249255
---
250256

251257
Once deployment has completed, you can access the app at `https://<service instance name>-hellospring.azuremicroservices.io/`.
252258

253-
You also have access to powerful logs, metrics, and distributed tracing capability from the Azure portal. For more information, see [Quickstart: Monitoring Azure Spring Apps apps with logs, metrics, and tracing](./quickstart-logs-metrics-tracing.md).
254-
255259
## Clean up resources
256260

257261
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, delete them by deleting the resource group. Use the following commands to delete the resource group:
@@ -265,13 +269,9 @@ echo "Press [ENTER] to continue ..."
265269

266270
## Next steps
267271

268-
In this quickstart, you learned how to:
272+
In this quickstart, you learned how to generate a basic Spring project, provision a service instance, build and deploy an app with a public endpoint, and clean up the resources.
269273

270-
> [!div class="checklist"]
271-
> - Generate a basic Spring project.
272-
> - Provision a service instance.
273-
> - Build and deploy an app with a public endpoint.
274-
> - Clean up the resources.
274+
You also have access to powerful logs, metrics, and distributed tracing capability from the Azure portal. For more information, see [Quickstart: Monitoring Azure Spring Apps apps with logs, metrics, and tracing](./quickstart-logs-metrics-tracing.md).
275275

276276
To learn how to use more Azure Spring capabilities, advance to the quickstart series that deploys a sample application to Azure Spring Apps:
277277

0 commit comments

Comments
 (0)