The application discloses a VPC peer-to-peer connection method and
system, and belongs to the technical field of
cloud computing, which comprises the following steps: configuring a local VPP in a local VPC, wherein the local VPP comprises a local subnet IpTable, a local subnet BridgeDomain, a local subnet VxlanTunnel, a local subnet LOOP, a local
interconnection BridgeDomain, a local
interconnection IpTable, a local
interconnection LOOP and a local interconnection VxlanTunnel; configuring a peer VPP in the local VPC, wherein the peer VPP comprises a peer subnet IpTable, a peer subnet BridgeDomain, a peer subnet VxlanTunnel, a peer subnet LOOP, a peer interconnection BridgeDomain, a peer interconnection IpTable, a peer interconnection LOOP and a peer interconnection VxlanTunnel; transmitting a data packet to the local VPP by a local cloud host; transmitting the data packet to the peer VPP by the local VPP; and transmitting the data packet to a peer cloud host by the peer VPP, so as to establish a peer-to-peer connection between the local cloud host and the peer cloud host. The VPC peer-to-peer connection method provided by the application can realize data intercommunication between cloud hosts in different VPCs, and is convenient for
system management and
data delivery.