Running CFDDFC with the AWS Console
- Configure a Security Group
- Create an SSH Key Pair
- Launch an Instance
- Connect to an Instance
- Using OpenFOAM on an Instance
- Data Transfer to an Instance
- Connect with the Remote Desktop (“Classic” CFDDFC)  or
Connect with the Web Browser Remote Desktop (Web CFDDFC) - Data Storage
- Creating a Cluster of Instances
Problem with these instructions? Please send a CFDDFC Support Query.
Install X2Go Client on Your Local Computer (one-time only)
Install the X2Go Client which provides remote desktop to access CFD Direct from the Cloud. X2Go is available for Linux, macOS MS Windows. X2Go Installation Instructions is the reference page for installation. More specifically, the installation instructions for different platforms are:
- Linux: Ubuntu/Debian/Raspian/Fedora
- Linux: RedHat
- MS Windows
- macOS — Note: requires the installation of Xquartz , as follows:
- Go to the Xquartz website, select the latest download and install.
- Start XQuartz.
- Select
XQuartz
→Preferences
→Security
- Check “Allow connections from network clients” and “Authenticate connections”.
- Shut down and Restart XQuartz.
Start the X2Go Client Application
- Launch the X2Go client software, e.g. from an application launcher or, for Linux, entering the following in a terminal
x2goclient &
Configuring a New Session
- From the Session menu, select New Session
- In the Session panel (see image below), set the:
- Session Name: your choice, e.g. OpenFOAM
- Host IP address: the public IP address of the instance in the form
XXX.XXX.XXX.XXX
- Login user name:
ubuntu
- RSA/DSA Key: the key file used for SSH connection to the instance
- Session Type: MATE
- In the Media panel, uncheck sound and printing support — it is not necessary and can cause connection problems.
- (Optional) In the Input/Output panel, customise the screen size suitable for your current monitor, e.g. Width 1920, Height 1200 for a large desktop monitor, Width 1280, Height 720 for a laptop.
- Click OK to save the session settings.
Running the Session
- Wait until the instance has fully launched in the AWS console before attempting to connect; it is sensible to wait until the Status Checks are complete.
- From the Client window, click on the OpenFOAM session panel as shown below:
- A window may appear confirming you wish to continue to connect to an unauthorized host. Select Yes to continue.
- The host desktop will appear as shown below. Open a terminal from the menu Menu → System Tools → MATE Terminal and start using OpenFOAM through the remote desktop.