Diagnose and Fix SSH Timeout on Ubuntu EC2 (port 22: Operation timed out)

I'm facing a connection timeout issue while trying to access my AWS EC2 instance running Ubuntu 22.04 via SSH. I suspect UFW (Uncomplicated Firewall) might be blocking the SSH traffic. However, I haven't checked the security group rules for my EC2 instance and I'm not sure how to do this... (Budget: $10 - $30 USD, Jobs: Amazon Web Services, Linux, Mac OS, System Admin, Ubuntu)

Feb 28, 2025 - 06:46
 0
Diagnose and Fix SSH Timeout on Ubuntu EC2 (port 22: Operation timed out)
I'm facing a connection timeout issue while trying to access my AWS EC2 instance running Ubuntu 22.04 via SSH. I suspect UFW (Uncomplicated Firewall) might be blocking the SSH traffic. However, I haven't checked the security group rules for my EC2 instance and I'm not sure how to do this... (Budget: $10 - $30 USD, Jobs: Amazon Web Services, Linux, Mac OS, System Admin, Ubuntu)