Solution Overview
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.
Scheduled ECS Startup/Shutdown
Version: 1.0.3
Last Updated: September 2023
Built By: Huawei Cloud
Time Required for Deployment: About 5 minutes
Time Required for Uninstallation: About 5 minutes
Solution Description
This solution will:
1. Create two functions in FunctionGraph to call the ECS APIs for periodically starting and stopping ECSs.
2. Create a timer to periodically invoke the function code.
3. Create an agency in Identity and Access Management (IAM) to delegate FunctionGraph to access ECS in the relevant region.
Solution Description
This solution will:
1. Create two functions in FunctionGraph to call the ECS APIs for periodically starting and stopping ECSs.
2. Create a timer to periodically invoke the function code.
3. Create an agency in Identity and Access Management (IAM) to delegate FunctionGraph to access ECS in the relevant region.