How do I monitor AWS VPN tunnels using Amazon CloudWatch alarms?
2 minute read
0
I want to configure Amazon CloudWatch alarms to monitor my AWS VPN tunnels, and then receive notifications when my AWS VPN connection is down.
Short description
Monitor the status of an AWS VPN through its metric data, which is automatically sent to CloudWatch. The VPN tunnel state is reported as a Boolean value in the CloudWatch metricTunnelState. A value of 0 indicates that the tunnel is down and 1 indicates that the tunnel is up. Set up a CloudWatch alarm based on this CloudWatch metric to notify you when one or both VPN tunnels are down.
Resolution
Set up your AWS VPN and confirm that both tunnels are available. Then, configure a CloudWatch alarm to monitor the connection.