Creating a Key Pair Using Amazon EC2

The CloudFormation template will require you to provide an Amazon EC2 key pair. if you already have an EC2 key pair, proceed to the next chapter.

To create your key pair using the Amazon EC2 console
  1. Open the Amazon EC2 console at
  2. In the navigation pane, under NETWORK & SECURITY, choose Key Pairs.
  3. Choose Create Key Pair.
  4. For Key pair name, enter a name for the new key pair, and then choose Create.
  5. The private key file is automatically downloaded by your browser. The base file name is the name you specified as the name of your key pair, and the file name extension is .pem. Save the private key file, this file will be required in the next chapter.