Quickstart: Enable and disable Eureka Server in Azure Spring Apps
This article applies to: ✔️ Standard consumption and dedicated (Preview) ❌ Basic/Standard ❌ Enterprise
This article describes how to enable and disable Eureka Server for service registration and discovery in Azure Spring Apps. Service registration and discovery are key requirements for maintaining a list of live app instances to call, and for routing and load balancing inbound requests. Configuring each client manually takes time and introduces the possibility of human error.
Prerequisites
- An Azure subscription. If you don't have a subscription, create a free account before you begin.
- Azure CLI. Use the following command to install the Azure Spring Apps extension:
az extension add --name spring
. - Git.
- The completion of Quickstart: Provision an Azure Spring Apps Standard consumption and dedicated plan service instance.
Enable the Eureka Server
Use the following command to enable Eureka server:
az spring eureka-server enable \
--resource-group <resource-group-name> \
--name <Azure-Spring-Apps-instance-name>
Disable the Eureka Server
Use the following command to disable Eureka server:
az spring eureka-server disable
--resource-group <resource-group-name> \
--name <Azure-Spring-Apps-instance-name>
Next steps
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για