Specifications
RUNNING COMSOL MULTIPHYSICS® WITH AMAZON™ ELASTIC COMPUTE CLOUD™ | 7
Create a Key Pair
In this section you will learn how to create a key pair on AWS™ in order to be able to
connect to it with SSH and COMSOL.
To connect securely with your Amazon™ virtual machines you need a key pair. You can
create a key pair using the following steps:
1 Go to https://console.aws.amazon.com/. If you aren‘t logged in to AWS™, you
will be redirected to the AWS™ login screen. Log in with your AWS™ account and
navigate to https://console.aws.amazon.com/.
2 Click the EC2™ icon.
3 Click Key Pairs.
4
Click Create Key Pair.
5 Give the key pair a name, e.g. My_Keypair, and click Create.
6
Save the file My_Keypair.pem to your computer.
Create Key for Use in PuTTY (Optional)
For Windows® operating system users, one option to connect to a remote machine via
SSH is to use the free program PuTTY. This software is available for download at
http://www.putty.org. To be able to connect to your newly created Amazon™ virtual
machine with PuTTY, you will need to convert your pem key file to PuTTY format.
To do this, follow the steps below:
1 Open the application PuTTYgen.
2 Click File > Load Private Key.
3
In the lower right corner, change the shown file type from PuTTY Private Key Files
(*.ppk) to All Files (*.*).
4 Navigate to the folder where you saved your key pair file, select it, and press Open.
5 A dialog window will show up, telling you that you need to save the key as a PuTTY
private key. Press
OK.
6 If you want to protect the key file with an extra layer of security, enter a pass phrase
in the fields Key passphrase and Confirm passphrase.
7 Click Save Private Key.
8 If you chose not to enter a pass phrase in step 6, a dialog window will show up,
telling you that your key is not protected by a pass phrase. Press
Yes to save the key
without a pass phrase.