Apply for a direct connection in the self-service mode to enable ECSs in your VPC to communicate with your data center or private network. You need to apply for a connection, book the port used to connect your data center to the location, create a virtual gateway and associate it with a VPC, and finally create a virtual interface to connect to the VPC. Figure 1 how to create a direct connection by self-service.