In this recipe, we will generate a key pair in our local machine using OpenSSL and upload our public key into AWS. In the previous recipes, we generated key pairs in AWS and downloaded the private key.
Using our own private and public keys with EC2
Getting ready
We need a working AWS account to complete this recipe. We also need OpenSSL or a similar tool to generate the keys.
How to do it...
First, we will generate a private key and a public key on our local machine using OpenSSL. Then, we will upload our public key into AWS. After that, we will specify the key pair while...