Reputation: 1585
How can we monitor the system status check of all EC2 instances simultaneously rather than setting up cloudwatch alarm at each EC2 level individually?
If it's not possible via cloudwatch service, can it be done using boto3?
Upvotes: 1
Views: 1160
Reputation: 937
If you don't want to setup alarms individually, you can automate it, whenever you boot new instance, you can setup cloudwatch rule(when instance state changes from pending to online) to trigger a lambda function, in lambda function you can setup cloudwatch alarm for that instance, for already existing instances also you can setup the alarm with little modification of that script.
Upvotes: 1