This skill helps to walk you through the creation of an AWS Key Pair by step by step assistance. An AWS Key Pair is a set of security credentials that you use to prove your identity when connecting to an instance. It consists of a private key and a public key. Amazon EC2 stores the public key on your instance, and you store the private key. We use the private key instead of a password, to securely access our instances.
Prerequisites:
- An active AWS account
- Sufficient privileges to create Key Pair
Note:
Login to AWS Management Console beforehand.
-
1.
open AWS Management Console
-
2.
Click Services
-
3.
Click Compute
-
4.
Click EC2
-
5.
Click Key Pairs
-
6.
Click Create key pair
-
7.
Give a name to your Key Pair and click Next to continue.
-
8.
Choose RSA and click Next to continue. [There are two key pair type: 1) Amazon EC2 supports ED25519 & 2) RSA key pair types. ED25519 keys are not supported for Windows instances. You can use ED25519 keys with Linux and Mac instances only]
-
9.
Select .pem for use with openSSH. Private key file: This file defines the format of the private key that you will be prompted to download when you create the key pair. If you use OpenSSH to connect to your instance, you must save the key in the .pem format. If you use PuTTY to connect to your instance, you must save the key in the .ppk format. Click Next to continue.
-
10.
Click Create key pair
-
11.
Check your key pair created successfully and click Close to finish.