PureDevOps Community

Aws ec2 maximum Number of SG per EC2

How many maximum number of security group we can attach per EC2

Hi Saran,

The maximum number of security group for EC2 instance is depends on your EC2 Instance type.

Assume, you have an instance running in c4.large instance type and its maximum network interface allowed is 3.
5 security group can be attach to 1 network interface. So, you can attach 15 security group to your c4.large instance.

You can increase the limits by requesting AWS support.

Rgds,
Vignesh

1 Like