Reserved CIDR range in a Subnet

0

Customer wants to reserve a CIDR range from the CIDR of a subnet. They want to keep the CIDR for private use, and the IPs in the CIDR can't be auto assigned when running instances with auto assigned private IPs.

An example, there is a subnet with CIDR 10.85.0.0/18, the customer wants keep 10.85.1.0/24 for other use, that means when running run-instances in this subnet, the EC2 instances shouldn't auto get a private IP from the reserved CIDR 10.85.1.0/24.

Do we have this feature or workaround for this requirement?

1 Antwort
0
Akzeptierte Antwort

Although it's a little ugly, one option would be to create ENIs with specific IP addresses that should be in their reserved range. They can automate this using the "create-network-interface" EC2 API so it wouldn't be difficult. They should tag the ENIs that are "holding" IP addresses so that it is obvious what they are doing.

profile pictureAWS
EXPERTE
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen