[英]AWS Autoscaling Group : Monitoring changes
我發現來自 AWS 的通知郵件,我的自動縮放組的所需容量已從 2 更改為 1。
有什么辦法可以查出是誰做出了這個改變? 我需要檢查任何日志還是需要使用任何其他 AWS 服務來查找此類信息?
部分留言如下:
Description: Terminating EC2 instance: i-xxxxxxxx
Cause: At 2021-02-01T03:08:59Z a user request update of AutoScalingGroup constraints to min: 1, max: 2, desired: 1 changing the desired capacity from 2 to 1. At 2021-02-01T03:09:01Z an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 2 to 1. At 2021-02-01T03:09:01Z instance i-xxxxxxx
您可以檢查CloudTrail 事件歷史記錄以查找與事件時間范圍內的自動縮放相關的任何 API 事件。
具體來說,您可以查找SetDesiredCapacity API 操作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.