Step 1: Let’s create an AWS Key Pair

Note: This step 1 is not required if you already have a Key Pair set up you want to use or reuse, neither is specific to QTUM AMI usage. It is a requirement for all AWS EC2 instances.

You have two choices:

Follow official AWS documentation to create a Key Pair:

OR

Follow this step-by-step:

1/ Start by going to SERVICES > EC2

2/ Go to Network & Security > Key Pairs (in the left menu)

3/ Click on Create Key Pair button

4/ Choose a name (we will use QTUM for this example) and click on Create button

5/ The private key is a file — named QTUM.pem in our case — which will be downloaded automatically at this point. IT IS THE ONLY TIME YOU CAN SAVE IT. You will need it later, so save it somewhere safe. For example in directory:

~/.ssh

To move it, you can use following command (if QTUM.pem is located in ~/Downloads directory):

mv ~/Downloads/QTUM.pem ~/.ssh/

6/ Set correct rights for this file with command:

chmod 400 ~/.ssh/QTUM.pem

Note that setting these rights is a required step to be able to connect to your instance later in the tutorial. If we skip it, you will have a warning message.

7/ Congrats! You have successfully created a Key Pair to use with your AWS EC2 Instance.