Skip to main content
Crusoe Support Help Center home page
Crusoe

How-To Configure Static IPs for Crusoe Cloud VMs

Rishabh Sinha
Rishabh Sinha
Updated

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:

  1. Using Crusoe Console:

    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

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 static

    Example:

 

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: 
         mceclip7.png
       
    • Apply changes 


       

Note: Private IPs are always static and unaffected by these changes.



 

Related to

Was this article helpful?

0 out of 0 found this helpful

Still need help?

Our support team is ready to assist you with any questions.

Have more questions? Submit a request

Recently Viewed

Comments

0 comments

Article is closed for comments.