开发者

How do I make sure the EC2 instances behind loadbalancer are not directly accessible? [closed]

开发者 https://www.devze.com 2023-01-15 17:35 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

I 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号