Instance Lifecycle
An ECS instance in an AS group goes through different statues from its creation to its removal.
Status |
Sub-status |
Status Description |
Trigger Condition |
---|---|---|---|
Initial |
None |
The instance has not been added to the AS group. |
The instance status will be changed to Adding to AS group when any of the following conditions is met:
|
Adding to AS group |
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 |
None |
The instance is added to the AS group and starts to process service traffic. |
The instance status is changed from Enabled to Removing from AS group when any of the following conditions is met:
|
Removing from AS group |
(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 instances are unbound from the load balancing listener, they are removed from the AS group. |
||
Removed |
None |
The instance lifecycle in the AS group ends. |
None |
When an ECS instance is added to an AS group manually or through a scaling action, it goes through the Adding to AS group, Enabled, and Removing from AS group statuses. Then it is finally removed from the AS group.
Status |
Sub-status |
Status Description |
Trigger Description |
---|---|---|---|
Initial |
None |
The instance has not been added to the AS group. |
The instance status is changed to Adding to AS group when any of the following occurs:
|
Adding to AS group |
Add an instance. |
When trigger condition 1 is met, AS adds the instance to expand the AS group capacity. |
|
Wait (Adding to AS group) |
None |
The lifecycle hook suspends the instance that is being added to the AS group and puts the instance into waiting state. |
The instance status is changed from Wait (Adding to AS group) to Adding to AS group when either of the following operations is performed:
|
Adding to AS group |
(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 |
None |
The instance is added to the AS group and starts to process service traffic. |
The instance status is changed from Enabled to Removing from AS group when any of the following occurs:
|
Removing from AS group |
(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. |
|
Wait (Removing from AS group) |
None |
The lifecycle hook suspends the instance that is being removed from the AS group and sets the instance to be in waiting state. |
The instance status is changed from Wait (Removing from AS group) to Removing from AS group when either of the following occurs:
|
Removing from AS group |
Remove the instance. |
When trigger condition 7 is met, AS removes the instance from the AS group. |
|
Removed |
None |
The instance lifecycle in the AS group ends. |
None |
Instances are added to an AS group manually or through a scaling action. Then, they go through the Adding to AS group, Wait (Adding to AS group), Adding to AS group, Enabled, Removing from AS group, Wait (Removing from the AS group), and Removing from AS group 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.