Manage your VMs
Crusoe Cloud is currently in alpha. If you do not currently have access, please request access to continue.
Creating a new VM
- CLI
- UI
Use the vm create
command to create a VM of your choice. As an example, you can create a VM that uses a single Nvidia A40 GPU:
crusoe vm create \
--name my-vm \
--type a40.1x \
--keyfile ~/.ssh/id_ed25519.pub
name
, type
, and keyfile
are required arguments. You can find the available machine types via the vm types
command.
In order to create a VM via the Crusoe Cloud console:
- Visit the Crusoe Cloud console
- Click the "Instances" tab in the left nav
- Click the "New Instance" button
- Select the desired instance type (e.g. "1x Nvidia A40")
- Input a name for the VM, using only letters, numbers,
-
and_
- Select the desired SSH key (e.g. "Default"); otherwise, upload an SSH public key (e.g.
~/.ssh/id_ed25519.pub
) - Click the "Create Instance" button
Viewing all existing VMs
- CLI
- UI
Use the vm list
command to list all existing VMs.
crusoe vm list
In order to list VMs via the Crusoe Cloud console:
- Visit the Crusoe Cloud console
- Click the "Instances" tab in the left nav
Update an existing VM
Currently, the only action you can take to update a VM is to update its state: start a stopped VM or stop a running VM.
- UI
In order to update the state of a VM via the Crusoe Cloud console:
- Visit the Crusoe Cloud console
- Click the "Instances" tab in the left nav
- Navigate to the row of the VM you wish to delete
- Click the "Start" or "Stop" icon to start or stop a given GPU
Updating state from within the VM
You can use standard unix
commands like shutdown
and restart
to change the state of a running VM. If you run shutdown
, the VM will shut down and transition to the Stopped
state. If you run restart
, the VM will reboot and will remain unreachable until it has fully restarted; however, the state will still be shown as Running
throughout the restart.
Deleting a VM
Warning: deleting a VM will also delete all data stored on the VM. Do not delete a VM unless you also wish to delete any downloaded or derived data.
- CLI
- UI
Use the vm delete
command to delete a VM of your choice. As an example, you can delete a VM by replacing VM_NAME
with the name of the VM you wish to delete:
crusoe vm delete --name VM_NAME
In order to delete a VM via the Crusoe Cloud console:
- Visit the Crusoe Cloud console
- Click the "Instances" tab in the left nav
- Navigate to the row of the VM you wish to delete
- Click the trash can icon on the far right side of the row
- Input the name of the VM in the input box
- Click the "I Understand" button
If you are having issues creating or deleting VMs, please contact support.