Easiest way to recover lost PEM key of AWS EC2 Instance | *WITHOUT RESTART*I have an application running on an EC2 instance, unfortunately I have lost private file to connect to this instance and now can not shut down this VM as the requirement is to have “ZERO DOWNTIME” Step-by-Step Process: Modify Security Group to Allow...Jan 13, 2025·4 min read
Real Time Shell ScriptsDisk Usage Check Script Monitoring disk usage is a crucial task for system administrators to ensure that servers and systems are running smoothly without running out of space. Here’s a simple script that helps you check disk usage on your machine. #!...Jun 24, 2024·6 min read
AWS: Make an EC2 User Data Script to Download Jenkins on an Ubuntu InstanceObjective Launch EC2 instance with already installed Jenkins on it. Once server shows up in console, hit the IP address in browser and you Jenkins page should be visible. Take screenshot of Userdata and Jenkins page, this will verify the task compl...Apr 24, 2024·3 min read
Implementing and Automating Robust Backup and Retention Strategies using shell scripts.In the digital age, where data is king, protecting valuable information against loss or corruption is paramount for businesses and individuals alike. Robust backup and retention strategies serve as the cornerstone of data protection, ensuring resilie...Apr 24, 2024·5 min read
Streamlining Log Monitoring: Building a Dashboard with Grafana, Loki, and PromtailIntroduction: In today's fast-paced digital landscape, effective log monitoring is essential for ensuring the reliability, security, and performance of software applications and infrastructure. Traditionally, managing logs across distributed systems ...Feb 23, 2024·4 min read