“ I have checked the documents of AWS to get the solution for integration of aws services chat as message to slack channel so that whenever any team wants to monitor the notifications of aws services and respond early in case of production, it's easy for them to handle the issue and resolve it as soon as possible. AWS chatbot provides the solution to integrate aws service with slack and easy to get the same notifications on email as well. In terms of cost, there is no charge for aws chatbot with this only need to pay the cost of services integrated with it.”
AWS Chatbot is an AWS service that enables DevOps and software development teams to use messaging program chat rooms to monitor and respond to operational events in their AWS Cloud. It processes aws service notifications from amazon sns and forwards them to chat rooms so teams can analyze and act on them immediately regardless of location.
In this post, you will experience the integration of aws services with slack using aws chatbot. Here I have created a sns topic with subscription, slack channel and aws chatbot workspace.
Architecture Overview
The architecture diagram shows the overall deployment architecture with data flow, aws chatbot, amazon cloudwatch, amazon sns, slack and email.
Solution overview
The blog post consists of the following phases:
Create of Amazon Simple Notification Service with Email Subscription
Create of AWS Chatbot with Integration of Chat Client SLACK
Testing of Cloudwatch Alarm Trigger to Send Notification as Message on Slack Channel
Phase 1: Create of Amazon Simple Notification Service with Email Subscription
- Open the console of SNS, create a topic with email subscription.
Phase 2: Create of AWS Chatbot with Integration of Chat Client SLACK
- Open the aws chatbot console, configure a chat client SLACK named as aws-chatbot-service. Once done, goto slack and add a channel configured for aws service chat delivery in terms of message on slack.
- Configure slack channel with logging enabled to deliver logs to cloudwatch and its required permissions to be set up. Also add sns topic to slack channel for notification of message delivered to slack from AWS service integrated.
- Test of sending a text message from the slack workspace of aws chatbot is successful as received the message on slack and notification on email.
Phase 3: Testing of Cloudwatch Alarm Trigger to Send Notification as Message on Slack Channel
- Open the cloudwatch console, create an alarm for sns service. Once the alarm gets triggered, the notification will be sent to slack channel as well as on the email subscribed on topic.
Clean-up
Delete of SNS, Cloudwatch and AWS Chatbot.
Pricing
I review the pricing and estimated cost of this example.
Cost of AWS Chatbot (Charges pay only for services used with this and no additional charge for chatbot service) = $0.0
Cost of Simple Notification Service = $0.0
Cost of CloudWatch = $0.02
Total Cost = $0.02
Summary
In this post, I showed “how to do the integration of aws services with slack using aws chatbot”.
For more details on AWS Chatbot, Checkout Get started AWS Chatbot, open the AWS Chatbot console. To learn more, read the AWS Chatbot documentation.
Thanks for reading!
Connect with me: Linkedin
Top comments (1)
Amazing!