1 回答
- 最新
- 投票最多
- 评论最多
0
I've been able to find my own solution that I think will work:
- Setup connection logging from Client VPN endpoint to Cloudwatch Log Group. (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/connection-logging.html)
- Setup Lambda function that gets triggered when a new connection log event comes into the CW log group with the value for the 'connection-attempt-status' key set to 'successful' (https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/)
- Have the Lambda function do what it needs to do with the connection info (e.g. take the 'Client IP' key and update Route53).
So essentially, the flow is:
Client VPN Connection Log -> Cloudwatch -> Lambda (via CW log stream subscription) -> Route53.
Any better suggestions welcomed!
已回答 2 年前
相关内容
- AWS 官方已更新 9 个月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 10 个月前
- AWS 官方已更新 7 个月前