今天寫的一個 AWS Lambda 工具,在 Autoscaling 主機縮容時,先去跟 CloudWatch 核實被縮容的主機是否處於一個低 CPU 使用率的狀態,根據回答是否,決定允許縮容或延期。
利用服務:AWS AutoScaling Lifecycle Hook / SQS / CloudWatch Events
https://github.com/richardevs/aws-autoscaling-termination-checker
白翼的服務器運維博客
今天寫的一個 AWS Lambda 工具,在 Autoscaling 主機縮容時,先去跟 CloudWatch 核實被縮容的主機是否處於一個低 CPU 使用率的狀態,根據回答是否,決定允許縮容或延期。
利用服務:AWS AutoScaling Lifecycle Hook / SQS / CloudWatch Events
https://github.com/richardevs/aws-autoscaling-termination-checker