To allow access from the server behind alb, which address should I enter, alb or server?

0

I created a server behind alb. You are trying to connect from that server to another server that is not connected to alb.

I am not sure whether to put the alb ip or the server ip to set the security group of the server not connected to alb, so I put both.

In the case of alb, I know that all server communication is done through alb, so I think alb alone is fine, but I think I need to write the destination, so I think I need to put the server ip as well.

I wonder if it is enough to set the security group with only one alb address or both.

1回答
0
承認された回答

If the traffic is initiated from the server then it will come from the server IP address and it won't go through the ALB. Traffic that comes from the server but is in response to a session that was initiated from the ALB (in turn, which came from something external) will return through the ALB.

profile pictureAWS
エキスパート
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ