Specifications
RUNNING COMSOL MULTIPHYSICS® WITH AMAZON™ ELASTIC COMPUTE CLOUD™ | 15
Forward Ports From Your On Premise License Server
In this section you will learn how to use an ssh client to forward access to your on
premise license server. This step is only necessary if you have chosen to forward your
on premise license server.
The port forwarding is needed to give the Amazon cloud™ access to your on premise
license server. The easiest way to start the port forwarding is to use the command listed
in the Outputs for the COMSOL license server stack. To start the port forwarding,
follow the steps below:
1 Navigate to https://console.aws.amazon.com/ and click the AWS
CloudFormation™ icon.
2 Select the stack you created for the COMSOL license server.
3 Click the tab Outputs.
4 Find the row with the Key value of SSHAccess or PuTTYAccess. Which one you
choose is dependent on what SSH software you have installed. Select the text in the
Value column and copy it, either by right clicking on it and choosing
copy or by
using the Ctrl+C shortcut.
5 Open a command prompt and navigate to the PuTTY or SSH installation folder.
6 Paste the command that you copied in step 4 into the command prompt window
and press Enter.
7 If asked Store key in cache?, type y and press Enter.
8 Leave the window open until you are finished with your computations. Your ports
are only forwarded as long as the SSH session is active, and closing the command
prompt will deactivate the session.
Create a COMSOL Multiphysics
®
server
In this section you will learn how to use the AWS CloudFormation™ tool to create a
COMSOL Multiphysics server on the cloud, to which you can connect with the
COMSOL client-server functionality.
The recommended way to use Amazon EC2™ to compute your COMSOL models is
to use the COMSOL Client-Server technology. This way of connecting to the cloud
makes it possible to work as if on your local computer but use the computational power
of the cloud for all demanding tasks.