Accessing EC2 Instances Without SSH: AWS Session Manager to the Rescue
Amazon EC2 instances are usually accessed using SSH—it’s straightforward and familiar. But what if SSH isn’t an option? Maybe you lost your SSH key (it happens), or some overzealous firewall settings closed off SSH ports. Whatever the reason, being locked out of your instance isn’t fun.