Today I will explain how to use Amazon Simple Notification Service (Amazon SNS) in conjunction with Amazon CloudWatch. Or rather, the options for setting up notifications for standard and custom metrics will be considered. For those who hear about these services for the first time, Amazon CloudWatch is used to monitor certain server status parameters, and Amazon Simple Notification Service to send notifications.
Notifications for standard metrics. Open the server settings in the aws console for which you want to receive notifications. Go to the monitoring tab and click "Create Alarm". ')
In the opened window click “Create topic”.
Specify the name of the distribution and addresses of recipients. Select the metric, specify the threshold and click "Create Alarm".
Notifications for your own metrics. On creating your own metrics can be found here . After the metric has been created and the first data on it has been received, open the “CustomMetric” menu in the CloudWatch Management Console and click "Create Alarm".
Specify the name of the alert, the threshold and time of the test.
Specify the action when a "Send Notification" is triggered, select "Create new emal topic". Specify the name of the distribution and addresses of recipients.
So, everything is configured quickly and simply. I hope this information is useful to users using AWS Amazon. If you have questions - write, I will answer if possible.