If you need to access other Alibaba Cloud services in other regions by using a connector, you must enable Internet access for the connector. This topic describes how to enable Internet access for a connector.
Enable Internet access
The following figure shows the solution for enabling Internet access for a connector.
Complete the following steps to enable Internet access for a connector:
- Create a Network Address Translation (NAT) gateway for virtual private cloud (VPC)
1 where the Message Queue for Apache Kafka instance is deployed.For more information, see Create a NAT gateway.
- Bind an elastic IP address (EIP) to the created NAT gateway.For more information, see Associate an EIP with a NAT gateway.
- Create Source Network Address Translation (SNAT) entries for the vSwitch that is used
by the Message Queue for Apache Kafka instance on VPC 1.For more information, see Create a SNAT entry.