Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS password instead of key pair

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?

like image 815
Yeats Avatar asked May 25 '15 23:05

Yeats


People also ask

What if key pair is lost in AWS?

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.

Is key pair is important in AWS?

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.

Can we launch EC2 instance without key pair?

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.


2 Answers

"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.

like image 58
tedder42 Avatar answered Sep 26 '22 01:09

tedder42


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

like image 35
crzdLntc Avatar answered Sep 23 '22 01:09

crzdLntc