# Managing Virtual Machines | Cycle.io

Canonical URL: https://cycle.io/docs/portal/managing-virtual-machine

## Managing Virtual Machines.

Managing virtual machines in the portal is done through the virtual machine modal.

To get there:

1.  Environments for the main, left-hand navigation.
2.  Select the environment the virtual machine is in from the first column.
3.  Use the Virtual Machines tab to view existing virtual machines.
4.  Select the desired virtual machine from the list, opening the modal to the [virtual machine dashboard](https://cycle.io/docs/portal/virtual-machine-dashboard).

The virtual machine modal has several sub categories that can be used for management and administration:

1.  [Virtual Machine Dashboard](https://cycle.io/docs/portal/virtual-machine-dashboard)
2.  [Virtual Machine Configuration](https://cycle.io/docs/portal/virtual-machine-configuration-overview)
3.  [Virtual Machine Telemetry](https://cycle.io/docs/portal/virtual-machine-telemetry)
4.  [Virtual Machine Volumes](https://cycle.io/docs/portal/managing-virtual-machine#virtual-machine-volumes)
5.  [Virtual Machine Settings](https://cycle.io/docs/portal/managing-virtual-machine#virtual-machine-settings)

### Virtual Machine Volumes

The **Volumes** tab lists the VM’s volumes. Select a volume to see its configuration, extend it, or check its usage.

#### Disk Cache Mode

Additional volumes have a cache mode that controls how writes move from the VM to the server’s disk. The base volume doesn’t have this setting. Cache mode can’t be set when creating a VM, only after the VM is created.

To change it, select the volume, expand **Advanced** under **Configure**, and pick a mode from **Cache Mode**. **Use Platform Default** applies `writeback`.

| Mode | Host page cache | VM sees a write cache | When to use |
| --- | --- | --- | --- |
| `none` | Bypassed | Yes | Databases and write-heavy VMs. Avoids double caching. Data is durable once the VM flushes. |
| `writeback` | Used | Yes | General use. Fast reads and writes. Data is durable once the VM flushes. |
| `writethrough` | Used | No  | Every write is flushed before it completes. Safest, slowest writes. |
| `directsync` | Bypassed | No  | Like writethrough, but skips the host cache. |
| `unsafe` | Used | Yes | Ignores flushes. Fastest, but a server crash can lose or corrupt data. Only for disposable data. |

### Virtual Machine Settings

Users can make changes to the virtual machine settings using the **Settings** tab on the virtual machine modal.

#### Basic Settings

Gives the user a space to make changes to:

| **Field** | **Description** |
| --- | --- |
| Name | The human readable name for the virtual machine. |
| Identifier | How the platform identifies this resource. |
| Deprecate | If checked, the virtual machine will be marked deprecated. |
| Lock Virtual Machine | If checked, the virtual machine will be [locked](https://cycle.io/docs/platform/container-management#locking-a-container) and the platform will deny attempts to delete it. |

#### Update Root Password

The update root password provides a mechanism for the user to update the root password for the root user of the VM.

##### Changing Password in VM

Do not change the password inside the VM or the password will not show up correctly in the Cycle portal. Always use the portal or the API to submit a root password change request UNLESS this is unimportant to you.

#### SSH Keys

Users can [add SSH keys](https://cycle.io/docs/platform/virtual-machine-access#ssh-keys) to VM's during create or through the form on the settings page. Each time an ssh key is added or removed and the changes are submitted through the Update SSH Keys button, the VM is restarted.

##### Environment SSH Keys

SSH Keys created for virtual machines can be used for any virtual machine in the environment. SSH keys can be added to the environment through the [Virtual Machine SSH Keys](https://cycle.io/docs/portal/managing-an-environment#virtual-machine-ssh-keys) form in environment settings as well.

#### Virtual Machine ID

The ID for the virtual machine, used by the platform as a way to identify this virtual machine.

#### Hypervisor Container

This section has a link and ID for the [hypervisor container](https://cycle.io/docs/platform/introduction-to-virtual-machines#how-virtual-machines-work-on-cycle) for the given VM.

Click the link to open the modal for the hypervisor, this is the only way to directly access the hypervisor and shouldn't be used other than to verify output on the hypervisor instance console or other debugging / administrative tasks.

#### Migrate the Virtual Machine

For detailed informaiton about migrating visit the [platform virtual machines page](https://cycle.io/docs/platform/migrating-virtual-machines).

Use the form to migrate the virtual machine, this can only be done intraprovider and within the same region.

#### Delete Virtual Machine

To delete the virtual machine, use the delete form entering the name of the virtual machine and submitting.

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
