Monitor your AWS Site to Site VPN tunnels Status
How can we monitor AWS Site to Site VPN tunnels Status and get notified when the vpn tunnels are down?
Goal: Monitor your vpn tunnels and send email to the operation when the vpn tunnel is down.
Architecture:
How can we monitor the vpn status and get notification in real time if the vpn connection is down ?
- Create SNS Topic:
Before subscription is confirmed ,it shows “Pending confirmation” in Status
Click to confirm
Subscription confirmed
2. Cloudwatch Alert Setting:
Go to Cloudwatch page.
Tunnel status : up‘s value equal to “1", down‘s value equal to “0".
When alarm is created ,it will show insufficient data in state.
When vpn is down , we can get alert from SNS through email.
Thanks for reading!