Step 1: On the Create Key Pair page, choose the Create a New Key Pair option.
Step 2: Enter a name for the key pair and then click Create & Download your Key Pair. A .pem Key Pair file is generated.
Step 3: Click Save to save the private key pair to your computer.
This .pem file will be used to retrieve the initial administrator password for remote desktop connection later. And you only need to generate a key pair once – not each time you want to deploy an Amazon EC2 instance.
If you have a key pair already, you can select Choose from your existing Key Pairs.
Step 4: Click Continue to proceed.
The Configure Firewall page appears. Follow instructions in the section called “Configure Firewalls” to continue with the remaining steps.