Last Updated: Jan 15, 2025
Introduction
This article explains the procedure for resizing an existing Crusoe VM using the Crusoe Command Line Interface (CLI).
Note: This operation can only be done for partial SKUs such as A100 PCIe, c1a, s1a, L40s. There is an ongoing bug with L40s at the moment.
Prerequisites
- Access to the Crusoe CLI.
- The name of the VM you wish to resize.
Step-By-Step Instructions
-
Resize the Virtual Machine
Use the
crusoe compute vms updatecommand, specifying the VM name and the desired new instance type with the--typeflag.Note: This operation requires the VM to be stopped. If the VM is currently running, the CLI will prompt you to confirm stopping it before proceeding. The VM will remain in a
STATE_SHUTOFFafter the resize is complete.Command:
$ crusoe compute vms update <vm-name> --type <new-instance-type>Example:
$ crusoe compute vms update jump-server --type c1a.4x The VM you are trying to resize is currently running. Resizing will result in this VM being stopped. Are you sure you want to stop this instance (y/[N]): y name: jump-server id: --REDACTED-- type: c1a.4x state: STATE_SHUTOFF public IP: not assigned private IP: 172.27.43.166 internal DNS: jump-server.us-southcentral1-a.compute.internal external DNS: created at: 2025-09-02T10:11:09Z reservation: -- -
Start the Virtual Machine
After the resize operation is successful, the VM will be in a stopped state. You must manually start the VM to begin using it with the new resources.
Command:
$ crusoe compute vms start <vm-name>Example:
$ crusoe compute vms start jump-server name: jump-server id: --REDACTED-- type: c1a.4x state: STATE_RUNNING public IP: --REDACTED-- private IP: 172.27.43.166 internal DNS: jump-server.us-southcentral1-a.compute.internal external DNS: --REDACTED-- created at: 2025-09-02T10:11:09Z reservation: --