I'm a total newbie when it comes to AWS. I'm trying to launch a Ubuntu instance and since I use a cloud IDE and don't to make things needlessly complicated I don't want to generate a key pair but rather a username/password, so I choose "continue without a key pair". I have to agree that I know that I'm not able to login without the username/password but it never gives me any...
What's the deal with this? What should I do?
Also, when I press connect it says:
Instance is not associated with a key pair This instance is not associated with a key pair. Without a key pair you will need to log into this instance using a valid username and password combination.
But it never actually gives me any boxes to put in the username/password I don't have anyway. Why do they even have this function if it doesn't exist?
If you've lost the key pair, you can create an AMI of the existing instance, and then launch a new instance. You can then select a new key pair by following the instance launch wizard.
The public and private keys are known as a key pair. If you want to log into an EC2 instance, you must specify a key pair when you launch it, and then provide the private key of the pair when you connect to it.
The option Proceed without key pair is used when: When the sshd in your AMI is configured to use password based authentication and no ssh key is needed to access the machine. sshd can accept some other username/key combination.
"Continue without a key pair" means "you won't be able to connect to it".
AWS (and most hosting providers) require ssh keys, as the security of basic passwords is poor. Using keys isn't terribly difficult.
user is the generic username
you will have to access actions>instance settings>get system log on your initial instance launch
scroll down until you see the username and password. log in and change it
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