---
title: "ezgh compute instances"
description: "Launch, manage and connect to instances."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute instances

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute instances <command>
```

Instances: virtual machines in the project. Launch them, start, stop, reboot, resize and terminate them, attach volumes and network interfaces while they're stopped, read their console output and connect to their serial console. Instances are given by ID (ins\_…), UUID or name.

Part of [`ezgh compute`](/cli/reference/compute).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh compute instances attach-network-interface`](/cli/reference/compute-instances-attach-network-interface) | Attach a network interface to a stopped instance |
| [`ezgh compute instances attach-volume`](/cli/reference/compute-instances-attach-volume) | Attach a volume to an instance |
| [`ezgh compute instances console-output`](/cli/reference/compute-instances-console-output) | Print an instance's recent serial console output |
| [`ezgh compute instances detach-network-interface`](/cli/reference/compute-instances-detach-network-interface) | Detach a network interface from a stopped instance |
| [`ezgh compute instances detach-volume`](/cli/reference/compute-instances-detach-volume) | Detach a volume from an instance |
| [`ezgh compute instances get`](/cli/reference/compute-instances-get) | Show an instance: its status, status checks, type, image, interfaces and volumes |
| [`ezgh compute instances health-events`](/cli/reference/compute-instances-health-events) | List an instance's health events, newest first |
| [`ezgh compute instances launch`](/cli/reference/compute-instances-launch) | Launch an instance |
| [`ezgh compute instances list`](/cli/reference/compute-instances-list) | List the project's instances |
| [`ezgh compute instances reboot`](/cli/reference/compute-instances-reboot) | Reboot a running instance |
| [`ezgh compute instances resize`](/cli/reference/compute-instances-resize) | Change an instance's type |
| [`ezgh compute instances serial-console`](/cli/reference/compute-instances-serial-console) | Connect this terminal to an instance's serial console |
| [`ezgh compute instances start`](/cli/reference/compute-instances-start) | Start a stopped instance |
| [`ezgh compute instances stop`](/cli/reference/compute-instances-stop) | Stop a running instance |
| [`ezgh compute instances terminate`](/cli/reference/compute-instances-terminate) | Terminate an instance |
| [`ezgh compute instances update`](/cli/reference/compute-instances-update) | Rename an instance or replace its tags |

Source: https://docs.ezghcloud.com/cli/reference/compute-instances/index.mdx
