Skip to main content

Change Instance Resource

You can adjust the resources allocated to your DewaVPS Instance, such as CPU, RAM, and Disk space, to better match your application's performance needs or budget. This process is often called resizing or upgrading/downgrading.

Important Considerations:

  • Downtime Required: Resizing requires the Instance to be powered off. Plan for downtime accordingly.
  • Cost Changes: Adjusting resources will change the hourly and monthly cost of your Instance. Review the new cost carefully before confirming.

1. Power Off Your Instance (Required)

Before you can resize, the Instance must be completely shut down.

  1. Log in to your DewaVPS control panel.
  2. Navigate to the Instances section.
  3. Locate the Instance you want to resize in the list.
  4. Click on the Instance name to view its details and controls.
  5. Find the power controls and click the "Shutdown" button.
  6. Confirm the shutdown action if prompted.
  7. Wait for the Instance status to update to "Stopped".

2. Access the Change Resource Settings

Once the Instance is powered off:

  1. Look for a "Settings" tab/section. Click on it.
  2. Within the settings, find the option "Change Resource". Click this option.

3. Select New Resources

You should now see an interface allowing you to adjust the Instance's specifications.

  1. Modify the resources as needed using the provided sliders or input fields:

    • CPU: Adjust the number of virtual CPU cores.
    • RAM: Change the amount of memory allocated (e.g., in GB).
    • Disk: Increase the storage size (remember, decreasing is not possible).
    • Dedicated CPU Option: Enable or disable dedicated CPU cores (if available as an option).
    • Tier: You may be able to switch between different performance tiers like "General Compute VPS" and "High Performance VPS".
  2. As you adjust the settings, observe the updated cost estimate that should be displayed on the page.

4. Review and Confirm Resize

Before finalizing:

  1. Carefully review the new configuration (CPU, RAM, Disk, Tier, etc.) and the associated new hourly/monthly cost.
  2. Ensure you understand the changes you are making.
  3. Click the "Upgrade/Update" button to start the resizing process.
  4. The resizing process may take several minutes.

5. Power On Your Instance

Once the control panel indicates that the resize operation is complete:

  1. Navigate back to the main control view for your Instance.
  2. Click the "Run" button.
  3. Wait for the Instance to boot up completely. Its status should change to "Running".

Important Post-Resize Steps

  • Verify Resources: After the Instance boots, log in via SSH or VNC and verify that the operating system recognizes the new CPU cores and RAM (e.g., using commands like htop, lscpu, free -h).
  • Expand Filesystem: If you increased the disk size, the operating system won't automatically use the new space. You need to manually extend the partition and filesystem. The exact commands depend on your Linux distribution and filesystem (e.g., using lsblk to identify the disk/partition, growpart to extend the partition, and resize2fs for ext4 filesystems, or xfs_growfs for XFS). Consult documentation specific to your OS for filesystem expansion.