Add Aliyun SDK dependencies and implement TTL configuration for ECS instances
- Added new dependencies for Aliyun ECS SDK in requirements.txt and setup.py to support instance management features. - Introduced a new config module to handle TTL settings for ECS instances, allowing for auto-termination based on environment variables. - Updated the manager to utilize TTL settings, including scheduling instance termination with proper error handling and logging. - Maintained existing code logic while enhancing functionality for improved instance lifecycle management.
This commit is contained in:
@@ -65,3 +65,6 @@ loguru
|
||||
dotenv
|
||||
tldextract
|
||||
anthropic
|
||||
alibabacloud_ecs20140526
|
||||
alibabacloud_tea_openapi
|
||||
alibabacloud_tea_util
|
||||
|
||||
Reference in New Issue
Block a user