Running CFDDFC with the AWS Console
- Launch an Instance
- Connect to an Instance
- Using OpenFOAM on an Instance
- Data Transfer to an Instance
- Connect with the Remote Desktop
- Data Storage
- Creating a Cluster of Instances
Problem with these instructions? Please send a CFDDFC Support Query.
Before Launching an Instance
- Ensure the Setup and Configuration is completed before starting this section.
- See Choose an Instance Type to understand the instances available to launch, e.g.
c5.2xlarge
. - See Pricing of Computing Resources to understand the costs of running CFDDFC.
- See Data Storage to understand storage requirements and use for CFDDFC.
- An instance then can be launched in 2-3 minutes.
Select an EC2 Instance
- Login to the Amazon EC2 Console.
- Select a suitable region, e.g. one that is near you (see drop-down menu, top right of the panel).
- Select Instances from the left menu.
- Click Launch Instance.
- Select AWS Marketplace; type
CFDDFC
in Search and hit Enter. - Select the CFD Direct From the Cloud product suitable for the instance.
- A panel appears showing pricing of CFD Direct From the Cloud. Click Continue
- Select your preferred Instance Type from the table, e.g.
c5.2xlarge
. - Click Review and Launch.
Modify Security (optional, removes a warning message)
- Select Edit Security Groups.
- From the Source drop-down menu, select My IP.
- Click Review and Launch.
Modify Storage Size (optional)
- Select Edit Storage.
- Set the amount of storage in the Size (GiB) text box.
- Click Review and Launch.
Launch the Instance
- Back in Review Instance Launch, Click Launch.
- A panel appears with Select and existing key pair of create a new key pair.
- If you have previously created a key pair and wish to use it, select the key pair.
- Otherwise select Create a new key pair, enter a name (suggestion:
awskey
) and click Create. - Save the private key file (e.g.
awskey.pem
) which is downloaded by your browser. Keep the file in a safe location. - Click Launch Instances.
Key Pair
- The key pair file is used to login to the instance using SSH.
- For Linux and Mac OS X users, a recommended location to save the file is a
.ssh
directory in your home directory. - The file permission must be set to read for the user only.
- For a key pair file named
awskey.pem
file in a.ssh
directory, type the following in a terminal:chmod 400 ~/.ssh/awskey.pem
- Windows 10 users can manage a key pair file similarly using Windows Subsystem for Linux.
- Further information: Creating Your Key Pair Using Amazon EC2.
Checking the Instance
- Click the instance ID (
i-XXXXXXXX
) link or View Instances. - The Instances panel of EC2 Management Console displays Instance Details and Status.
- From the Instances panel, or full description of the instance, note the Public IP in the form
XXX.XXX.XXX.XXX
.
Further information
See the Amazon EC2 User Guide.