ssm ec2 What is an impaired instance? Instance with no access, you lost the key You would need to use EC2Rescue too, and There’s AWSExecute-EC2Rescue tool is available