We have a Slack bot running off of Lambda functions, but when they fail, we don't have any idea. Unless we check the logs. It would be nice for us to get notified when one of our Lambda functions fails in Slack. To do this we need to create new lambda function and add a... Continue Reading →
Smart Bot 2024
This year, I plan to go for my AWS SysOps and AWS DevOps Certificates. (This would complete the software development engineer and system administrator path in AWS.) Both exams have hands-on questions in AWS on setting up small projects. So, I want to start getting some hands-on experience since I am also our Slack and Github admin at... Continue Reading →
Slack Smart Bot: Adding a AWS DynamoDB
Currently, the bot we've made in the previous post (first, second) doesn't use a database. So we are currently cheating by passing channel id and timestamp that we need to for the modal to work as fields in the modal. Instead of doing that, we can use a Database in AWS. Which Database AWS has... Continue Reading →
Slack Smart Bot: Getting Modal working with Lambda
Modal in Slack are pop up window that appear in Slack where you can ask a user specific questions to get information that your app can use. Just to start off with For a test workflow to see if I can get this to work correctly will look like this The user will post in... Continue Reading →
Debugging Slack Smart bot in CloudWatch Logs
Last post i started a Smart Slack bot that use AWS Lambda. What happens though if something break in the lambda function how do find out? Every time a Lambda function run in AWS, the logs are automatically stored in CloudWatch Log You can see these logs in your Lambda function by click on Monitor... Continue Reading →
Slack Smart Bot: Connecting AWS lambda with Slack Events
New project time. Today i'm our lead developer for our Ansible collection at work, and we do all our support today in Slack. I want to automate some of this support to help resolve issues quickly for users and free up more time for the dev team to develop. The plan is to make a... Continue Reading →
AWS Rekognition and Raspberry Pi working together
I'm going to take the work i did from my first post, setting up a Raspberry pi, and the second post, image detection in AWS Rekognition, and put it all together. First steps is to move the code from the ImageDectect.py in to Detector class. I ended up breaking this in to 3 classes, and... Continue Reading →
Simple Image Detection with AWS Rekognition
Since i have my Raspberry Pi Setup to take picture when it detect motion the next set is to get image detection working with AWS Rekognition. I've never use AWS before and the amount of services AWS has is pretty scary. But with a little trial and error i managed to get this to work... Continue Reading →
Starting my first project with Raspberry Pi
I had started this site right before Covid started with the plan of working on various projects and making blog posts about them. Covid hit, and I got super busy and ended up putting those plans on hold. Nine months later, I'm starting to look at fun projects to play around with. So here is... Continue Reading →
Moving everything to a Class
The code for this blog is version 0.3 on github Now that i got a mostly function bot that can read from a channel and write to a channel, having random function in a script is not going to scale well it time to move this all in to a class. The class is going... Continue Reading →