2. Prepare SSH keys to access the Amazon EC2 F1
SSH keys are needed in order to connect to the instance. You could generate them locally in your computer or in the EC2 management console.
These steps were partially taken from here.
- Open the EC2 Management Console
- In the left pane, select Key Pairs from the NETWORK & SECURITY menu
- Choose the Create Key Pair button
- Name your key pair and choose Create. A .pem file will be automatically downloaded
- Move the key file (.pem) to your
~/.ssh
folder - Change the permission of the key file (.pem)
chmod 400 <my-key-pair.pem>