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
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
- In the navigation pane, under NETWORK & SECURITY, choose Key Pairs.
- Choose Create Key Pair.
- For Key pair name, enter a name for the new key pair, and then choose Create.
- 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.