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
Use the following command to delete all the Azure resources used in this sample application.
28
+
Use the following command to delete all the Azure resources used in this sample application:
29
29
30
30
```bash
31
31
azd down
@@ -34,12 +34,11 @@ azd down
34
34
The following list describes the command interactions:
35
35
36
36
-**Total resources to delete: \<resources-total>, are you sure you want to continue?**: Press <kbd>y</kbd>.
37
-
-**Would you like to permanently delete these resources instead, allowing their names to be reused?**: Press <kbd>y</kbd>. Press <kbd>n</kbd> if you want to reuse the Key Vault.
38
37
39
38
The console outputs messages similar to the following example:
40
39
41
40
```output
42
-
SUCCESS: Your Azure resources have been deleted.
41
+
SUCCESS: Your application was removed from Azure in xx minutes xx seconds.
Copy file name to clipboardExpand all lines: articles/spring-apps/includes/quickstart-deploy-web-app/deploy-standard-plan.md
+46-24Lines changed: 46 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ author: KarlErickson
3
3
ms.author: xiada
4
4
ms.service: spring-apps
5
5
ms.topic: include
6
-
ms.date: 07/11/2023
6
+
ms.date: 08/31/2023
7
7
---
8
8
9
9
<!--
@@ -19,7 +19,7 @@ First, prepare the Spring project to run locally.
19
19
20
20
### [Azure portal](#tab/Azure-portal)
21
21
22
-
Although you use the Azure portal in later steps, you must use the Bash command line to prepare the project locally. Use the following steps to clone and run the app locally. These steps use the
22
+
Although you use the Azure portal in later steps, you must use the Bash command line to prepare the project locally. Use the following steps to clone and run the app locally:
23
23
24
24
1. Use the following command to clone the sample project from GitHub:
25
25
@@ -46,8 +46,9 @@ Although you use the Azure portal in later steps, you must use the Bash command
46
46
47
47
Use the following steps to initialize the web application from the Azure Developer CLI templates:
48
48
49
-
1. Open a terminal, create a new empty folder, and then change directory to it.
50
-
2. Run the following command to initialize the project:
49
+
1. Open a terminal, create a new folder, and then change directory into it.
50
+
51
+
1. Use the following command to initialize the project:
@@ -65,7 +66,7 @@ Use the following steps to initialize the web application from the Azure Develop
65
66
(✓) Done: Initialized git repository
66
67
(✓) Done: Downloading template code to: <your-local-path>
67
68
68
-
Please enter a new environment name: <your-env-name>
69
+
Please enter a new environment name: <your-env-name>
69
70
70
71
SUCCESS: New project initialized!
71
72
You can view the template code in your directory: <your-local-path>
@@ -92,7 +93,7 @@ Use the following steps to create a service instance:
92
93
93
94
1. Select **Compute** > **Azure Spring Apps**.
94
95
95
-
:::image type="content" source="../../media/quickstart-deploy-web-app/create-service-instance.png" alt-text="Screenshot of the Azure portal showing the Create a resource page with Azure Spring Apps highlighted." lightbox="../../media/quickstart-deploy-web-app/create-service-instance.png":::
96
+
:::image type="content" source="../../media/quickstart-deploy-web-app/create-service-instance.png" alt-text="Screenshot of the Azure portal that shows the Create a resource page with Azure Spring Apps highlighted." lightbox="../../media/quickstart-deploy-web-app/create-service-instance.png":::
96
97
97
98
1. Fill out the **Basics** form with the following information:
98
99
@@ -105,13 +106,13 @@ Use the following steps to create a service instance:
105
106
|**Region**| The region closest to your users | The location that is closest to your users. |
106
107
|**Zone Redundant**| Unchecked | Whether to create your Azure Spring Apps service in an Azure availability zone. Currently, this feature is supported only in some regions. |
107
108
108
-
:::image type="content" source="../../media/quickstart-deploy-web-app/create-basics.png" alt-text="Screenshot of the Azure portal showing the Create Azure Spring Apps page." lightbox="../../media/quickstart-deploy-web-app/create-basics.png":::
109
+
:::image type="content" source="../../media/quickstart-deploy-web-app/create-basics.png" alt-text="Screenshot of the Azure portal that shows the Create Azure Spring Apps page." lightbox="../../media/quickstart-deploy-web-app/create-basics.png":::
109
110
110
111
1. Select **Review and Create** to review your selections. Select **Create** to provision the Azure Spring Apps instance.
111
112
112
113
1. On the toolbar, select the **Notifications** icon (a bell) to monitor the deployment process. Once the deployment is done, you can select **Pin to dashboard**, which creates a tile for this service on your Azure portal dashboard as a shortcut to the service's **Overview** page. Select **Go to resource** to open the service's **Overview** page.
113
114
114
-
:::image type="content" source="../../media/quickstart-deploy-web-app/notifications.png" alt-text="Screenshot of the Azure portal showing the Overview page with the Notifications pane open." lightbox="../../media/quickstart-deploy-web-app/notifications.png":::
115
+
:::image type="content" source="../../media/quickstart-deploy-web-app/notifications.png" alt-text="Screenshot of the Azure portal that shows the Overview page with the Notifications pane open." lightbox="../../media/quickstart-deploy-web-app/notifications.png":::
115
116
116
117
### 3.3. Prepare the PostgreSQL instance
117
118
@@ -127,13 +128,13 @@ Use the following steps to connect your service instances:
127
128
128
129
1. On the **Create App** page, fill in the app name and select *Java 17* as the runtime platform.
129
130
130
-
:::image type="content" source="../../media/quickstart-deploy-web-app/create-app.png" alt-text="Screenshot of the Azure portal showing the Create app pane." lightbox="../../media/quickstart-deploy-web-app/create-app.png":::
131
+
:::image type="content" source="../../media/quickstart-deploy-web-app/create-app.png" alt-text="Screenshot of the Azure portal that shows the Create app pane." lightbox="../../media/quickstart-deploy-web-app/create-app.png":::
131
132
132
133
1. Select **Create** to finish the app creation and select the app to view details.
133
134
134
135
1. Select **Service Connector** from the navigation pane to create a new service connection.
135
136
136
-
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector.png" alt-text="Screenshot of the Azure portal showing the Service Connector page with the Create button highlighted." lightbox="../../media/quickstart-deploy-web-app/app-service-connector.png":::
137
+
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector.png" alt-text="Screenshot of the Azure portal that shows the Service Connector page with the Create button highlighted." lightbox="../../media/quickstart-deploy-web-app/app-service-connector.png":::
137
138
138
139
1. Fill out the **Basics** tab with the following information:
139
140
@@ -144,7 +145,7 @@ Use the following steps to connect your service instances:
144
145
-**PostgreSQL database**: *todo*
145
146
-**Client type**: **SpringBoot**
146
147
147
-
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector-basics.png" alt-text="Screenshot of the Azure portal showing the Basics tab of the Create connection pane for connecting to PostgreSQL." lightbox="../../media/quickstart-deploy-web-app/app-service-connector-basics.png":::
148
+
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector-basics.png" alt-text="Screenshot of the Azure portal that shows the Basics tab of the Create connection pane for connecting to PostgreSQL." lightbox="../../media/quickstart-deploy-web-app/app-service-connector-basics.png":::
148
149
149
150
1. Configure the **Authentication** tab with the following information:
150
151
@@ -153,13 +154,13 @@ Use the following steps to connect your service instances:
153
154
-**Username**: *myadmin*
154
155
-**Password**: Enter your password.
155
156
156
-
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector-authentication.png" alt-text="Screenshot of the Azure portal showing the Authentication tab of the Create connection pane with the Connection string option highlighted." lightbox="../../media/quickstart-deploy-web-app/app-service-connector-authentication.png":::
157
+
:::image type="content" source="../../media/quickstart-deploy-web-app/app-service-connector-authentication.png" alt-text="Screenshot of the Azure portal that shows the Authentication tab of the Create connection pane with the Connection string option highlighted." lightbox="../../media/quickstart-deploy-web-app/app-service-connector-authentication.png":::
157
158
158
159
1. Select **Review and Create** to review your selections, then select **Create** to create the connection.
The following list describes the command interactions:
202
220
203
-
-**Select Maven child module**: Select the module to configure, then enter the number for the web module.
221
+
-**Select child modules to configure**: Select the module to configure, then enter the number of the *SimpleTodo Web* module.
204
222
-**OAuth2 login**: Authorize the login to Azure based on the OAuth2 protocol.
205
223
-**Select subscription**: Select the subscription list number of the Azure Spring Apps instance you created, which defaults to the first subscription in the list. If you use the default number, press <kbd>ENTER</kbd> directly.
206
224
-**Select Azure Spring Apps**: Select the number of the Azure Spring Apps instance you created. If you use the default number, press <kbd>ENTER</kbd> directly.
@@ -210,7 +228,7 @@ Use the following steps to deploy using the [Maven plugin for Azure Spring Apps]
Copy file name to clipboardExpand all lines: articles/spring-apps/includes/quickstart-deploy-web-app/provision-postgresql.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ author: KarlErickson
3
3
ms.author: xiada
4
4
ms.service: spring-apps
5
5
ms.topic: include
6
-
ms.date: 07/11/2023
6
+
ms.date: 08/31/2023
7
7
---
8
8
9
9
<!--
@@ -17,13 +17,9 @@ Use the following steps to create an Azure Database for PostgreSQL server:
17
17
18
18
1. In the Azure portal, select **Create a resource**.
19
19
20
-
1. Select **Databases** > **Azure Database for PostgreSQL**.
20
+
1. Select **Databases** > **Azure Database for PostgreSQL Flexible Server**.
21
21
22
-
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-server.png" alt-text="Screenshot of the Azure portal showing the Create a resource page with Azure Database for PostgreSQL highlighted." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-server.png":::
23
-
24
-
1. Select the **Flexible server** deployment option.
25
-
26
-
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-select-deployment-option.png" alt-text="Screenshot of the Azure portal showing the Select Azure Database for PostgreSQL deployment option page." lightbox="../../media/quickstart-deploy-web-app/postgresql-select-deployment-option.png":::
22
+
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-flexible-server.png" alt-text="Screenshot of the Azure portal that shows the Create a resource page with Azure Database for PostgreSQL highlighted." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-flexible-server.png":::
27
23
28
24
1. Fill out the **Basics** tab with the following information:
29
25
@@ -36,19 +32,19 @@ Use the following steps to create an Azure Database for PostgreSQL server:
36
32
-**Admin username**: *myadmin*
37
33
-**Password** and **Confirm password**: Enter a password.
38
34
39
-
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-server-basics.png" alt-text="Screenshot of the Azure portal showing the Server details page." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-server-basics.png":::
35
+
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-server-basics.png" alt-text="Screenshot of the Azure portal that shows the Server details page." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-server-basics.png":::
40
36
41
37
1. Configure the **Networking** tab using the following information:
42
38
43
39
-**Connectivity method**: **Public access (allowed IP addresses)**
44
40
-**Allow public access from any Azure service within Azure to this server**: selected
45
41
46
-
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-server-networking.png" alt-text="Screenshot of the Azure portal showing the Networking tab." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-server-networking.png":::
42
+
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-server-networking.png" alt-text="Screenshot of the Azure portal that shows the Networking tab." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-server-networking.png":::
47
43
48
44
1. Select **Review + create** to review your selections, then select **Create** to provision the server. This operation may take a few minutes.
49
45
50
46
1. Go to your PostgreSQL server in the Azure portal.
51
47
52
48
1. Select **Databases** from the navigation pane to create a database.
53
49
54
-
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-database.png" alt-text="Screenshot of the Azure portal showing the Databases page with the Create Database pane open." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-database.png":::
50
+
:::image type="content" source="../../media/quickstart-deploy-web-app/postgresql-create-database.png" alt-text="Screenshot of the Azure portal that shows the Databases page with the Create Database pane open." lightbox="../../media/quickstart-deploy-web-app/postgresql-create-database.png":::
0 commit comments