I am relatively new to AWS and exploring different options available. While creating an instance if "Proceed without key pair" is selected we cannot connect to the instance.The documentation also has a note saying this option should not be selected.
So what is the main use of this option ?
In which scenarios are we suppose to use it?
The option Proceed without key pair
is used when:
sshd
in your AMI is configured to use password based authentication and no ssh key is needed to access the machinesshd
can accept some other username/key
combination"Proceed without key pair" could, for example, be used for instances created from an AMI where the username and password are already known by the party creating the instance.
Keypairs are commonly used to generate login credentials on AMIs where agents to generate credentials have been installed. These are on most all AMIs that AWS themselves maintain. The default behavior for AWS maintained AMIs is a bit different depending on OS:
Further Reading:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With