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 Antwort
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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen