Creating an IP set - Amazon WAF, Amazon Firewall Manager, and Amazon Shield Advanced
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Creating an IP set

Follow the procedure in this section to create a new IP set.


In addition to the procedure in this section, you have the option to add a new IP set when you add an IP match rule to your web ACL or rule group. Choosing that option requires you to provide the same settings as those required by this procedure.

To create an IP set
  1. Sign in to the Amazon Web Services Management Console and open the Amazon WAF console at

  2. In the navigation pane, choose IP sets and then Create IP set.

  3. Enter a name and description for the IP set. You'll use these to identify the set when you want to use it.


    You can't change the name after you create the IP set.

  4. For Region, choose Global (CloudFront) or choose the Region where you want to store the IP set. You can use regional IP sets only in web ACLs that protect regional resources. To use an IP set in web ACLs that protect Amazon CloudFront distributions, you must use Global (CloudFront).

  5. For IP version, select the version you want to use.

  6. In the IP addresses text box, enter one IP address or IP address range per line, in CIDR notation. Amazon WAF supports all IPv4 and IPv6 CIDR ranges except for /0. For more information about CIDR notation, see the Wikipedia article Classless Inter-Domain Routing.

    Here are some examples:

    • To specify the IPv4 address, type

    • To specify the IPv6 address 2620:0:2d0:200:0:0:0:0, type 2620:0:2d0:200:0:0:0:0/128.

    • To specify the range of IPv4 addresses from to, type

    • To specify the range of IPv6 addresses from 2620:0:2d0:200:0:0:0:0 to 2620:0:2d0:200:ffff:ffff:ffff:ffff, enter 2620:0:2d0:200::/64.

  7. Review the settings for the IP set, and choose Create IP set.