Sending Route 53 DNS query alarm to Telegram or Slack

0

Hi guys, I have a requirement that I need the CloudWatch Alarm to send notification to my Telegram or Slack if the Route 53 DNS query is larger than 1 million query per day. In detail, I would like to be notified via Telegram or Slack if the number of DNS queries in my Route 53 Public Hosted Zone is larger than 1 million queries. After a day, the query metric will be reset to 0 and CloudWatch will keep on tracking this metric condition and send alarm. I think the architecture is Cloudwatch —> SNS —> Lambda —> Slack/Telegram. However, I don't know how to configure step by step and how to code the Lambda function.
If you know the solution, please don't hesitate to share with me. Thanks

Steven
已提問 1 年前檢視次數 355 次
1 個回答
0

If you only want to use Slack, you can use AWS Chatbot to send notifications without Lambda.
https://aws.amazon.com/jp/chatbot/

However, Telegram is not supported, so notifications here must be sent via Lambda.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南