Would you like to learn how to create an EC2 key pair to access a virtual machine on Amazon AWS cloud? In this tutorial, we are going to show you how to create a new private key which is required to remotely access a virtual machine.
Tutorial - How to Create an EC2 Key Pair
Open your browser, access the Amazon AWS website and enter your login information.
After a successful login, you will be sent to the AWS Dashboard.
Access the COMPUTE menu and select the EC2 option.
On the EC2 Dashboard, access the Network & Security menu and click on the Key Pairs option.
On the Key Pairs screen, click on the Create Key Pair button.
You will have to enter a name to the new Key Pair.
You will have to save locally your private key.
In our example, we created a key pair named TEST.
In our example, we saved a file named TEST.PEM.
Tutorial - Convert EC2 Key from PEM to PPK
To convert a PEM file to a PPK file you will have to download the following software:
Open the PuttyGen software, access the Conversions menu and select the Import key.
After importing the PEM file, you need to set a password to protect your private key.
Click on the Save private key button to generate a file with the PPK extension.
In our example, a file named TEST.PPK was created.
You have successfully created an EC2 key pair using the PEM format.
You have successfully created an EC2 key pair using the PPK format.