> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/compute/vmware-virtual-machines/how-tos/resize-virtual-machines.md).

# Resize virtual machines

***

Resizing a VMware VM changes the resources (CPU, RAM, and disk) allocated to the virtual machine. These are the two resizing options for a VMware VM:

* **CPU and memory**. This option increases or decreases the number of CPU cores and the amount of RAM available to a VM.
* **Storage**. You can permanently increase the disk size of a virtual machine. Note that you cannot decrease the disk size once it's increased.

Increasing a virtual machine’s memory and CPU improves its performance. Increasing the size of its disk increases the amount of data you can store.

## **Resize a VMware virtual machine using the control panel**

In the server overview, you can reconfigure the VM's resources, such as the number of CPU cores, memory, and disk size. Click on the VM name in the overview. You can then drag the handles in the *Configuration* dialog box to adjust the CPU cores, RAM, and disk size. Click **Reconfigure** to save.

{% hint style="danger" %}
Reconfiguring will automatically restart the server. Make sure to save any work before applying the changes.
{% endhint %}

<figure><img src="/files/NblfpDCHLbiD8bX2lOXj" alt=""><figcaption></figcaption></figure>

At the time of writing, the price is not updated immediately; the new price is only visible after the reconfiguration.

### Increase the disk size

Note that **you can only increase the disk size**. Once it has been increased, it cannot be reduced again. When resizing the disk, the virtual machine will restart automatically, as disk changes cannot be made while the machine is running. The system partition will automatically expand to the new size during the reboot.

{% hint style="info" %}
On older Windows VMs created before Q1 2024, the C-partition needs to be manually expanded. For detailed instructions on how to do this, see [Increase the partition size in Windows VMs created before Q1 2024](/products/compute/vmware-virtual-machines/how-tos/resize-virtual-machines/increase-the-partition-size-in-windows-vms-created-before-q1-2024.md).
{% endhint %}

{% hint style="info" %}
On older Linux VMs created before 2018, the partition needs to be manually expanded. For detailed instructions on how to do this, see [Intrease the partition size in Linux VMs created before 2018](/products/compute/vmware-virtual-machines/how-tos/resize-virtual-machines/increase-the-partition-size-in-linux-vms-created-before-2018.md).
{% endhint %}

### Overview of the monthly costs <a href="#overview-of-the-monthly-costs-1" id="overview-of-the-monthly-costs-1"></a>

You can always view a breakdown of the costs for your VMware VM at the bottom of the VM's overview page. It's a good idea to check the cost overview after making changes to the VM to avoid any surprises.

<figure><img src="/files/177ocbzMDjrh3nB9uLaF" alt=""><figcaption></figcaption></figure>

## Resize a VMware virtual machine with the API

To resize a virtual machine using the [API](/platform/control-panel/api.md), use the [server/edit](https://github.com/GleSYS/API-docs/wiki/API-Documentation#serveredit) endpoint.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.glesys.com/products/compute/vmware-virtual-machines/how-tos/resize-virtual-machines.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
