![]() This CloudFormation template takes a configuration name parameter – put something descriptive about this implementation here to remind you what it is later. The first step to creating an SNS topic is to launch a CloudFormation stack in the operation team’s AWS account using the template 01-aws-chatbot-channel. ![]() In a later blog post, we will explain how operations teams can take actions in AWS from the Slack channel but here, the Chatbot is restricted to a one-way display of notifications only. ![]() The process outlined is done with chatbot permissions set to “read-only”. We can then create a new SNS topic and link it to our chatbot. The chatbot can forward notifications received through Simple Notification Service (SNS) topics. Once the manual setup is in place, we are able to apply a simplified IaC change to connect AWS Chatbot to the new Slack channel. This will only work if you are a Slack workspace administrator.Ĭlick Allow and the initial manual setup is done.Ĭreating Simple Notification Service (SNS) topics with IaC You’ll be redirected to Slack’s authorization page to request permission for AWS Chatbot to access your Slack workspace. On the chatbot console page select configure a chat client, then choose Slack and then configure client. The next stage is to log in to the AWS console of your operations team’s AWS account with a user that has sufficient permissions to manage the chatbot. Step 3: Enable member permissions and access You can also invite other members of your operations team. Once the private channel is established, we invite the AWS Chatbot bot to the channel with /invite. We want to restrict membership of the channel to the operations team as members of the channel will be enabled to take actions in our AWS account at a later date. We have set this channel as private as it may have confidential information about our AWS bills coming through. In this example, we are creating a new private Slack channel for our operations team. Step 2: Invite AWS Chatbot to the relevant Slack Channelĭepending on the use case and requirements of your organisation for AWS Chatbot, you should identify the relevant channel and membership for the chatbot activity. In your Slack workspace go to apps and find the AWS Chatbot app. While most of the set-up utilises Infrastructure as Code (IaC), there is a one-off initial linking of the two services that needs to be done by a Slack workspace owner in the AWS console before switching across to using IaC. How to begin the set-up Step 1: Initial Link In this first part of the series, we will showcase how to set up and connect Slack and AWS Chatbot to show a one-way display of notifications. Over a series of ‘how to’ blogs, we present a step by step guide and best practices to implement and utilise AWS Chatbot for organisations looking to take advantage of bi-directional connection. ![]() Users can issue AWS Command Line Interface (CLI) commands from Slack to retrieve diagnostic information, invoke AWS Lambda functions, configure Amazon Simple Storage Service (S3) buckets, change Kinesis shards, restart Amazon Elastic Compute Cloud (EC2) instances, and resolve AWS System Manager incidents.ĪWS Chatbot enables entire teams to stay updated on, respond to and resolve operational events, security findings, and budget alerts for applications running in the AWS environment without leaving Slack. Users can receive notifications about operational events, security findings, or budget alerts in a Slack channel where entire operations teams can see and discuss them. In our experience working with a variety of clients utilising both Slack and AWS, we encourage organisations to employ a way to bring these two together.ĪWS Chatbot is an interactive agent that makes it easy to set up a bi-directional connection between an AWS environment and your Slack workspace. We consistently build and run secure scalable solutions on AWS for our clients. As a messaging app for businesses, Slack can be transformative in the way that organisations communicate.ĬlearPoint is an Amazon Web Services (AWS) APN partner with highly skilled engineers who play an important part in New Zealand’s AWS community. Integrating Slack and Amazon Web Services (AWS)Īs a company that has over 200 staff spread across a variety of clients and locations in New Zealand and Australia, ClearPoint, like many others, relies on Slack to maintain a sense of community and keep the conversations flowing amongst our employees. ClearPoint’s SRE Practice Lead – AWS, Terence White, explains how to set up and manage your AWS environment in Slack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |