Not able to connect to internet from msk connect

0

Hi

I am deploying msk clickhouse connector but continously getting timeout error connecting to clickhouse cloud which is public instance outside of aws.

My msk cluster is public and i am able to telnet to it also its on 3 public subnets with igw attached to route table to these 3 subnets.

Wondering if these are okay for msk connect to be able to connect to internet.

1 Answer
0

Hello,

Please refer the below AWS documentation [+]https://docs.aws.amazon.com/msk/latest/developerguide/msk-connect-internet-access.html

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.

  1. Configure your connector with private subnets.

  2. 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.

  3. Allow outbound traffic from your private subnets to your NAT gateway or instance.

Workaround for public subnets- If you configure your cluster to use public subnets, you can attach an Elastic IP address (EIP) to the elastic network interface (ENI) that Amazon MSK Connect creates in your VPC. We don't recommend this method, because ENI attachments are not permanent, and the service may create or remove ENIs during maintenance or scaling operations.

For a deeper analysis into the issue and gain more insights tailored to your MSK resources, I request you to please reach out to AWS Premium Support team via a support case.

Hope the above information and documentation helps!

Reference

https://clickhouse.com/docs/en/integrations/kafka/cloud/amazon-msk

AWS
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions