Amazon VPC quotas - Amazon Virtual Private Cloud

Amazon VPC quotas

The following tables list the quotas, formerly referred to as limits, for Amazon VPC resources per Region for your AWS account. Unless indicated otherwise, you can request an increase for these quotas. For some of these quotas, you can view your current quota using the Limits page of the Amazon EC2 console.

If you request a quota increase that applies per resource, we increase the quota for all resources in the Region.

VPC and subnets

Name Default Adjustable Comments
VPCs per Region 5 Yes

Increasing this quota increases the quota on internet gateways per Region by the same amount.

You can increase this limit so that you can have 100s of VPCs per Region.

Subnets per VPC 200 Yes
IPv4 CIDR blocks per VPC 5 Yes

(up to 50)

This primary CIDR block and all secondary CIDR blocks count toward this quota.
IPv6 CIDR blocks per VPC 1 No

DNS

Each EC2 instance limits the number of packets that can be sent to the Amazon Route 53 Resolver (specifically the .2 address, such as 10.0.0.2, and 169.254.169.253) to a maximum of 1024 packets per second per network interface. This quota cannot be increased. The number of DNS queries per second supported by the Amazon Route 53 Resolver varies by the type of query, the size of response, and the protocol in use. For more information and recommendations for a scalable DNS architecture, see the Hybrid Cloud DNS Solutions for Amazon VPC whitepaper.

Elastic IP addresses (IPv4)

Name Default Adjustable Comments
Elastic IP addresses per Region 5 Yes This quota applies to individual AWS account VPCs and shared VPCs.

Gateways

Name Default Adjustable Comments
Egress-only internet gateways per Region 5 Yes To increase this quota, increase the quota on VPCs per Region.

You can attach only one egress-only internet gateway to a VPC at a time.

Internet gateways per Region 5 Yes To increase this quota, increase the quota on VPCs per Region.

You can attach only one internet gateway to a VPC at a time.

NAT gateways per Availability Zone 5 Yes NAT gateways count toward your quota in the pending, active, or deleting state.
Carrier gateways per VPC 1 No

Customer-managed prefix lists

Name Default Comments
Prefix lists per Region 100
Versions per prefix list 1,000 If a prefix list has 1,000 stored versions and you add a new version, the oldest version is removed so that the new version can be added.
Maximum number of entries per prefix list 1,000 When you reference a prefix list in a resource, the maximum number of entries for the prefix lists counts against the quota for the number of entries for the resource. For example, if you create a prefix list with 20 maximum entries and you reference that prefix list in a security group rule, this counts as 20 security group rules.
References to a prefix list per resource type 5,000 This quota applies per resource type that can reference a prefix list. For example, you can have 5,000 references to a prefix list across all of your security groups plus 5,000 references to a prefix list across all of your subnet route tables. If you share a prefix list with other AWS accounts, the other accounts' references to your prefix list count toward this quota.

Network ACLs

Name Default Adjustable Comments
Network ACLs per VPC 200 Yes You can associate one network ACL to one or more subnets in a VPC.
Rules per network ACL 20 Yes This is the one-way quota for a single network ACL. This quota is enforced separately for IPv4 rules and IPv6 rules; for example, you can have 20 ingress rules for IPv4 traffic and 20 ingress rules for IPv6 traffic. This quota includes the default deny rules (rule number 32767 for IPv4 and 32768 for IPv6, or an asterisk * in the Amazon VPC console).

This quota can be increased up to a maximum of 40; however, network performance might be impacted due to the increased workload to process the additional rules.

Network interfaces

Name Default Adjustable Comments
Network interfaces per instance Varies by instance type No For more information, see Network interfaces per instance type.
Network interfaces per Region 5,000 Yes This quota applies to individual AWS account VPCs and shared VPCs.

Route tables

Name Default Adjustable Comments
Route tables per VPC 200 Yes The main route table counts toward this quota.
Routes per route table (non-propagated routes) 50 Yes You can increase this quota up to a maximum of 1,000; however, network performance might be impacted. This quota is enforced separately for IPv4 routes and IPv6 routes.

If you have more than 125 routes, we recommend that you paginate calls to describe your route tables for better performance.

BGP advertised routes per route table (propagated routes) 100 No If you require additional prefixes, advertise a default route.

Security groups

Name Default Adjustable Comments
VPC security groups per Region 2,500 Yes This quota applies to individual AWS account VPCs and shared VPCs.

If you increase this quota to more than 5,000 security groups in a Region, we recommend that you paginate calls to describe your security groups for better performance.

Inbound or outbound rules per security group 60 Yes You can have 60 inbound and 60 outbound rules per security group (making a total of 120 rules). This quota is enforced separately for IPv4 rules and IPv6 rules; for example, a security group can have 60 inbound rules for IPv4 traffic and 60 inbound rules for IPv6 traffic.

A quota change applies to both inbound and outbound rules. This quota multiplied by the quota for security groups per network interface cannot exceed 1,000. For example, if you increase this quota to 100, we decrease the quota for your number of security groups per network interface to 10.

Security groups per network interface 5 Yes

(up to 16)

This quota is enforced separately for IPv4 rules and IPv6 rules. The quota for security groups per network interface multiplied by the quota for rules per security group cannot exceed 1,000. For example, if you increase this quota to 10, we decrease the quota for your number of rules per security group to 100.

VPC peering connections

Name Default Adjustable Comments
Active VPC peering connections per VPC 50 Yes

(up to 125)

If you increase this quota, you should increase the number of entries per route table accordingly.

Outstanding VPC peering connection requests 25 Yes This is the number of outstanding VPC peering connection requests made from your account.
Expiry time for an unaccepted VPC peering connection request 1 week (168 hours) No

VPC endpoints

Name Default Adjustable Comments
Gateway VPC endpoints per Region 20 Yes You can't have more than 255 gateway endpoints per VPC.
Interface and Gateway Load Balancer endpoints per VPC 50 Yes This is the combined quota for the maximum number of interface endpoints and Gateway Load Balancer endpoints in a VPC. To increase this quota, contact AWS Support.

VPC endpoint policy size

20,480 characters No This quota includes white space.

The following maximum transmission unit (MTU) rules apply to traffic that passes through a VPC endpoint.

  • The maximum transmission unit (MTU) of a network connection is the size, in bytes, of the largest permissible packet that can be passed through the VPC endpoint. The larger the MTU, the more data that can be passed in a single packet. A VPC endpoint supports an MTU of 8500 bytes.

  • Packets with a size larger than 8500 bytes that arrive at the VPC endpoint are dropped.

  • The VPC endpoint does not generate the FRAG_NEEDEDICMP packet, so Path MTU Discovery (PMTUD) is not supported.

  • The VPC endpoint enforces Maximum Segment Size (MSS) clamping for all packets. For more information, see RFC879.

VPC sharing

All standard VPC quotas apply to a shared VPC.

To increase these quota, contact AWS Support. AWS recommends that you paginate your DescribeSecurityGroups and DescribeSubnets API calls before requesting an increase.

Name Default Adjustable Comments
Participant accounts per VPC 100 Yes This is the number of distinct participant accounts that subnets in a VPC can be shared with. This is a per VPC quota and applies across all the subnets shared in a VPC. To increase this quota, contact AWS Support.

VPC owners can view the network interfaces and security groups that are attached to the participant resources.

Subnets that can be shared with an account 100 Yes This is the maximum number of subnets that can be shared with an AWS account.

Amazon EC2 API throttling

For information about Amazon EC2 throttling, see API Request Throttling in the Amazon EC2 API Reference.

Additional quota resources

For more information, see the following: