Help Center>
FunctionGraph>
Best Practices>
Gracefully Shutting Down ECSs Using FunctionGraph and AS>
Introduction
Updated on 2023-08-18 GMT+08:00
Introduction
In Auto Scaling (AS), instance scale-in means that instances in an AS group are first shut down, and then removed and deleted after you clear the data in these instances. This is also called "graceful shutdown".
Scenario
- Configure a message notification to forward AS scale-in events to SMN.
- Use FunctionGraph to receive scale-in messages forwarded by SMN and obtain instance information through a customized function.
- Call the ECS service to shut down scaled-in instances. Five seconds (or a custom period) after the shutdown, call the AS service to delete the instances.
Figure 1 Graceful shutdown in AS
Parent topic: Gracefully Shutting Down ECSs Using FunctionGraph and AS
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot