Editing Amazon Shield Advanced protections
You can change the settings for your Amazon Shield Advanced protections at any time. To do this, walk through the options for your selected protections and modify the settings that you need to change.
To manage protected resources
Sign in to the Amazon Web Services Management Console and open the Amazon WAF & Shield console at https://console.amazonaws.cn/wafv2/
. -
In the Amazon Shield navigation pane, choose Protected resources.
-
In the Protections tab, select the resources that you want to protect.
-
Choose Configure protections and the resource specification option that you want.
-
Walk through each of the resource protection options, making changes as needed.
Configure application layer DDoS protections
For protection against attacks on Amazon CloudFront and Application Load Balancer resources, you can add Amazon WAF web ACLs and add rate-based rules. For information about this, see Protecting the application layer with Amazon WAF web ACLs and Shield Advanced.
You can also enable the Shield Advanced automatic application layer DDoS mitigation. For information about how Amazon WAF works, see Amazon WAF. For information about the automatic mitigation feature, see Automating application layer DDoS mitigation with Shield Advanced .
Important
If you manage your Shield Advanced protections through Amazon Firewall Manager using a Shield Advanced policy, you can't manage the application layer protections here. For all other resources, we recommend that, at a minimum, you attach a web ACL to each resource, even if web ACL doesn't contain any rules.
Note
When you enable automatic application layer DDoS mitigation for a resource, if needed, the operation automatically adds a service-linked role to your account to give Shield Advanced the permissions it needs to manage your web ACL protections. For information, see Using service-linked roles for Shield Advanced.
To configure application layer DDoS protections
-
In the Configure layer 7 DDoS protections page, if the resource isn't already associated with a web ACL, you can choose an existing web ACL or create your own.
To create a web ACL, follow these steps:
-
Choose Create web ACL.
-
Enter a name. You can't change the name after you create the web ACL.
-
Choose Create.
Note
If a resource is already associated with a web ACL, you can't change to a different web ACL. If you want to change the web ACL, you must first remove the associated web ACLs from the resource. For more information, see Associating or disassociating a web ACL with an Amazon resource.
-
-
If the web ACL doesn't have a rate-based rule defined, you can add one by choosing Add rate limit rule and then performing the following steps:
-
Enter a name.
-
Enter a rate limit. This is the maximum number of requests allowed in any five minute period from any single IP address before the rate-based rule action is applied to the IP address. When the requests from the IP address fall below the limit, the action is discontinued.
-
Set the rule action to count or block requests from IP addresses while their request counts are over the limit. The application and removal of the rule action might take effect a minute or two after the IP address request rate changes.
-
Choose Add rule.
-
-
For Automatic application layer DDoS mitigation, choose whether you want Shield Advanced to automatically mitigate DDoS attacks on your behalf, as follows:
-
To enable automatic mitigation, choose Enable and then select the Amazon WAF rule action that you want Shield Advanced to use in its custom rules. Your choices are Count and Block. For information about these Amazon WAF rule actions, see Using rule actions in Amazon WAF. For information about how Shield Advanced manages this action setting, see How Shield Advanced manages the rule action setting.
-
To disable automatic mitigation, choose Disable.
-
To leave the automatic mitigation settings unchanged for the resources that you're managing, leave the default choice Keep current settings.
For information about Shield Advanced automatic application layer DDoS mitigation, see Automating application layer DDoS mitigation with Shield Advanced .
-
-
Choose Next.