← sources

How to work around security group/rules limits?

source: reddit (reddit:aws)published 2026-11-11 10:37ingested 2026-11-12 02:41

retained text

Hello Friends

We are planning to migrate some of our workloads to AWS EC2. One Service Running depends on a Server and we want to restrict access to this server granulary through Security Groups. 

Now we noted, that AWS seems to have a limit of 60 Rules per Security Group and 6 attached Security Groups per Network Interface. While this can be extended through a quota request, the product of attached Security Groups multiplied by the max rules must not exceed 1000. 

While i understand that more than 1000 granular connections can be an architectural nightmare, this is not completely impossible in our setup and is considered as a risk. 

Do you also expierience similar problems? How do you handle such cases?

Thx in advance & Best wishes

document fetched 2026-11-12 00:39 · canonical https://reddit.com/r/aws/comments/1xtejxq/how_to_work_around_security_grouprules_limits