I have a EC2 Instance which only have Private IP and I have installed the Apache Kafka on same Instance running on say 10.0.4.44:9092.
Now, I have created the AWS Lambda Function which read the document from given Bucket and sent the Document body to Apache Kafka running on EC2 Instance.
Now, AWS Lambda is unable to access the EC2 Instance Service.
How Can I grant access to Lambda for accessing Apache kafka Service on EC2?