AWS Autoscaling 组:监控更改
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 Event History 事件时间范围内与自动缩放相关的任何 API 事件。
具体来说,您可以查找 SetDesiredCapacity API 操作。
我发现一封来自 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 Event History 事件时间范围内与自动缩放相关的任何 API 事件。
具体来说,您可以查找 SetDesiredCapacity API 操作。