To create a new key pair from the EC2 dashboard, follow these steps:
- From the EC2 console, select Key Pairs from the left menu in the NETWORK & SECURITY category:
- Select Create Key Pair.
- Add a name for your new key pair:
Your key pair will now appear in the list of active key pairs and can be used as a key pair when you create new EC2 instances.
With this, you have learned how to create a key pair. But what if you ever need to delete it? The next subsection will deal with this.