2016-09-06 83 views
1

我在另一個VPC上的一個VPC和RDS實例上有ec2實例。一個VPC沒有看到使用對等連接的另一個VPC

enter image description here

: 我使用的下一條指令 http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/working-with-vpc-peering.html#vpc-peering-routing

有從我的AWS控制檯窗口中創建的指導就像一個對等連接http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/working-with-vpc-peering.html#create-vpc-peering-connection

enter image description here

,我更新路由表後

and

enter image description here

主要問題是EC2實例無法連接到RDS,但如果我在獨立的基礎上使用它們,它們工作良好。

+0

檢查安全組 – Vorsprung

+0

@Vorsprung,我已經檢查過,但是當我將一個組添加到另一個組時,什麼也沒有發生 – discort

+0

您在每個VPC中只有一個路由表嗎? –

回答

0

根據你的ss,它看起來並不像它們與你的子網相關聯。他們說,在Explicitly associated0 subnets ......在SS

這意味着子網您的實例是爲與該路由表相關的,並且沒有使用它,所以它不是推的流量通過你的同行