By using AWS re:Post, you agree to the Terms of Use
/Connect Amazon MSK cluster to on-premises web server?/

Connect Amazon MSK cluster to on-premises web server?

0

I am trying out AWS MSK and created a cluster following the tutorial. What I want to know is, how can I connect my on-premises web sever to the created cluster as a producer. The tutorial only mention how to use AWS MSK with ec2 instance. Is there any other tutorial or blog post that I can refer to?

3 Answers
0
Accepted Answer

There are several methods to connect to your AWS MSK clusters outside of your VPC.
VPN: https://docs.aws.amazon.com/vpc/latest/userguide/vpn-connections.html
VPC Peering: https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
VPC Transit Gateway: https://docs.aws.amazon.com/vpc/latest/tgw/what-is-transit-gateway.html
AWS Direct Connect: https://aws.amazon.com/directconnect/
REST Proxy: A REST proxy can be installed on an instance running within your VPC. REST proxies allow your producers and consumers to communicate to the cluster through HTTP API requests.

answered 3 years ago
0

Hi,
This stackoverflow article describes a way for on-premise machines to access the MSK cluster through a kafka Rest Proxy framework.
https://stackoverflow.com/questions/55408193/amazon-managed-streaming-for-kafka-msk-features-and-performance
Hope this helps,
-randy

answered 3 years ago
0

Thanks I will check the confluent rest proxy.

answered 3 years 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