Site to Site VPN – Alert on Connection Dropped
To create an alarm for Site-to-Site VPN connection state
- Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.
- In the navigation pane, choose Alarms, Create alarm.
- Choose Select metric.
- Choose VPN, then choose VPN Connection Metrics.
- Select your Site-to-Site VPN connection and the TunnelState metric. Choose Select metric.
- For Statistic, specify Maximum.
Alternatively, if you've configured your Site-to-Site VPN connection so that both tunnels are up, you can specify a statistic of Minimum to send a notification when at least one tunnel is down.
- For Whenever, choose Lower/Equal (<=) and enter 0 (or 0.5 for when at least one tunnel is down). Choose Next.
- Under Select an SNS topic, select an existing notification list or choose New list to create a new one. Choose Next.
- Enter a name and description for your alarm. Choose Next.
- Check the settings for your alarm, and then choose Create alarm.
Leave a Reply