Donate to support Ukraine's independence.
Generated by AI

Get a Telegram Alert Every Time Someone Logs Into Your Server

SSH Telegram Notify Have you ever wanted to get a Telegram notification when someone logs into your server via SSH? I did! I also wanted to automate the entire setup with Ansible for faster deployment and updates. So, I created an Ansible role that does exactly that. It automatically configures your servers to send login/logout notifications to Telegram. It currently supports Debian/Ubuntu, but can easily be extended to other Linux distributions. ...

October 10, 2025 · 3 min · 596 words · Serhii Kaidalov
Generated by AI

AWS Target Group IP Preservation

Reducing Cross-AZ Traffic in AWS and Avoiding NAT Loopback Pitfalls Recently, we decided to reduce cross-AZ traffic in our AWS environment to save on data transfer costs and improve latency. Current Setup Here’s a simplified view of our setup: NLB -> ingress-nginx -> containers Inside our EKS cluster, we enabled Topology Aware Routing . On the NLB and its target group, we: ...

July 12, 2025 · 3 min · 479 words · Serhii Kaidalov
Generated by AI

Access Private AWS Resources Without Opening Firewall Ports Using SSM

Do you want a secure and convenient way to access internal AWS resources - like RDS databases or EC2 instances - from your local machine? Me too! Thanks to AWS Systems Manager (SSM), you can get shell access to EC2 instances without opening any inbound ports. Even better, since 2022, AWS also supports port forwarding over SSM, allowing access to nearly any internal AWS resource from your laptop - without requiring a bastion host with internet access. ...

April 21, 2025 · 2 min · 422 words · Serhii Kaidalov