Skip to content
Launch Platform

EugoHPC Manager

The EugoHPC Manager is where you manage the Ray clusters in your Eugo workspaces. It shows the shape of your compute and controls cluster-level behavior, most importantly whether a cluster's head node also runs your tasks. This page is the companion to Installing Python packages: that page covers what runs on your cluster (packages and runtime environments), and this one covers the clusters themselves.

Note: The EugoHPC Manager's screens described here may differ in detail from what you see. The Ray behavior on this page is Ray's own, and the outputs quoted were captured in an Eugo image.

Eugo's topology has three levels:

organization
└── workspace(s)
└── one-or-more Ray cluster(s) per workspace
└── each cluster has its own fleet running the Eugo image

An organization contains one or more workspaces, and each workspace owns one or more Ray clusters. Every cluster runs its own fleet of nodes, all started from the same Eugo image, so every node, head and workers alike, already carries Eugo's preinstalled Python packages. To see them in your own image, see What is already installed.

The EugoHPC Manager is a panel inside EugoLab, the same session you develop in. It shows your clusters as a list of cluster cards, each with the cluster's status and its actions (such as connect, edit and terminate; on a running cluster, open the Ray dashboard), plus a Cluster Launcher dialog for creating a new cluster.

To open the EugoHPC Manager, select the Eugo logo in JupyterLab's left bar; its tooltip reads "EugoHPC Clusters". The panel's heading reads Eugo HPC Clusters, and messages from the visual Ray builder call it the HPC panel. You can also open it from the command palette: its EugoHPC group has Open EugoHPC Manager, Launch New Cluster and Refresh Clusters.

The panel refreshes the status of your clusters every 30 seconds; the refresh button next to its heading (tooltip "Refresh") does it at once. The Launch New Cluster button at the top of the panel opens the Launch New HPC Cluster dialog (every setting in it is on Cluster settings). With no clusters, the list below it reads "No active EugoHPC clusters. Launch a new cluster to get started."

The panel with no clusters, next to a notebook:

Screenshot of EugoLab with the empty Eugo HPC Clusters panel on the left and a notebook with two run cells on the right

Each card shows the cluster's status as one of these labels: Starting, Running, Connected, Scaling, Stopping, Stopped, Terminating, Terminated or Error. A cluster that has ended shows Ended (see When a cluster ends).

While a cluster starts, its card reads Starting and shows how far it has got; its Connect button and Edit are grayed out:

Screenshot of a cluster card reading Starting, Provisioning 12 percent, with Connect and Edit grayed out

The same card on one launch that took about 7 minutes:

Six frames of one cluster card while it provisions, at 12, 61, 81, 89, 93 and 94 percent

A cluster is not a single machine. There are two places your Python code lives, and you manage them separately:

Environment What it is Managed with
Your interactive session The Python in your EugoLab container, where you develop. It is separate from your cluster's machines. pip and venv in your session (see Installing a package for your own session)
Your Ray cluster's workers The Python on every node of your cluster. A Ray runtime environment (see Packages on the cluster)

The EugoHPC Manager works at the level of the cluster, the fleet of nodes that runs your work at scale, rather than the packages inside it.

You drive a cluster's whole lifecycle from the EugoHPC Manager:

  • Create: the Cluster Launcher dialog. You choose the head node's type and size, one or more worker pools, optional shared storage (EFS), and an idle timeout. Worker pools come in tiers (CPU, GPU, and GB200 capacity blocks for reserved capacity), and you add only the tiers you need. Launching starts a head node plus the worker pools, all running the Eugo image.
  • Scale: each worker pool has a minimum and a maximum worker count. Ray's autoscaler grows the pool toward the maximum under load and shrinks it back toward the minimum when work drains; a worker that sits idle past the cluster's idle timeout is released. You don't manage individual nodes by hand.
  • Edit a running cluster: Edit on the cluster's card (its tooltip reads "Scale cluster") lets you change each worker pool's minimum and maximum workers (Min Compute Nodes and Max Compute Nodes). The idle timeout, the node sizes and everything else are shown read-only; to change those, launch a new cluster (see Changing a running cluster). The autoscaler picks up the new limits without restarting the head node, so your running jobs keep going. A cluster that failed to start, or whose edit failed and left it with no running head node, cannot be edited: its Edit is grayed out and its card says "This cluster has no running head node. Create a new cluster." After a failed edit, a cluster on a paid GB200 capacity block is the exception, because it keeps its block. With ECU or ECU-G pools its Edit stays available, and its card says "The last edit to this cluster failed. It holds a paid GB200 capacity block, so you can still edit it." and how to try again. With only GB200 workers its Edit is grayed out, because the block fixes their number and an edit has nothing to change (see A cluster with no running head node). A cluster on a block whose head node stopped, or whose GB200 workers did not finish starting, shows a grayed-out Edit once Eugo has found that, until Eugo has started the GB200 workers again, and a cluster held for a person to fix shows a grayed-out Edit too (see When something goes wrong on a block). Once Eugo has found that the head node of a cluster on a block stopped, or that its GB200 workers did not finish starting, its card also has a Retry now button, which asks Eugo to try to start it at once instead of at its next hourly try. When it cannot be pressed, for example while the cluster is held for a person to fix or after its block has ended, it is grayed out and its tooltip says why. A cluster that is waiting for its block to begin, or that is starting, has no Retry now: once Eugo accepts a press, the button goes away while the cluster waits to start and while it starts, and it comes back only if that start fails too (see Retry now). Edit is also grayed out while a cluster on a block waits for its GB200 workers to start, and on a cluster running normally on a block once Eugo has been warned that the block is about to end.
  • Terminate: shuts the whole cluster down, head node, workers and shared storage. Terminating is final for that cluster. Click Terminate on the cluster's card (tooltip "Terminate cluster"). The Terminate Cluster dialog asks "Are you sure you want to terminate cluster <name>?" and warns that terminating the cluster also terminates its shared drive, if it has one, and that "This action cannot be undone. All running tasks will be canceled and any unsaved data will be lost." Type terminate in the box, then click Terminate.

The Terminate Cluster dialog, before and after typing terminate:

Screenshot of the Terminate Cluster dialog with an empty confirmation box Screenshot of the Terminate Cluster dialog with terminate typed and the Terminate button red

The card then reads Terminating. Here the Ray DAG Builder is open on the right:

Screenshot of EugoLab with a cluster card reading Terminating, a notebook, and the Ray DAG Builder

A cluster can also end without your terminating it: through an idle shutdown (see Idle Shutdown Policy), an unexpected loss, or a relaunch that failed to start. Its machines are gone, and its card shows Ended with how it ended: "Idle shutdown", "Unexpected loss" or "Failed start". An ended cluster did run, so its card's tooltip says how it ended and never that it failed.

A cluster whose first start fails is not shown as Ended. Its card shows Error instead, and the card's tooltip either names what went wrong or reads "Cluster failed. Retry or delete this cluster."

If the cluster had shared storage, its shared drive and files are kept after it ends, for as long as you chose at launch under After the cluster ends, keep its files: 7 days (the default) or Until I delete the cluster. An ended card offers:

  • Relaunch: "Start this cluster again on its kept shared drive (your files are still there)". The Relaunch Cluster dialog notes that the cluster starts again with the same settings, and that its machines are billed while they run. Relaunch needs the kept files: once they are no longer kept, its tooltip reads "Relaunch is not available: this cluster's files are no longer kept", and on a cluster that had no shared drive, "Relaunch is not available: this cluster had no shared drive. Clone it to start it again".
  • Clone: "Start a new cluster with this cluster's settings (it gets a new, empty shared drive)". On a cluster that had no shared drive, the tooltip reads "Start a new cluster with this cluster's settings".
  • Delete: removes the cluster. Type the cluster's name to confirm. The dialog's warning depends on what was kept:
    • with a kept shared drive: "This cluster ended, and its shared drive was kept. Deleting the cluster also deletes its shared drive and every file on it, for good. This cannot be undone."
    • with no shared drive: "This cluster ended and had no shared drive. Deleting it removes it from your list. This cannot be undone."
    • once the kept files have been deleted: "This cluster ended, and its kept files have already been deleted. Deleting it removes it from your list. This cannot be undone."

To get back to a kept cluster's files, click Relaunch on its card before they are deleted. Relaunch is the only way back to them: an ended cluster has no running machines, and Clone starts a new cluster with a new, empty shared drive.

  • Which ends keep the files. Every end except a Terminate or a Delete keeps the shared drive: an idle shutdown, an unexpected loss, and a relaunch that failed to start. A cluster whose first start fails keeps nothing: its shared drive is deleted, because no work was written to it yet.
  • How long they are kept. With 7 days, the files are kept for 7 days after the cluster ended, and the card shows "Files kept until" with the date and time in your own time zone. With Until I delete the cluster, the card shows "Files kept until you delete this cluster", and they are not deleted on a schedule.
  • Relaunch. It starts the same cluster again, with the same settings, on its kept shared drive, so your files are where you left them. While it runs, you can keep working with them or copy anything you want to keep somewhere else. Once the relaunched cluster is running, the countdown stops. If it ends again without being deleted, its files are kept again for as long as you chose at launch: another 7 days, or until you delete it. If the relaunch fails to start, the cluster ends again and its files are kept the same way.
  • The reminder email. With 7 days, Eugo emails the person who launched the cluster once, about a day before the files are deleted. Its subject is "Eugo: your ended cluster's files will be deleted soon". It names the cluster and the date and time the files are deleted, in UTC, and says how to keep them: "To keep these files, open JupyterLab and Relaunch the cluster before then. If it ends again without being deleted, its files are kept for another 7 days." It also says that if you no longer need them, there is nothing to do, and that Clone starts a new cluster with the same settings instead. No reminder is sent for Until I delete the cluster.
  • When they are deleted. Once the date has passed, Eugo's hourly check deletes the shared drive and every file on it. The card shows "Files are being deleted" and then "Files deleted", and Relaunch is no longer available. A deletion cannot be undone.
  • What it costs. A kept shared drive is billed until it is deleted, as Persistent File Storage (per GB per month) on your invoice (see Billing). To stop paying for it sooner, delete the cluster: that deletes the files at once.

The keep choice is not offered for a cluster on a GB200 capacity block. Its shared storage at /mnt/ss is deleted with the cluster when the block's window ends (see When the window ends).

This is the main control the EugoHPC Manager gives you over where your work runs. To use it well, start with how Ray behaves by default.

Your script runs in a driver process; the code you distribute runs in worker processes. Those worker processes run on every Ray node, not only the worker nodes but the head node too: by default a Ray head node schedules tasks and actors like any other node, unless it was started with --num-cpus=0. Two facts follow:

  1. By default, the head node takes part in scheduling. It advertises CPUs and runs tasks and actors like a worker node, so your distributed work can land on it.
  2. --num-cpus=0 is the off switch. A head node started with zero advertised CPUs runs no tasks or actors; it only coordinates the cluster, and the worker nodes run your work.

The head node is not only a compute node. It also hosts the cluster's coordination services: Ray's Global Control Store (GCS) and raylet, the Ray Client server your session connects through, and the dashboard. Those services keep the whole cluster running, and they compete for the head node's CPU and memory with any tasks scheduled there.

The EugoHPC Manager turns this Ray behavior into one setting, Allow Tasks on Head Node, so you don't set --num-cpus yourself:

Setting Head node behavior Ray equivalent When you want it
On The head node runs your tasks and actors in addition to the cluster's coordination services. Head started with its CPUs advertised (Ray's default). You want the most compute and accept that tasks share the head node with the GCS, the Ray Client server and the dashboard.
Off The head node only coordinates the cluster; only worker nodes run your tasks and actors. Head started with --num-cpus=0. You want the head node's resources kept for running the cluster, with no task competing with its services.

The trade-off:

  • On gives you more compute, because the head node's CPUs join the pool, at the cost of contention: a heavy task on the head node competes with the services that coordinate the cluster, which can make the whole cluster less responsive or less stable.
  • Off gives you a dedicated, stable coordinator, at the cost of the head node's compute: your tasks run only on worker nodes.

Allow Tasks on Head Node is a checkbox in the head-node section of the Cluster Launcher. Its help text in the product reads:

When enabled, the Head Node can also run workloads in addition to management duties. Disabling makes the Head Node dedicated to management only and therefore makes the cluster more resilient.

Three practical facts:

  • It is on by default for a new cluster.
  • It is chosen when you create the cluster, and it is not among the settings you can change on a running cluster (only each pool's minimum and maximum workers can be changed there). To change it, launch a new cluster.
  • If you turn it off, you must define at least one worker pool. With no tasks allowed on the head node, a cluster without workers would have nowhere to run your work, so the Launcher requires a worker pool.

A running cluster's card in the EugoHPC Manager has a section headed Connect, with a Connect from tab list of two tabs: Notebook and Remote. To connect your interactive session to the cluster, open the Notebook tab and click Connect this notebook. That attaches your notebook session to the cluster through Ray Client, and from then on your eugo.hpc code runs on that cluster (as in Packages on the cluster). The button gives the notebook's kernel the cluster's token without showing it, then adds a cell to your notebook and runs it; that cell holds the cluster's address, in the form eugo.hpc.init(address="ray://<head>:10001"), so you never have to look the address up. Clusters come and go, each with its own address, so never hard-code a ray:// address in your code.

The Connect section holds:

  • Address inside workspace: the cluster's ray:// address (ray://<head>:10001), read-only, with a Copy button that copies it.

  • Connect this notebook: connects the notebook you have open, as above. While that notebook is connected, the same button reads Disconnect.

  • Copy code: writes the cluster's token to a file in this lab, the same way Connect does, then copies three lines of Python that read the token from that file. The token itself is never shown or copied:

    import eugo.hpc
    eugo.hpc.use_auth_token_file("<token file>")
    eugo.hpc.init(address="ray://<head>:10001");

    Paste the code into a notebook or Python console in this lab. Copy it again after the lab restarts, and in a notebook already connected to Ray, run eugo.hpc.shutdown() first.

  • The Remote tab, for code that runs outside EugoLab. It reads "Run this from any machine outside JupyterLab. It connects through the workspace's secure address." Its note: "Needs the same Ray and Python version as the cluster. Save the token below as ray_token.txt."

  • Cluster token: the cluster's token, hidden until you click the eye button (Show token; click it again to hide it, Hide token). The line under it reads "Anyone with this token can use the cluster. Don't share it."

A card without a Connect section (a cluster that is not running, or not yet reporting its address) shows a Connect button in its footer instead. While the cluster is provisioning, that button is grayed out, with the tooltip "Connect unavailable while provisioning".

The Ray Client server your session connects through is one of the head node's coordination services, which is part of why Allow Tasks on Head Node matters: when it is on, your tasks share the head node with the server your session is talking to.

A running cluster's card also offers Open Dashboard, which opens that cluster's Ray dashboard, the main view of a running cluster's nodes, resources and jobs.

Connect this notebook gives you a plain connection: it attaches your session, but it does not let you give that connection a runtime environment. When you need one for the whole job (your own env_vars, pip, working_dir or py_modules), let the button set the connection up first, then replace it with one you write yourself. eugo.hpc.init takes the cluster's address and a runtime_env in the same call, so everything Installing Python packages says about runtime environments works on a connection you write by hand (except worker_process_setup_hook; see point 3 below).

Step 1: connect and copy the address. In the notebook you will work in, click Connect this notebook on the cluster's card. Copy the ray:// address with the Copy button of the card's Address inside workspace field, or from the eugo.hpc.init(address="ray://<head>:10001") line of the cell Connect added. Connect also gives this notebook's kernel the cluster's token, without showing it. Clusters come and go, so get the address each session and never commit it to your code.

Step 2: disconnect, in the same kernel. Click Disconnect on the cluster's card (it is where Connect this notebook was), or run eugo.hpc.shutdown(). You need to end the button's connection before you start your own: while it is still connected, a second eugo.hpc.init(address=...) fails. Do not restart the kernel or switch notebooks: the token Connect set up lives in this kernel, and it stays there after you disconnect. In a restarted kernel or another notebook, click Connect this notebook again.

About the token. Every Eugo cluster runs with Ray's token authentication on, and that applies to a connection you write yourself just as it does to Connect this notebook, which supplies the token for you. Ray looks for the token in three places: the RAY_AUTH_TOKEN environment variable, the file named by RAY_AUTH_TOKEN_PATH, or ~/.ray/auth_token. Connecting to a host:6379 address with a wrong token logs InvalidAuthToken: Authentication token is missing or incorrect and then fails with ConnectionError: Failed to connect to Ray cluster at <address>; to a ray:// address, a wrong token fails with ConnectionError: ray client connection timeout. Connecting with no token available fails at once with an AuthenticationError that names those same three places.

Step 3: write the connection. In the same kernel, all four settings go in one runtime_env:

import eugo.hpc
eugo.hpc.init(
address="<the ray:// address you copied in Step 1>",
runtime_env={
"env_vars": {"MY_FLAG": "1", "OMP_NUM_THREADS": "8"},
"pip": ["cowsay==6.1"],
"working_dir": "/home/eugo/my_project",
"py_modules": ["/home/eugo/my_project/mypkg"],
},
)

eugo.hpc.init is ray.init: address= and runtime_env= are Ray's own parameters, so the same connection written as ray.init(...) behaves identically, and that is how the outputs on this page were captured.

What each key does:

Key What it does on the cluster More
env_vars Sets environment variables in every worker process. Environment variables and setup code
pip Installs extra packages into a per-job venv created with --system-site-packages, so Eugo's packages stay visible. The package must be reachable from the cluster (your index, or a wheelhouse you point pip at). Installing packages on the workers with pip
uv The same per-job venv as pip, installed by uv (faster for long lists); uv_pip_install_options in place of pip_install_options. Installing packages on the workers with uv
working_dir Uploads a local directory and makes it the workers' working directory and import path. Pair it with excludes to keep large files out of the upload. Shipping your own code
py_modules Uploads specific local modules or packages onto the workers' import path. Shipping your own code
worker_process_setup_hook Runs setup code once per worker process, before any of your tasks. Takes a function or a string such as "my_pkg.my_module.setup". Environment variables and setup code

Four things to know before you rely on this:

  1. Pass runtime_env as a plain dict. RuntimeEnv is not among the names Ray exports in ray.__all__, so do not expect eugo.hpc.RuntimeEnv. Pass a dict, as above, or import the typed object explicitly with from ray.runtime_env import RuntimeEnv.
  2. The keys are Ray's, and a misspelled key fails silently. The keys Ray acts on are config, conda, container, env_vars, excludes, image_uri, java_jars, pip, py_executable, py_modules, uv, working_dir and worker_process_setup_hook (plus a few internal ones that start with an underscore). Anything else is accepted with no error and does nothing: passing {"env_var": {"TYPO_FLAG": "x"}, "env_vars": {"GOOD_FLAG": "y"}} gave a worker {'TYPO_FLAG': None, 'GOOD_FLAG': 'y'}. Check your spelling, because nothing else will. conda is on Ray's list but is not usable in the Eugo image; uv is.
  3. worker_process_setup_hook depends on the form of the address. Against a direct GCS address (host:6379) both forms work, a function and a "my_pkg.my_module.setup" string. Against a Ray Client address (ray://host:port) neither does: a function raises TypeError: Object of type function is not JSON serializable … when serializing dict item 'worker_process_setup_hook', and the string form connects but the hook silently does not run. The other keys shown above (env_vars, working_dir, py_modules) apply normally over ray://. So if your address starts with ray://, do that setup inside your tasks, or in the code py_modules ships, rather than in the hook.
  4. This runtime environment applies to the whole connection. To vary it for one task, use @eugo.hpc.distribute(runtime_env=...) instead.

Note: The cards do not track a connection you write by hand. The EugoHPC Manager tracks the connections it makes itself, so a session you attached with eugo.hpc.init(address=…) does not show as connected on that cluster's card. Instead, once the manager sees that the notebook is running Ray that a cell started (when you next open or switch to the notebook, or click Connect), every card offers Disconnect in place of Connect this notebook, with the tooltip "This notebook is already running Ray, started by a cell rather than through Connect. Disconnect it before connecting a cluster." Clicking that Disconnect ends your connection and brings Connect this notebook back. The cards offer that same Disconnect in a notebook where you ran the code Copy code copies. If you detach with eugo.hpc.shutdown() in a cell instead, the cards keep showing Disconnect until you next open or switch to the notebook. Keep your own note of which cluster such a session is attached to, and do not read a card's connection state as the whole picture.

You don't configure cluster security yourself: the EugoHPC Manager sets up each cluster, its token and its storage when it creates the cluster.

  • Token authentication. Eugo turns on Ray's built-in token authentication with a strong token for each cluster, so connecting to a cluster as a Ray client requires that cluster's token (see Connecting by hand for what a wrong or missing token does).
  • Treat a cluster's address and token as secrets, and terminate a cluster you are no longer using. Terminating removes its nodes and its shared storage.
  • Installing Python packages: what is preinstalled, pip and venv in your own session, and Ray runtime environments (pip, uv, working_dir, py_modules, env_vars) for the cluster's workers.
  • EugoLab: the development environment the EugoHPC Manager lives in.

© 2026 Eugo Inc. · Third-party licenses · LinkedIn (opens in new tab) · YouTube (opens in new tab) · GitHub (opens in new tab)