Introduction
The following article will provide the CLI commands to list all of the information related to a VM in your project.
Prerequisites
- Terminal/Command line access
- Installed and configured the Crusoe CLI
To list all VMs in your default project
crusoe compute vms list
name type location state IB partition reservation
---------------------------------------------------------------------------------------------------------------------------------
slurm-compute-node-0 l40s-48gb.4x us-east1-a STATE_RUNNING -- --
slurm-compute-node-1 l40s-48gb.4x us-east1-a STATE_RUNNING -- --
slurm-compute-node-2 l40s-48gb.4x us-east1-a STATE_RUNNING -- --
slurm-compute-node-3 l40s-48gb.4x us-east1-a STATE_RUNNING -- --
slurm-head-node-0 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-head-node-1 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-head-node-2 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-head-node-3 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-login-node-0 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-login-node-1 c1a.16x us-east1-a STATE_RUNNING -- --
slurm-nfs-node-0 s1a.80x us-east1-a STATE_RUNNING -- --
To list details associated with a VM
crusoe compute vms get slurm-login-node-0
name: slurm-login-node-0
id: 7ded8f3e-d123-44ce-b567-000bc3218d78
type: c1a.16x
state: STATE_RUNNING
public IP: 192.52.24.56
private IP: 172.17.27.132
created at: 2024-10-31T23:18:03Z
reservation: --
To view more specific details associated with the VM (in JSON format)
crusoe compute vms get slurm-login-node-0 -f json
{
"created_at": "2024-10-31T23:18:03Z",
"disks": [
{
"attachment_type": "os",
"block_size": 512,
"created_at": "2024-10-31T23:18:04Z",
"id": "ee1238e0-8f7d-454d-a670-5d782d3123a7",
"location": "vaeq-cu",
"mode": "read-write",
"name": "OS-disk-6ded7f2e-d646-55ce-b123-000bc2342d44",
"serial_number": "AD6FBD4B4E23E5E0FFB",
"size": "128GiB",
"type": "persistent-ssd",
"updated_at": "2024-10-31T23:18:05Z"
}
],
"host_channel_adapters": [],
"id": "7ded8f3e-d123-44ce-b567-000bc3218d78",
"location": "us-east1-a",
"name": "slurm-login-node-0",
"network_interfaces": [
{
"id": "69dacd08-7886-23a2-9c08-23cbfdf194ec",
"interface_type": "Ethernet",
"ips": [
{
"private_ipv4": {
"address": "172.17.27.132"
},
"public_ipv4": {
"address": "192.52.24.56",
"id": "345c07a3-54e9-67ea-898b-e234cac7a89a",
"type": "static"
}
}
],
"mac_address": "1e:34:6e:3f:4a:78",
"name": "default-network-interface",
"network": "89cca34f-12b8-432a-857c-8a05012c5c12",
"subnet": "e9fb4e62-24bb-45db-be89-32ec4e65d45d"
}
],
"project_id": "ef23d123-f877-901e-9e12-8e654fef2ffa",
"state": "STATE_RUNNING",
"type": "c1a.16x",
"updated_at": "2024-10-31T23:18:16Z",
"virtualization_features": {}
}
To specifically view the Project ID associated with a VM
crusoe compute vms get slurm-login-node-0 -f json | grep project_id
"project_id": "ef23d123-f877-901e-9e12-8e654fef2ffa",
Additional Details
To view details regarding all VM types offered
crusoe compute vms types
type #cpu cores memory(GB) disk(GB) gpu type #gpus
-----------------------------------------------------------------------------------------
a100-80gb-sxm-ib.8x 96 960 1920 A100-SXM-80GB 8
a100-80gb.1x 12 120 960 A100-PCIe-80GB 1
a100-80gb.2x 24 240 1920 A100-PCIe-80GB 2
a100-80gb.4x 48 480 3840 A100-PCIe-80GB 4
a100-80gb.8x 96 960 7680 A100-PCIe-80GB 8
a100.1x 12 120 960 A100-PCIe-40GB 1
a100.2x 24 240 1920 A100-PCIe-40GB 2
a100.4x 48 480 3840 A100-PCIe-40GB 4
a100.8x 96 960 7680 A100-PCIe-40GB 8
a40.1x 6 60 - A40-PCIe-48GB 1
a40.2x 12 120 - A40-PCIe-48GB 2
a40.4x 24 240 - A40-PCIe-48GB 4
a40.8x 48 480 - A40-PCIe-48GB 8
c1a.128x 128 512 - - -
c1a.16x 16 64 - - -
c1a.176x 176 704 - - -
c1a.2x 2 8 - - -
c1a.32x 32 128 - - -
c1a.4x 4 16 - - -
c1a.64x 64 256 - - -
c1a.8x 8 32 - - -
h100-80gb-sxm-ib.8x 176 960 1920 H100-SXM-80GB 8
l40s-48gb.10x 80 1470 - L40S-48GB 10
l40s-48gb.1x 8 147 - L40S-48GB 1
l40s-48gb.2x 16 294 - L40S-48GB 2
l40s-48gb.4x 32 588 - L40S-48GB 4
l40s-48gb.8x 64 1176 - L40S-48GB 8
mi300x-192gb-ib.8x 240 2000 3840 MI300X-192GB 8
s1a.120x 120 768 76800 - -
s1a.160x 160 1024 102400 - -
s1a.20x 20 128 12800 - -
s1a.40x 40 256 25600 - -
s1a.60x 60 384 38400 - -
s1a.80x 80 512 51200 - -
Comments
0 comments
Article is closed for comments.