AWS Chatbot is an AWS service that enables DevOps and software development teams to use Amazon Chime and Slack chat rooms to monitor and respond to operational events in their AWS Cloud. AWS Chatbot processes AWS service notifications from Amazon Simple Notification Service (Amazon SNS), and forwards them to Amazon Chime and Slack chat rooms so teams can analyze and act on them immediately, regardless of location.
You can also run AWS CLI commands in Slack channels, and file AWS Support cases from the Slack screen.
Topics
Features of AWS Chatbot
AWS Chatbot enables ChatOps for AWS. ChatOps speeds software development and operations by enabling DevOps teams to use chat clients and chatbots to communicate and execute tasks. AWS Chatbot notifies chat users about events in their AWS services, so teams can collaboratively monitor and resolve issues in real time, instead of addressing emails from their SNS topics. AWS Chatbot also allows you to format incident metrics from Amazon CloudWatch as charts for viewing in chat notifications.
Important features of the AWS Chatbot service include the following:
-
Supports Slack and Amazon Chime: you can add AWS Chatbot to your Slack channel or Amazon Chime chat rooms in just a few clicks.
-
Pre-defined AWS Identity and Access Management (IAM) policy templates: AWS Chatbot provides chat room-specific permission controls through AWS Identity and Access Management (IAM). AWS Chatbot’s pre-defined templates make it easy to select and set up the permissions you want associated with a given channel or chat room.
-
Receive notifications: use AWS Chatbot to receive notifications about operational incidents and other events from supported sources, such as operational alarms, security alerts, or budget deviations. Setting up notifications in the AWS Chatbot console is fast and easy; you simply choose the channel(s) or chat room(s) you want to receive notifications and then choose which Amazon Simple Notification Service topics should trigger notifications.
-
Retrieve Diagnostics information through the AWS CLI: AWS Chatbot supports read-only commands for most AWS services, making it easy to retrieve diagnostic information about your AWS resources from Slack on desktop and mobile devices. Your teams can analyze and respond to events faster by retrieving diagnostic information in real-time, from a centralized location. You can also initiate workflows by invoking Lambda functions or create AWS Support cases with a simple command from Slack. AWS Chatbot commands use the standard AWS Command Line Interface syntax.
How AWS Chatbot Works
AWS Chatbot uses Amazon Simple Notification Service (Amazon SNS) topics to send event and alarm notifications from AWS services to Slack and Amazon Chime chat rooms. Slack and Amazon Chime users map the SNS topics to their Slack channels or Amazon Chime webhooks. For Slack, after the Slack administrator approves AWS Chatbot support for the Slack workspace, anyone in the workspace can add AWS Chatbot to their Slack channels. For Amazon Chime, users with AWS Identity and Access Management (IAM) permissions to use Amazon Chime can add AWS Chatbot to their webhooks.
You use the AWS Chatbot console to configure Amazon Chime and Slack clients to receive notifications from SNS topics.
AWS Chatbot supports a number of AWS services, including Amazon CloudWatch, AWS Billing and Cost Management, and AWS Security Hub. For a complete list of supported services, see Using AWS Chatbot with Other AWS Services.
Regions and Endpoints for AWS Chatbot
AWS Chatbot is available in all commercial AWS Regions. It supports using all supported AWS services in the Regions where they are available.
AWS Chatbot Requirements
To use AWS Chatbot, you need the following:
-
An AWS account to associate with Amazon Chime or Slack chat clients during AWS Chatbot setup.
-
Administrative privileges for your Slack workspace or Amazon Chime chat room. You can be the Slack workspace owner or have the ability to work with workspace owners to get approval for installing AWS Chatbot.
-
Familiarity with AWS Identity and Access Management (IAM) and IAM roles and policies. For more information about IAM, see What is IAM?
-
Experience with the AWS services supported by AWS Chatbot, including experience configuring those services to subscribe to Amazon Simple Notification Service (Amazon SNS) topics to send notifications. For information about supported services, see Using AWS Chatbot with Other AWS Services.
To access Amazon CloudWatch metrics, AWS Chatbot requires an AWS Identity and Access Management (IAM) role with a permissions policy and a trust policy. You create this IAM role, with the required policies, using the AWS Chatbot console. You can use an existing IAM role, but it must have the required policies.
For testing, we recommend using the role that you create with the AWS Chatbot console. To use an existing IAM role, see Configuring an IAM Role for AWS Chatbot.
Accessing AWS Chatbot
You access and configure AWS Chatbot with its console.
AWS Chatbot Preview Limitations
The AWS Chatbot Preview supports the AWS services described in Using AWS Chatbot with Other AWS Services. It doesn't support the following:
-
Sending SNS notifications from unsupported AWS services
-
Passing through arbitrary text using SNS topics
Comments
0 comments
Please sign in to leave a comment.