Skip to content

Is the unique IP address required for VPC endpoint to connect with resources in other VPCs?

0

Hi Everyone I'm trying to setup VPC endpoints and private subnet, and I have the following questions while designing CIDR of Subnet. When VPC endpoint is used to connect with several resources (ec2, RDS, Redshift etc) in the other VPCs, I guess VPC endpoint called "interface endpoint" would be necessary. And I found that individual IP address would be assigned for VPC endpoints, based on AZ zone or usage of connection, so I think the number of required ip addresses would be important for the estimate of CIDR.

So, what I'd like to know is if the unique IP address is necessary for each VPC endpoint per each connection. For example, if VPC endpoints will be made for ec2 and RDS in VPC A and ec2 and Redshift VPC B, is the required unique IP address for VPC endpoints 4?

Best Regards

asked a year ago314 views

1 Answer
0

You can have the same CIDR and IP Addresses in both VPCs so long as they are not connected via Transit Gateway or VPC Peering. They do not have to be unique if the VPCs communicate with VPC Endpoints. VPCs in the same account or different accounts can have the same CDIR. Endpoints are Unique themselfs in their own VPC.

Only if the VPCs ever have to talk to each other, they have to be unique, but can be worked around within reason with a Private NAT Gateway

EXPERT

answered a year ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.