How I troubleshoot when EC2 instance terminates unexpectedly

It’s a common issue in AWS environment. Your instance goes from the pending state to the terminated state without you doing anything. Below are my 5 tips to troubleshoot this issue. 1. Check CloudTrail Logs for Termination Events Go to AWS CloudTrail and filter for TerminateInstances API calls. Search for who or what initiated the […]
How To Troubleshoot AWS When You Can’t SSH into an Amazon EC2 Instance

This is one of the most common issues in AWS. Here’s how I would troubleshoot it: 1️⃣ Verify the security group allows SSH (port 22) – Check the security group attached to your EC2 instance.– Ensure there’s an inbound rule allowing traffic on port 22 from your IP address. 2️⃣ Check if the instance has […]
How To Troubleshoot AWS When You Can’t SSH into an Amazon EC2 Instance.

This is one of the most common issues in AWS. Here’s how I would troubleshoot it: 1️⃣ Verify the security group allows SSH (port 22) – Check the security group attached to your EC2 instance.– Ensure there’s an inbound rule allowing traffic on port 22 from your IP address. 2️⃣ Check if the instance has […]
How to troubleshoot connecting to AWS EC2 instance

This brief tutorial demonstrates how to establish SSH connections to an EC2 instance using MobaXterm, particularly useful for troubleshooting purposes. Pre-requisite For this project, you need: an AWS account. Set up a Free-Tier account www.aws.amazon.com/free the private key file (.pem or .ppk) associated with the instance. Project Outline Establish SSH connection to an EC2 instance from […]
AWS EC2 Tutorial

An EC2 instance is a virtual server in the AWS Cloud.