Types Of AWS EC2 Key Pairs
Following are the two types of key pairs available in the AWS they are
- Standard key pairs: Standard key pairs are the default SSH key pairs that are generated in AWS while launching the EC2 instance. This consists public key and a private key, and the private key must be securely stored by the user.
- Imported key pairs: Imported key pairs are which are already existing SSH public keys that we can import and use as the key pair for the EC2 instance.
- Key pairs for Windows instances: AWS provides key pairs specifically made for remote desktop access for EC2 instances running Windows. The administrator password needed to log into the instance remotely is decrypted using these key pairs.
How To A Create A Key Pairs In AWS-EC2 ? |Complete Tutorial
In Amazon Web Services, an EC2 key pair consists of a public key and a private key that is used to securely communicate with EC2 instances. The public key is stored on the EC2 instance and is used to encrypt messages that can only be decrypted by the corresponding private key, which is kept by the user who generated the key pair. The private key is used to decrypt messages that have been encrypted with the public key.