Now that we have a working bot and error logging in Slack. We want to be able to record daily information in a database to compare it with the previous month to see if there is an increase or not. How to trigger a lambda at a specific time? Create a new lambda function, and... Continue Reading →
Notification in Slack when Lambda Fails
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 →
Drawing Rekognition Bounding Boxes on images
In the last post we the Raspberry pi to take a image when it detected motion and sent that to AWS Rekognition to find and print out everything that Rekognition found. In this post we are going to take that one step farther and draw and label all the bounding boxes that Rekognition sent back... 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 →