AWS WAF, AWS Firewall Manager, and AWS Shield Advanced
Developer Guide (API Version 2015-08-24)

Step 5: Configure Amazon CloudWatch Alarms

You can monitor your protected resources for potential DDoS activity using CloudWatch alarms. To create an alarm, you specify an Amazon SNS topic for your resources in each Region. AWS Shield Advanced configures the SNS topic in CloudWatch to send you an email that alerts you to potential DDoS activity.

Note

CloudWatch incurs additional costs. For CloudWatch pricing, see Amazon CloudWatch Pricing.

To create a CloudWatch alarm

  1. For each Region that is listed in the table, choose an existing Amazon SNS topic or create a different topic. To create an Amazon SNS topic, follow these steps:

    1. Choose Create new topic from the dropdown list.

    2. Enter a topic name.

    3. Enter an email address that the Amazon SNS messages will be sent to, and then choose Add email address.

    4. Choose Create topic.

    5. Repeat as necessary for each protection and each rate-based rule.

  2. Choose Create alarms.

By default, Shield Advanced configures CloudWatch to alert you after just one indicator of a potential DDoS event. If needed, you can use the CloudWatch console to change this setting to instead alert you only after multiple indicators are detected.

You can continue from this step without configuring CloudWatch alarms. However, doing so significantly reduces your visibility of possible DDoS events.

Note

In addition to the Amazon SNS notifications, you can also use a CloudWatch dashboard to monitor potential DDoS activity. The dashboard collects and processes raw data from Shield Advanced into readable, near real-time metrics. These statistics are recorded for a period of two weeks, so that you can access historical information and gain a better perspective on how your web application or service is performing. For more information, see What is CloudWatch in the Amazon CloudWatch User Guide.

For instructions for creating a CloudWatch dashboard, see Monitoring with Amazon CloudWatch. For information about specific Shield Advanced metrics that you can add to your dashboard, see Shield Advanced Metrics.

After you configure the CloudWatch alarms, we recommend that you follow the instructions in Step 6: Deploy AWS WAF Rules.