Monday, 20 January 2020

AWS CloudWatch Events

AWS CloudWatch Events  - Is useful for automation and to trigger for set of action by using metrics or scheduler cron job

Eg: If CPU utilization is more than 90% of metrics then using Events we can trigger certain task like auto scaling so on.
or EG if snapshot is triggered in EC2 instance send SNS or we can add any actions.

Console > CloudWatch > Events > Rules


Now selecting EC2 >

Select the event type for EC2(Snapshot notification)

 
select the target action after the EC2 snapshot > We can add multiple executions >Add target > configure > Create


Testing : https://oracletechdba.blogspot.com/2020/01/aws-cloudwatch-events-testing.html


No comments: