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
Instead of manually configuring your Spring Boot applications, you can automatically bind select Azure services to your applications by using Azure Spring Apps. This article demonstrates how to bind your application to an Azure Cosmos DB database.
22
22
23
-
Prerequisites:
23
+
## Prerequisites
24
24
25
-
* A deployed Azure Spring Apps instance. Follow our [quickstart on deploying via the Azure CLI](./quickstart.md) to get started.
26
-
* An Azure Cosmos DB account with a minimum permission level of Contributor.
25
+
* A deployed Azure Spring Apps instance.
26
+
* An Azure Cache for Redis service instance.
27
+
* The Azure Spring Apps extension for the Azure CLI.
28
+
29
+
If you don't have a deployed Azure Spring Apps instance, follow the steps in the [Quickstart: Deploy your first application to Azure Spring Apps](./quickstart.md).
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-bind-mysql.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ With Azure Spring Apps, you can bind select Azure services to your applications
26
26
* An Azure Database for MySQL account
27
27
* Azure CLI
28
28
29
-
If you don't have a deployed Azure Spring Apps instance, follow the instructions in [Quickstart: Launch an application in Azure Spring Apps by using the Azure portal](./quickstart.md) to deploy your first Spring app.
29
+
If you don't have a deployed Azure Spring Apps instance, follow the instructions in [Quickstart: Deploy your first application to Azure Spring Apps](./quickstart.md) to deploy your first Spring app.
30
30
31
31
## Prepare your Java project
32
32
@@ -46,6 +46,7 @@ If you don't have a deployed Azure Spring Apps instance, follow the instructions
46
46
## Bind your app to the Azure Database for MySQL instance
47
47
48
48
#### [Service Binding](#tab/Service-Binding)
49
+
49
50
1. Note the admin username and password of your Azure Database for MySQL account.
50
51
51
52
1. Connect to the server, create a database named **testdb** from a MySQL client, and then create a new non-admin account.
Copy file name to clipboardExpand all lines: articles/spring-apps/how-to-bind-redis.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Instead of manually configuring your Spring Boot applications, you can automatic
26
26
* An Azure Cache for Redis service instance
27
27
* The Azure Spring Apps extension for the Azure CLI
28
28
29
-
If you don't have a deployed Azure Spring Apps instance, follow the steps in the [quickstart on deploying an Azure Spring Apps app](./quickstart.md).
29
+
If you don't have a deployed Azure Spring Apps instance, follow the steps in the [Quickstart: Deploy your first application to Azure Spring Apps](./quickstart.md).
30
30
31
31
## Prepare your Java project
32
32
@@ -46,6 +46,7 @@ If you don't have a deployed Azure Spring Apps instance, follow the steps in the
46
46
## Bind your app to the Azure Cache for Redis
47
47
48
48
#### [Service Binding](#tab/Service-Binding)
49
+
49
50
1. Go to your Azure Spring Apps service page in the Azure portal. Go to **Application Dashboard** and select the application to bind to Azure Cache for Redis. This application is the same one you updated or deployed in the previous step.
50
51
51
52
1. Select **Service binding** and select **Create service binding**. Fill out the form, being sure to select the **Binding type** value **Azure Cache for Redis**, your Azure Cache for Redis server, and the **Primary** key option.
0 commit comments