跳至内容

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

已提问 1 年前324 查看次数

1 回答
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

专家

已回答 1 年前

专家

已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。