Running CFDDFC with the CFDDFC CLI
- The CFDDFC command line interface (CLI)
- Install the CFDDFC CLI
- Configure the CFDDFC CLI
- Launch an Instance
- Run on an Instance
- Browser Desktop (Web CFDDFC)
- Launch a Cluster
- Terminate an Instance
Problem with these instructions? Please send a CFDDFC Support Query.
Terminating an Instance
When the user wishes to terminate an instance, they can do so within cfddfc
using the terminate
command. The particular instance to be terminated is selected either by launching the command within an OpenFOAM case directory that is attached to the instance (through a local .cfddfc
file that contains the instance ID) with
cfddfc terminate
or by specifying an instance ID, e.g. aB1cD2eF
, as an argument with the -key
option, e.g.
cfddfc terminate -key aB1cD2e
Terminating Slave Instances of a Cluster
If the user wishes to terminate the slave instances of a cluster, they can do using the terminate
command with the -cluster
option as follows:
cfddfc terminate -cluster
Similarly to the previous, the instance ID of the master instance can be specified as an argument with the -key
option.
Listing Instances
The user can find locate IDs by listing the instances registered in their ${HOME}/.cfddfc
directory by
cfddfc list
which produces a table of essential connection details of each instance, e.g.
Code InstanceId PublicIpAddress Region Status Label aB1cD2eF i-abc123def456ghi78 12.34.567.890 eu-central-1 ok ---
The ID in column 1 can then be used to specify a particular instance using the -key
option.
For a cluster of instances, the slave instances are listed following the master instance, with entries such as “=> cl 00
”, e.g.
Code InstanceId PublicIpAddress Region Status Label aB1cD2eF i-abc123def456ghi78 12.34.567.890 eu-central-1 ok --- => cl 00 i-jkl123mno456pqr78 --- --- ok --- => cl 01 i-stu123vwx456yza78 --- --- ok ---