Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (7k points)
closed by

I have a website running on AWS Ec2 instance and  want to expose it to a public endpoint without opening any port on the ec2 instance. How to hook some cloud resource or the application in front of my website so that it can be accessed by someone in public internet? What I need is that a tcp relay functionality-a call from public internet browser is routed to my local website on ec2 with minimal effort. If AWS doesn’t expose such a relay functionality, can something be done using web sockets in AWS-iot? I found ngrok as a 3rd party tool and I want to stick to AWS only.

closed

1 Answer

+1 vote
by (31.9k points)
selected by
 
Best answer

This is what a CLB in AWS does. The load-balancer is globally-accessible which forwards the traffic to the instance. And nobody connects directly to the instance. Of course, you need to open a port on instance for load-balancer to access it, but you have to do that with any relay solution.

Are you interested to learn AWS ? Then check out AWS Certification Training Course by Intellipaat.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories

...