Getting Started with Amazon Cognito: Part 1

I first worked with Amazon Web Services (AWS) Cognito in 2018 while building a financial web app that was deeply tied to the AWS infrastructure. It made use of AWS lambas, AWS Dynamo DB, the API gateway and AWS Cognito to process data from banks and create a rewards platform for businesses. Cognito’s documentation then, […]

Read more

Nagios event handlers for NRPE

I used to use custom scripts to monitor services and get alerts of failures till Bas Moussa introduced me to Nagios. Monitoring and self-healing has been flowers and rainbows since. Nagios event handlers allow you to put in place measures to self-heal your services. The Nagios documentation on setting them up is superb. How do […]

Read more

How to update your local yum repo

There are a number of Ā great resources on how to set-up a local yum repo. This one from Digital Ocean is particularly good: https://www.digitalocean.com/community/tutorials/how-to-set-up-and-use-yum-repositories-on-a-centos-6-vps How though do you update the said yum repo? I needed to upgrade bash on some hosts to protect them against being ShellShock-ed.Ā This required anĀ upgrade toĀ theĀ local repo from which all these […]

Read more

Run a Java Application as a linux service

I needed to run a Java program as a service on a server running RHEL. I used the script below to get it working. I got direction from 1. http://stackoverflow.com/questions/11203483/run-a-java-application-as-a-service-on-linux 2. http://www.apexninjas.com/blog/2011/02/start-java-program-as-linux-daemon/ and 3. http://fedoraproject.org/wiki/Packaging:SysVInitScript#Initscript_template The third link provides a detailed explanation on init scripts; I recommend that, at the very least, you skim through […]

Read more