Loading topic
.pem file) and have the AWS CLI configured. The chapter shows how to open a shell with the ssh client. Later chapters cover failures 2 min readssh from a terminal. It also assumes you know what a security group, a key pair, and a public subnet are. Each SSH failure message points to a different layer, so reading it correctly tells you where to look first.3 min readssh -i key.pem user@address, that you know which login user your AMI uses, and that you have a key pair file with correct permissions. It covers how to store those details so you type them once.2 min readssh, that the instance's security group allows port 22 from your address, and that the AWS CLI is configured. It covers EC2 Instance Connect, which replaces a long-lived key pair with a short-lived public key.2 min readssm:StartSession. You also need the AWS CLI configured with credentials2 min readaws ssm start-session, and that the instance already meets the SSM Agent, instance profile, and network requirements. It also assumes you have the Session Manager plugin for the AWS CLI installed.2 min readssh and a key pair, what an instance profile is, and how Session Manager sessions start. Here you compare the three methods and pick one for a given requirement.2 min read