Get an Email notification for successful SSH logins

This is an email alert that is triggered once a SSH login succeeds First we will create the script itself in the ssh folder /etc/ssh/login-notify.sh: Make the file executable, then add the following line to the end of the sshd pam file in /etc/pam.d/sshd It’s set to optional for testing, as it would prevent login…

Testing out AWS Elastic Beanstalk

Elastic Beanstalk is the PaaS component of AWS, it will automatically handle the details of capacity provisioning, load balancing, scaling, and application health monitoring. We will go to AWS Elastic Beanstalk Documentation, look for “Install the EB CLI” to install the eb cli on the cloud9 environment. At the time of writing it was just…

Run a VPS on AWS EC2

Go to AWS EC2, create a new instance, then on the Dashboard of this instance, click on Key pairs in the resources card and create a new ssh key pair. Just change format to pem: The key will be downloaded automatically. It can now be uploaded to cloud9 environment. Just switch over to cloud9, click…

Python Project Scaffold

create a project scaffold or project template to get started faster with python projects We will create a virtual environment inside our project to avoid any incompatibility issues Example code Example test code We need then a Makefile to automate builds and tests Then we will create the requirements file The .github/workflows/pythonapp.yml file that stores…

List of resources

This is a list of resources I’ve found and used so far. Dapp University: Started with one, the guy makes quite a few bold statements and promises, like “How to become a blockchain developer”, explained a few concepts, but the boilerplate code provided was not explained properly, the video format was not for me. I…