2

I have a large list of IPs I need to whitelist for a VPC instance. I've added as many ranges as possible to the security group until I ran out of available rules. I'm adding rules for HTTP and HTTPS for each range, and I'm still left with about 100 individual IPs that I need to whitelist.

AFAIU I can't increase the rule limit for the security group, is there any other way I can whitelist the remaining IPs?

5

Just put the additional rules in a second security group. Apply both groups to the instances - they're additive.

3
  • There seems to be a hard limit of around 250 eventually. "... the multiple of the limit for inbound or outbound rules per security group and the limit for security groups per network interface cannot exceed 250" – toppur Oct 6 '17 at 22:26
  • The max number of security groups per EC2-vpc is 5, so this solution doesn't go far enough. – Pgx Translational Jan 9 '18 at 19:36
  • 1
    You can ask and have that limit raised IIRC – dmourati Jan 9 '18 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.