Subscribe to our blog
Thanks for subscribing to the blog.
February 26, 2015
Topics: 1 minute read
When a new instance is launched, the password for the root or administrator accounts of EC2 instances will be randomly generated. The only way to get this password is to have access to the associated private key file called an EC2 KeyPair. In this article, we will explain how to pre-create an EC2 KeyPair.
Let’s begin!
- Log into EC2 KeyPair portion of the AWS Console (Note: KeyPairs are region specific so select the correct region location)
- Select Create KeyPair
- Enter a new name for the KeyPair
- The KeyPair will be downloaded automatically
Once you have downloaded the KeyPair, save it in a location that you will remember. This is the only time that you can save the file. Anytime that you launch a new EC2 instance, you can select to use this existing EC2 KeyPair instead of creating one for every launch.