If your connector for Amazon MSK Connect needs access to the internet, we recommend that you use the following Amazon Virtual Private Cloud (VPC) settings to enable that access.
-
Configure your connector with private subnets.
-
Create a public NAT gateway or NAT instance for your VPC in a public subnet. For more information, see the Connect subnets to the internet or other VPCs using NAT devices page in the Amazon Virtual Private Cloud User Guide.
-
Allow outbound traffic from your private subnets to your NAT gateway or instance.