

For now, it’s pretty basic, but I can see potential ways to expand the Bot’s functionality in the future. I used a base AMI provided by AWS, and then I installed the MySQL Python Module, as well as the Slack Client for Python.Īfter getting the EC2 instance setup, I expanded on the RTM sample that Slack provided in their GitHub repository and added what I needed. Setting up my EC2 instance was super simple - two steps. If I wanted to run this in production, I would have built a much more robust infrastructure, but this suits the situation. I also set up a small RDS instance where I’ll store all my customer information. After that, I decided that I would deploy my Slack Bot on a micro EC2 instance running within a VPC. Here’s what I ended up doing:įirst, I decided to call my Bot - Ruprecht, because you know that’s super important. Overall, it was pretty easy to get something pieced together rather quickly to test out the idea. Having decided on what I wanted to build I spent some time over the weekend reading up on the Slack API and having a look at some examples from their GitHub repository and some Google searches. Sure, we have all this information, but it spread across spreadsheets, our CRM tool, and tools that we use for billing, etc. One of the things that I find tedious is that I have to look up customer information regularly - information that I routinely look up may be monthly spending (or savings) or contact information, etc. A couple of examples that were discussed during the session were using a chat client to start deployments, or maybe as a tool for infrastructure status.Īfter the talk, I started to think about ways that I could use Slack to help with the day-to-day management of our AWS customers. One of the talks I attended was about something called ‘ChatOps.’ The idea is to use a chat client - like Slack - to help you manage day-to-day operations. During the conference, I was introduced to something called an “open space.” Here’s an overview: everyone in attendance can throw out an idea about a topic that they would like to talk about, people vote, and discussions for the breakouts are selected based on interest. Last week I attended my first DevOpsDays conference in Toronto.
