I have reached the limit of 50 rules per security group or have reached the limit of 5 security groups per network interface with Amazon Virtual Private Cloud (VPC). How can I increase it?

By default, each security group supports up to 50 rules and each network interface can have up to 5 security groups, for a maximum of 250 rules per interface. 

You can increase the number of rules per security group if you decrease the number of security groups per interface, ensuring that the total number of rules on an interface doesn't exceed 250.

Note: By default, you have 50 rules in the inbound direction and 50 rules in outbound direction per security group. A limit change to the number of rules per security group applies to both inbound and outbound rules.

For example:

  • 5 security groups per interface x 50 rules per security group = 250
  • 4 security groups per interface x 62 rules per security group = 248
  • 3 security groups per interface x 83 entries per security group = 249
  • 2 security groups per interface x 125 entries per security group = 250

If you need to increase or decrease the default limits, you can contact AWS Support. For more information, see Security Groups.


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2017-09-06