devops

devops

How to prevent brute-force ssh attacks with fail2ban

If you are experiencing a brute-force ssh attack (people or robots trying different combinations of username and password to log into remote servers), you probably want to implement a fail2ban strategy to prevent them to keep trying. Here is a really quick and easy guide on how to get it ready in your ubuntu AWS ec2 instance.

Read
devops

Rails env setup, Apple Silicon (M1) troubleshooting

A quick collection of workarounds that I had to do to be able to setup one of my rails environments on apple silicon (big sur) on a MacBook m1.

Read
devops

Solving disk space issues at EC2 AWS Linux instances

A common issue that I faced on small AWS instances, and a quick easy fix for it (aka: inodes 100%)

Read
devops

Nginx per-site configuration

A quick reminder on how sites-available and sites-enabled configurations work on Nginx and how to properly update them.

Read