|
| 1 | +--- |
| 2 | +title: Understanding app status in Azure Spring Cloud |
| 3 | +description: Learn the app status categories in Azure Spring Cloud |
| 4 | +author: MikeDodaro |
| 5 | +ms.service: spring-cloud |
| 6 | +ms.topic: conceptual |
| 7 | +ms.date: 04/10/2020 |
| 8 | +ms.author: brendm |
| 9 | + |
| 10 | +--- |
| 11 | + |
| 12 | +# Understanding app status in Azure Spring Cloud |
| 13 | + |
| 14 | +The Azure Spring Cloud UI delivers information about the status of running applications. There is an **Apps** option for each resource group in a subscription that displays general status of application types. For each application type, there is display of **Application instances**. |
| 15 | + |
| 16 | +## Apps status |
| 17 | +To view general status of an application type, select **Apps** in the left navigation pane of a resource group. The result displays the status of the deployed app: |
| 18 | + |
| 19 | +* **Provisioning Status** shows the deployment’s provisioning state |
| 20 | +* **Running instance** shows how many app instances are running/how many app instances are desired. If the app should be stopped, this column shows *stopped*. |
| 21 | +* **Registered Instance** shows how many app instances are registered to eureka/how many app instance are desired. If the app should be stopped, this column shows *stopped*. |
| 22 | + |
| 23 | + |
| 24 | +  |
| 25 | + |
| 26 | +**The deployment status is reported as one of the following values:** |
| 27 | + |
| 28 | +| Enum | Definition | |
| 29 | +|:--:|:----------------:| |
| 30 | +| Running | The deployment SHOULD be running. | |
| 31 | +| Stopped | The deployment SHOULD be stopped. | |
| 32 | + |
| 33 | +**The provisioning state is accessible only from the CLI. It is reported as one of the following values:** |
| 34 | + |
| 35 | +| Enum | Definition | |
| 36 | +|:--:|:----------------:| |
| 37 | +| Creating | The resource is creating. | |
| 38 | +| Updating | The resource is updating. | |
| 39 | +| Succeeded | Successfully supplied resources and deploys the binary. | |
| 40 | +| Failed | Failed to achieve the *Succeeded* goal. | |
| 41 | +| Deleting | The resource is being deleted. This prevents operation, and the resource is not available in this status. | |
| 42 | + |
| 43 | +## App instances status |
| 44 | + |
| 45 | +To view the status of a specific instance of a deployed app, click the **Name** of the app in the **Apps** UI. The results will display: |
| 46 | +* **Status**: Whether the instance is running or its state |
| 47 | +* **DiscoveryStatus**: The registered status of the app instance in Eureka server |
| 48 | + |
| 49 | +  |
| 50 | + |
| 51 | +**The instance status is reported as one of the following values:** |
| 52 | + |
| 53 | +| Enum | Definition | |
| 54 | +|:--:|:----------------:| |
| 55 | +| Starting | The binary is successfully deployed to the given instance. Instance booting the jar file may fail because jar cannot run properly. | |
| 56 | +| Running | The instance works. | |
| 57 | +| Failed | The app instance failed to start user’s binary after several retries. | |
| 58 | +| Terminating | The app instance is shutting down. | |
| 59 | + |
| 60 | +**The discovery status of the instance is reported as one of the following values:** |
| 61 | + |
| 62 | +| Enum | Definition | |
| 63 | +|:--:|:----------------:| |
| 64 | +| UP | The app instance is registered to eureka and ready to receive traffic | |
| 65 | +| OUT_OF_SERVICE | The app instance is registered to Eureka and able to receive traffic. but shuts down for traffic intentionally. | |
| 66 | +| DOWN | The app instance is not registered to Eureka or is registered but not able to receive traffic. | |
| 67 | + |
| 68 | + |
| 69 | +## See also |
| 70 | +* [Prepare a Java Spring application for deployment in Azure Spring Cloud](spring-cloud-tutorial-prepare-app-deployment.md) |
0 commit comments