- 新しい順
- 投票が多い順
- コメントが多い順
Assuming your auto scaling group instances are in a private subnet. The private subnet has a route in its route table that routes all internet traffic (0.0.0.0/0) to the NAT Gateway. The NAT Gateway is in a public subnet that has a route table with a route that sends all internet traffic to the Internet Gateway. The NAT Gateway has an Elastic IP. This is the IP address that you provide to the external service. All the traffic from the auto scaling group instances will look like the requests are coming from the NAT Gateway Elastic IP address from the external service point of view.
If you have a multi-AZ architecture for your auto scaling group, you will need a NAT Gateway in each AZ with the private subnet route table pointing to this NAT Gateway. NAT Gateways are highly available within an AZ. You will then need to supply your external service with the Elastic IP assigned to this second NAT Gateway.
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 3年前