A key pair in AWS EC2 is used to secure SSH access to an instance:

Definition:

Purpose:

Creating a Key Pair:

Using a Key Pair:

Best Practices: