You need a key pair when launching a Linux EC2 instance because it’s required for SSH access. When using EC2 Instance Connect, you don’t need the .pem file, as the Linux machine can be accessed through the browser. The .pem key is only required when connecting to the EC2 Linux instance using an SSH client.
Sign in to post your reply or answer to this question.
Login
Register