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
-[Azure CLI](/cli/azure/install-azure-cli). Install the Azure Spring Apps extension with the following command: `az extension add --name spring`
43
44
- If you're deploying Azure Spring Apps Enterprise tier for the first time in the target subscription, see the [Prerequisites](./how-to-enterprise-marketplace-offer.md#prerequisites) section of [View Azure Spring Apps Enterprise tier offering in Azure Marketplace](./how-to-enterprise-marketplace-offer.md).
44
45
45
46
## Provision an instance of Azure Spring Apps
46
47
47
-
Use the following steps to create a service instance of Azure Spring Apps.
48
+
Use the following steps to create an Azure Spring Apps service instance.
48
49
49
50
1. Select **Open Cloudshell** and sign in to your Azure account in [Azure Cloud Shell](../cloud-shell/overview.md).
50
51
@@ -62,21 +63,21 @@ Use the following steps to create a service instance of Azure Spring Apps.
62
63
az account list --output table
63
64
```
64
65
65
-
1.Set your default subscription.
66
+
1.Use the following command to set your default subscription.
66
67
67
68
```azurecli-interactive
68
69
az account set --subscription <subscription-id>
69
70
```
70
71
71
-
1.Create a resource group.
72
+
1.Use the following command to create a resource group.
72
73
73
74
```azurecli-interactive
74
75
az group create \
75
76
--resource-group <name-of-resource-group> \
76
77
--location eastus
77
78
```
78
79
79
-
1.Create an Azure Spring Apps service instance.
80
+
1.Use the following command to create an Azure Spring Apps service instance.
80
81
81
82
```azurecli-interactive
82
83
az spring create \
@@ -88,10 +89,10 @@ Use the following steps to create a service instance of Azure Spring Apps.
88
89
89
90
## Create an app in your Azure Spring Apps instance
90
91
91
-
An [**App**](/azure/spring-apps/concept-understand-app-and-deployment)is an abstraction of one business app. Apps run in an Azure Spring Apps Service Instance, or simply service instance, as shown next.
92
-
</br>
93
-

94
-
</br>
92
+
An [*App*](concept-understand-app-and-deployment.md)is an abstraction of one business app. Apps run in an Azure Spring Apps service instance, as shown in the following diagram.
93
+
94
+
:::image type="content" source="media/spring-cloud-app-and-deployment/app-deployment-rev.png" alt-text="Diagram showing the relationship between apps and an Azure Spring Apps service instance.":::
95
+
95
96
Use the following command to specify the app name on Azure Spring Apps as *hello spring*.
96
97
97
98
```azurecli-interactive
@@ -110,19 +111,19 @@ Use the following steps to clone the Spring Boot sample project.
-[Azure CLI](/cli/azure/install-azure-cli). Install the spring extension for `StandardGen2` Azure Spring Apps by using the following command.
147
149
148
150
```shell
149
151
az extension add --upgrade --name spring
150
152
```
151
153
152
-
-Install the Azure Container Apps extension for the CLI and register these namespaces: `Microsoft.App`, `Microsoft.OperationalInsights` and `Microsoft.AppPlatform`
154
+
-Use the following commands to install the Azure Container Apps extension for the Azure CLI and register these namespaces: `Microsoft.App`, `Microsoft.OperationalInsights`, and `Microsoft.AppPlatform`
153
155
154
156
```shell
155
157
az extension add --name containerapp --upgrade
@@ -160,7 +162,7 @@ Deploying the application can take a few minutes.
160
162
161
163
## Provision an instance of Azure Spring Apps
162
164
163
-
Use the following steps to create a service instance of Azure Spring Apps.
165
+
Use the following steps to create an Azure Spring Apps service instance.
164
166
165
167
1. Select **Open Cloudshell** and sign in to your Azure account in [Azure Cloud Shell](../cloud-shell/overview.md).
166
168
@@ -188,7 +190,7 @@ Use the following steps to create a service instance of Azure Spring Apps.
@@ -202,7 +204,7 @@ Use the following steps to create a service instance of Azure Spring Apps.
202
204
--location ${LOCATION}
203
205
```
204
206
205
-
1. An Azure Container App environment creates a secure boundary around a group of applications. Apps deployed to the same environment are deployed in the same virtual network and write logs to the same [Log Analytics workspace](/azure/azure-monitor/logs/log-analytics-workspace-overview). To create the environment, run the following command
207
+
1. An Azure Container App environment creates a secure boundary around a group of applications. Apps deployed to the same environment are deployed in the same virtual network and write logs to the same [Log Analytics workspace](/azure/azure-monitor/logs/log-analytics-workspace-overview). To create the environment, run the following command:
206
208
207
209
```azurecli-interactive
208
210
az containerapp env create \
@@ -211,16 +213,17 @@ Use the following steps to create a service instance of Azure Spring Apps.
211
213
--location ${LOCATION}
212
214
```
213
215
214
-
1.Set the environment variable:
216
+
1.Use the following command to create a variable to store the environment resource ID:
215
217
216
218
```azurecli-interactive
217
219
MANAGED_ENV_RESOURCE_ID=$(az containerapp env show \
218
220
--name ${MANAGED_ENVIRONMENT} \
219
221
--resource-group ${RESOURCE_GROUP} \
220
-
--query id -o tsv)
222
+
--query id \
223
+
--output tsv)
221
224
```
222
225
223
-
1. Use the following command to create an Azure Spring Apps service instance. The StandardGen2 Azure Spring Apps instance is built on top of the Container Environment: Create your Azure Spring Apps instance by specifying the resource ID of the ACA Environment you created:
226
+
1. Use the following command to create an Azure Spring Apps service instance. The `StandardGen2` Azure Spring Apps instance is built on top of the Azure Container Apps environment. Create your Azure Spring Apps instance by specifying the resource ID of the environment you created.
224
227
225
228
```azurecli-interactive
226
229
az spring create \
@@ -233,11 +236,11 @@ Use the following steps to create a service instance of Azure Spring Apps.
233
236
234
237
## Create an app in your Azure Spring Apps instance
235
238
236
-
An [**App**](/azure/spring-apps/concept-understand-app-and-deployment) is an abstraction of one business app. Apps run in an Azure Spring Apps service instance, or simply service instance, as shown in the following diagram.
237
-
</br>
238
-

239
-
</br>
240
-
Use the following command to specify the app name on Azure Spring Apps and allocate required resources:
239
+
An [*App*](/azure/spring-apps/concept-understand-app-and-deployment) is an abstraction of one business app. Apps run in an Azure Spring Apps service instance, or simply service instance, as shown in the following diagram.
240
+
241
+
:::image type="content" source="media/spring-cloud-app-and-deployment/app-deployment-rev.png" alt-text="Diagram showing the relationship between apps and an Azure Spring Apps service instance.":::
242
+
243
+
Use the following command to specify the app name on Azure Spring Apps and to allocate required resources:
241
244
242
245
```azurecli-interactive
243
246
az spring app create \
@@ -264,7 +267,7 @@ Use the following steps to clone the Spring Boot sample project.
@@ -357,7 +360,7 @@ Use the following steps to create an instance of Azure Spring Apps using the Azu
357
360
358
361
-**Subscription**: Select the subscription you want to be billed for this resource.
359
362
-**Resource group**: Creating new resource groups for new resources is a best practice.
360
-
-**Service Name**: Specify the service instance name. You'll use this name later in this article where the *\<Azur-Spring-Apps-instance-name\>* placeholder appears. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
363
+
-**Service Name**: Specify the service instance name. You'll use this name later in this article where the *\<Azure-Spring-Apps-instance-name\>* placeholder appears. The name must be between 4 and 32 characters long and can contain only lowercase letters, numbers, and hyphens. The first character of the service name must be a letter and the last character must be either a letter or a number.
361
364
-**Region**: Select the region for your service instance.
362
365
363
366
:::image type="content" source="media/quickstart/portal-start.png" alt-text="Screenshot of Azure portal showing Azure Spring Apps Create page." lightbox="media/quickstart/portal-start.png":::
@@ -411,7 +414,7 @@ Use the following steps to build and deploy your app.
411
414
412
415
1. To start the deployment, select the **Run** button at the bottom of the **Deploy Azure Spring Apps app** dialog box. The plug-in runs the command `mvn package -DskipTests` on the `hellospring` app and deploys the *.jar* file generated by the `package` command.
413
416
414
-
###[Visual Studio Code](#tab/VS-Code)
417
+
## [Visual Studio Code](#tab/VS-Code)
415
418
416
419
## Prerequisites
417
420
@@ -438,7 +441,7 @@ echo "Press [ENTER] to continue ..."
438
441
439
442
## Next steps
440
443
441
-
In this quickstart, you learned how to build and deploy a Spring app in a service instance of Azure Spring Apps. You also learned how to deploy an app with a public endpoint, and how to clean up resources.
444
+
In this quickstart, you learned how to build and deploy a Spring app in an Azure Spring Apps service instance. You also learned how to deploy an app with a public endpoint, and how to clean up resources.
442
445
443
446
You 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).
0 commit comments