Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Reduce the number of maximum IPv6 addresses per interface
Browse files Browse the repository at this point in the history
Based on the feedback from Amazon, the number of maximum number
of IPv6 addresses supported per VPC is severely below what we
originally thought.
  • Loading branch information
sargun committed Aug 30, 2018
1 parent dc724b5 commit 3374d86
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions vpc/limits.go
Expand Up @@ -18,175 +18,175 @@ var interfaceLimits = map[string]map[string]limits{
"large": limits{
interfaces: 2,
ipAddressesPerInterface: 10,
ip6AddressesPerInterface: 10,
ip6AddressesPerInterface: 2,
networkThroughput: 100,
},
"xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"2xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"4xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 2000,
},
"10xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
// Is this number correct?
networkThroughput: 10000,
},
"16xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 23000,
},
},
"m5": {
"large": limits{
interfaces: 3,
ipAddressesPerInterface: 10,
ip6AddressesPerInterface: 10,
ip6AddressesPerInterface: 2,
networkThroughput: 100,
},
"xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"2xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"4xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 2000,
},
"12xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
// Is this number correct?
networkThroughput: 10000,
},
"24xlarge": limits{
interfaces: 15,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 50,
ip6AddressesPerInterface: 2,
networkThroughput: 23000,
},
},
"r4": {
"large": limits{
interfaces: 3,
ipAddressesPerInterface: 10,
ip6AddressesPerInterface: 10,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 1000,
},
"2xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 2000,
},
"4xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 4000,
},
"8xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 9000,
},
"16xlarge": limits{
interfaces: 15,
ipAddressesPerInterface: 24,
ip6AddressesPerInterface: 24,
ip6AddressesPerInterface: 2,
networkThroughput: 23000,
},
},
"p2": {
"xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
// Maybe?
networkThroughput: 2000,
},
"8xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 6000,
},
"16xlarge": limits{
interfaces: 8,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 20000,
},
},
"c5": {
"large": limits{
interfaces: 3,
ipAddressesPerInterface: 10,
ip6AddressesPerInterface: 10,
ip6AddressesPerInterface: 2,
// Maybe?
networkThroughput: 1000,
},
"xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 2000,
},
"2xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 15,
ip6AddressesPerInterface: 15,
ip6AddressesPerInterface: 2,
networkThroughput: 2000,
},
"4xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 4000,
},
"9xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 30,
ip6AddressesPerInterface: 30,
ip6AddressesPerInterface: 2,
networkThroughput: 10000,
},
"18xlarge": limits{
interfaces: 4,
ipAddressesPerInterface: 50,
ip6AddressesPerInterface: 50,
ip6AddressesPerInterface: 2,
networkThroughput: 23000,
},
},
Expand Down

0 comments on commit 3374d86

Please sign in to comment.