Solution Overview
Scenarios
This solution uses a FunctionGraph timer trigger to periodically start and stop Elastic Cloud Servers (ECSs). You can stop unused ECSs, and later start them when needed to reduce operations costs.
Solution Architecture
This solution uses Huawei Cloud FunctionGraph to periodically start and stop ECSs. This solution architecture is illustrated below.
This solution will:
- Create two functions in FunctionGraph to call the ECS APIs for periodically starting and stopping ECSs.
- Create a timer to periodically invoke the function code.
- Create an agency in IAM to delegate FunctionGraph to access ECS in the relevant region.
Advantages
This solution has the following advantages:
Constraints
- Before deploying this solution, ensure that you have an account with access to the target region and sufficient balance for purchasing the resources listed in Resource and Cost Planning.
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