Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in AWS by (29.3k points)
edited by

I created a network load balancer in two different AZs and started my web server in the private subnet. I followed the AWS instruction document to create a network load balancer.

I tried to launch the network load balancer but it did not work. I checked my routing and security group. I have made it allow all protocols for all ports for both incoming and outgoing, but still, it is not working. I also suffixed the index.html to the DNS URL but it still failed. I checked the health of the target group and it is healthy and I am able to ssh into all the EC2 instance and the web servers are up and running. Strangely nslookup for the DNS name of Load balancer resolves the IP addresses linked in the Loadbalancer.

What is the reason for the failure of the network load-balancer in AWS?

1 Answer

0 votes
by (50.2k points)

You need to launch the load balancer inside the public subnet and then in the targets you need to give the instance present in private this will act as a gateway and route the traffic from the browser. 

​For more detail check this aws tutorial.

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

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

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Feb 27, 2021 in Azure by dante07 (13.1k points)

Browse Categories

...