[英]One VPC doesn't see another VPC using peering connection
我在一個VPC上有ec2實例,在另一個VPC上有RDS實例。 我在該指南中創建了對等連接http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/working-with-vpc-peering.html#create-vpc-peering-connection
之后,我使用下一條指令http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/working-with-vpc-peering.html#vpc-peering-routing更新了路由表
我的aws控制台有一些屏幕:
和
主要問題是EC2實例無法連接到RDS,但是如果我獨立使用它們,它們將運行良好。
根據您的ss,看起來它們似乎與您的子網無關。 他們在SS的Explicitly associated
說0 subnets
這意味着您的實例所在的子網未與該路由表關聯且未使用該子網,因此它不會通過您的對等方推送該流量
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.