Last Updated: Dec 25, 2025
Introduction
This article explains how to configure Static IPs through the Crusoe Console, CLI, and Terraform . The process is seamless and does not interrupt running VMs.
Step-by-Step Instructions:
-
Impact : Non-disruptive toggle to static IP without downtime.
- Navigate to the Public IP section of the VM details.
- Toggle the IP type from Dynamic to Static.
- Steps with screenshots:
- Initial state with a Dynamic public IP:
- Select Static from the drop-down menu:
- Confirm the public IP is now Static
- Initial state with a Dynamic public IP:
2. Using Crusoe CLI
Impact : Immediate update applies to the running VM seamlessly.
- Run the following command to update the public IP type.
-
crusoe compute vms update <vm-name> --public-ip-type staticExample:
3. Using Terraform
Impact : Changes are managed in-place. Use lifecycle policies to avoid unintentional resource re-creation.
-
Modify the Terraform configuration to set the public IP type as Static.
resource "crusoe_compute_instance" "h100_vm" { . . . network_interfaces = [ { public_ipv4 = { type = "static" } } ] } - Steps with Screenshots:
- Initial state with Dynamic IP, change it to static:
- Apply changes
- Initial state with Dynamic IP, change it to static:
Note: Private IPs are always static and unaffected by these changes.