Skip to content

Commit 5b8a165

Browse files
authored
remove service binding
1 parent e891650 commit 5b8a165

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

articles/spring-apps/how-to-bind-redis.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85,26 +85,6 @@ If you don't have a deployed Azure Spring Apps instance, follow the steps in the
8585

8686
1. Once the connection between your Spring app your Redis database has been generated, you can see it in the Service Connector page and select the unfold button to view the configured connection variables.
8787

88-
### [Service Binding](#tab/Service-Binding)
89-
90-
> [!NOTE]
91-
> We recommend using Service Connector instead of Service Binding to connect your app to your database. Service Binding is going to be deprecated in favor of Service Connector. For instructions, see the Service Connector tab.
92-
93-
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.
94-
95-
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.
96-
97-
1. Restart the app. The binding should now work.
98-
99-
1. To ensure the service binding is correct, select the binding name and verify its details. The `property` field should look like this:
100-
101-
```properties
102-
spring.redis.host=some-redis.redis.cache.windows.net
103-
spring.redis.port=6380
104-
spring.redis.password=abc******
105-
spring.redis.ssl=true
106-
```
107-
10888
### [Terraform](#tab/Terraform)
10989

11090
The following Terraform script shows how to set up an Azure Spring Apps app with Azure Cache for Redis.

0 commit comments

Comments
 (0)