Shell script to automatically remove old AWS Lightsail snapshots (and retain a specific number of backups)

In the first post, I have explained how to schedule nightly backups of Amazon Lightsail Instance by leveraging AWS Command Line Interface (CLI). In this post, I’ll show you how to create a bash file that can be scheduled to remove old AWS Lightsail snapshots and retain only a specific number of snapshots in your account.

[Read more…]

How to find which program is using a specific Windows port?

If you experience a python – Error: That port is already in use, or Apache’s: Port 80 in use by “Unable to open process”, it’s very likely that another program is already using the port. For anyone who ever experiences this kind of issue, or whenever you suspect that something else is using one of the ports, please follow these instructions to resolve the problem and find which program is using a specific Windows port. [Read more…]