AWS Chatbot Specialized2019年〜
An interactive agent that delivers AWS notifications and enables resource operations through Slack and Microsoft Teams
What It Does
AWS Chatbot is an interactive agent that delivers AWS notifications to Slack and Microsoft Teams channels and lets you operate AWS resources directly from chat. It automatically delivers notifications such as CloudWatch alarms, AWS Health events, and Security Hub findings to your chat channels. You can also run AWS CLI commands from chat to check resource status and perform operations.
Use Cases
Chatbot is used for real-time notification of production alerts to team Slack channels, rapid situation assessment and response during incidents via chat, instant notification of AWS cost anomalies, and notifications for deployment completions or pipeline failures. It is ideal for implementing ChatOps (chat-based operations).
Everyday Analogy
Think of it like a company messenger. When something goes wrong in the server room (AWS), the messenger (Chatbot) immediately runs to the team's meeting room (Slack channel) to report it. You can also ask from the meeting room, "Show me the server status," and the messenger will go to the server room and bring back the information.
What Is AWS Chatbot?
AWS Chatbot is a service that connects Slack and Microsoft Teams with AWS. In AWS operations, you typically need to log into the AWS console to check alerts and resource status. With Chatbot, you can receive AWS notifications and even perform simple operations from the chat tools you already use. The entire team can share the situation in real time.
Notification Delivery
Chatbot delivers various AWS notifications to chat channels via SNS topics. It automatically posts CloudWatch alarms (such as CPU usage spikes), AWS Health events (service outage information), Security Hub findings, and Budgets cost alerts to your chat. Notifications are displayed in a rich format that includes alarm details and links to graphs.
AWS Operations from Chat
With Chatbot, you can run AWS CLI commands directly from chat channels. For example, typing @aws cloudwatch describe-alarms displays a list of alarms. The commands you can run are controlled by IAM roles, so you can safely operate with read-only permissions. You can also invoke Lambda functions and check ECS service status. For more details on operating AWS from chat, check out books on Amazon.
Getting Started
In the AWS Chatbot console, select "Configure new client" and choose Slack or Microsoft Teams, then authenticate your workspace. Select a channel and configure the IAM role for Chatbot. To receive notifications, create an SNS topic, link it to the Chatbot channel, and set that SNS topic as the notification target for CloudWatch alarms and other services.
Things to Watch Out For
- AWS Chatbot itself is free to use, with no additional charges for notification delivery or command execution (SNS charges apply separately).
- The AWS CLI commands you can run from chat depend on the IAM role permissions, so follow the principle of least privilege when configuring access.
- Chatbot supports both public and private Slack channels, but does not support DMs (direct messages).