1 個回答
- 最新
- 最多得票
- 最多評論
0
I don't think CF offers anything natively to handle dynamic creation of alarms for multiple instances. With the assumption that the EC2 instance scale up and down:
I would suggest using Event Bridge to notify when instances are created and trigger a Lambda function which would create the required cloudwatch alarms based on the event. The same process can be reversed when instances are scaling down. You can use SQS / SNS between Event Bridge and Lambda if you wish
--Syd
已回答 2 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
No EC2 instance scale up and down. All applications are hosted on EC2 instances.