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

1 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions