Instance Lifecycle
An ECS instance in an AS group goes through different statuses from its creation to its removal.
Status |
Action |
Description |
Trigger Condition |
---|---|---|---|
Initial |
- |
The instance has not been added to the AS group. |
The instance status changes to Adding when any of the following conditions occurs:
|
Adding |
Add the instance. |
When trigger condition 1 is met, AS adds the instance to expand the AS group capacity. |
|
(Optional) Associate the instance with a load balancing listener. |
When trigger condition 1 is met, AS associates the created instance with the load balancing listener. |
||
Enabled |
- |
The instance is added to the AS group and starts to process service traffic. |
The instance status changes from Enabled to Removing when any of the following conditions is met:
|
Removing |
(Optional) Disassociate the instance from the load balancing listener. |
When trigger condition 3 is met, the AS group starts to reduce resources and disassociate the instance from the load balancing listener. |
|
Remove the instance. |
After the instance is unbound from the load balancing listener, it is removed from the AS group. |
||
Removed |
- |
The instance lifecycle in the AS group ends. |
- |
When an ECS instance is added to an AS group manually or through a scaling action, it goes through the Adding, Enabled, and Removing statuses. Then it is finally removed from the AS group.
Status |
Action |
Description |
Trigger Condition |
---|---|---|---|
Initial |
- |
The instance has not been added to the AS group. |
The instance status changes to Adding when any of the following conditions occurs:
|
Adding |
Add the instance. |
When trigger condition 1 is met, AS adds the instance to expand the AS group capacity. |
|
Pending addition |
- |
The lifecycle hook suspends the instance that is being added to the AS group and puts the instance into a wait status. |
The instance status changes from Pending addition to Adding when either of the following conditions occurs:
For details, see Managing Lifecycle Hooks. |
Adding |
(Optional) Associate the instance with a load balancing listener. |
When trigger condition 3 is met, AS associates the instance with the load balancing listener. |
|
Enabled |
- |
The instance is added to the AS group and starts to process service traffic. |
The instance status changes from Enabled to Removing when any of the following conditions occurs:
|
Removing |
(Optional) Disassociate the instance from the load balancing listener. |
When trigger condition 5 is met, the AS group starts to reduce resources and disassociate the instance from the load balancing listener. |
|
Pending removal |
- |
The lifecycle hook suspends the instance that is being removed from the AS group and puts the instance into a wait status. |
The instance status changes from Pending removal to Removing when either of the following conditions occurs:
For details, see Managing Lifecycle Hooks. |
Removing |
Remove the instance. |
When trigger condition 7 is met, AS removes the instance from the AS group. |
|
Removed |
- |
The instance lifecycle in the AS group ends. |
- |
Instances are added to an AS group manually or automatically. Then, they go through statues Adding, Pending addition, Adding, Enabled, Removing, Pending removal, and Removing and are finally removed from the AS group.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot