docscreate-self-local-compute-unit
Last edit August 04, 2024

Create a SELF compute unit - Local

How to install and run dxflow on your local computer

We strongly recommend directly using our CLI guide to create the SELF compute-units.

Starting with the simplest setup, the Local device operates without a static IP. Without a static IP, the Compute Unit will not be accessible when using the DiPhyx Dashboard from other devices.

Steps to Create a SELF-Local Compute Unit

Here are the steps to create a SELF-Local compute-unit:

1. Install DiPhyx CLI.

2. Go through the login process in terminal.

bash
diphyx login -e YOUR_EMAIL -p YOUR_DIPHYX_PASSWORD

Please visit login for detailed information on the login process.

3. Start the dxflow service:

bash
 diphyx dxflow up --create-compute-unit

After initiating the service, access the DiPhyx Dashboard on the same device where the service was started. You will see the newly created compute-unit listed under your compute-unit list. The name of the compute-unit corresponds to your device's name.

The compute-unit will only be available for use when its status changes to READY. To monitor its status, click on Events in the Dashboard:

Now that the compute-unit is ready, you can begin a new Project on this unit.

If you decide to rename the compute-unit, click on Adjust:

type the new name:

Note: This will not change the name of the device, and only change the compute-unit name

Click Adjust:

Terminate the Compute-Unit:

To terminate the compute-unit, use the following command::

bash
diphyx dxflow down --terminate-compute-unit

These steps ensure that even without a static IP, you can effectively manage and utilize local compute resources within DiPhyx's framework, enhancing your computational workflow efficiency.