Select .pem (required for OpenSSH and macOS/Linux).
Give your key pair a recognizable name (e.g., my-web-server-key ). Key pair type: Select RSA (most common) or ED25519 . download pem file from aws console
Click Create key pair . Your browser will automatically download the .pem file immediately. Select
Navigate to the Amazon EC2 Console.