You can create a key pair for your instance during its creation. To do so, follow these steps:
- At the end of the configuration option, and just as you click on Launch Instances, the following window will appear:
- EC2 asks you to either select an existing key pair or create a new one. However, in fact, you have three choices. Select the drop-down list and then click on Choose an existing key pair:Â
You don't have to create a new key pair for each and every instance that you would like to connect to. By selecting the first option here, you can use the same key pair that you have already used for a previous instance from the second drop-down box. This means that EC2 will use the same public key associated with that saved key pair, and you have to ensure that you still have the matching private key.
- If you want to create a new key pair, you can do so by selecting the second option, and this will prompt you to give the key pair...