Skip to content

VPCのtunnel断について

0

Site-to-Site VPN 接続サービスを利用し、VPNを設定していた。 VPNにはtunnelを2つ設定していた。

今回AWSから以下のメールがあり、tunnelが切断された。 切断されてしまった理由と回復するための手段が知りたい。

You are receiving this message because your VPN Connection vpn-~~in the ap-northeast-1 Region had a momentary lapse of redundancy as one of two tunnel endpoints (Tunnel Outside IP: ~~) was replaced. Connectivity on the second tunnel was not affected during this time. Both tunnels are now operating normally.

Replacements can occur for several reasons, and be initiated either by AWS or when you modify your VPN Connection [1]. AWS-initiated replacement reasons include health, software upgrades, and when underlying hardware is retired.

This replacement was AWS Initiated.

AWS Site-to-Site VPN includes two tunnels so that you can maintain a highly available VPN connection. If you have configured your VPN Customer Gateway to use both tunnels, then your VPN Connection will have utilized the alternate tunnel during the replacement process. For more on tunnel endpoint replacements, please see our documentation (2). If you have not configured your VPN Customer Gateway to use both tunnels, then your VPN Connection may have been interrupted during the replacement. We encourage you to configure your router to use both tunnels. You can obtain the VPN Connection configuration recommendations for several types of VPN devices from the AWS Management Console [3]. On the "Amazon VPC" tab, select "VPN Connections". Then highlight the VPN Connection and choose "Download Configuration".

asked 4 months ago94 views
1 Answer
0

このメッセージは、AWS Site-to-Site VPN接続の1つのトンネルエンドポイントが一時的に置き換えられたことを通知しています。これは通常のAWSのメンテナンス作業の一部であり、VPN接続の冗長性と可用性を維持するために行われます。

切断の理由: AWSは定期的にVPN接続のメンテナンスを行い、ハードウェアの更新、ソフトウェアのアップグレード、または健全性の問題に対処するためにトンネルエンドポイントを置き換えることがあります。今回の場合、AWSによって開始された置き換えでした。

重要なポイントは、2つのトンネルのうち1つだけが影響を受け、もう1つのトンネルは正常に機能し続けたということです。これにより、適切に設定されていれば、VPN接続の中断を防ぐことができます。

回復のための手段:

  1. 両方のトンネルを使用するようにカスタマーゲートウェイデバイスを設定することが重要です。これにより、1つのトンネルが一時的に利用できなくなっても、もう1つのトンネルを通じて接続を維持できます。

  2. AWSマネジメントコンソールから最新のVPN接続設定をダウンロードし、カスタマーゲートウェイデバイスに適用します。これにより、両方のトンネルが正しく設定され、使用されることを確認できます。

  3. 両方のトンネルの状態を定期的に監視し、問題が発生した場合に迅速に対応できるようにします。

  4. AWSからの通知に注意を払い、推奨される対応策があれば実施します。

現在は両方のトンネルが正常に動作しているとのことですが、将来的な中断を最小限に抑えるために、上記の手順を実施することをお勧めします。
Sources
Resilience in AWS Site-to-Site VPN - AWS Site-to-Site VPN
AWS Site-to-Site VPN customer gateway devices - AWS Site-to-Site VPN

answered 4 months ago
EXPERT
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.