How do I make sure the EC2 instances behind loadbalancer are not directly accessible? [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
开发者_C百科 Improve this questionI have two EC2 instances behind a Amazon load balancer. The load balancer routes requests on port 80 to the instance port 80.
How do I make sure the instance services are accessible only through the loadbalancer DNS and not accessible directly through the instance public DNS ?
thanks Santhosh
That should be possible via appropriately setting the security groups for the EC2 instances, so that only connections from the Load Balancer are allowed.
精彩评论