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

# Create a cluster

> Create a hosted Cluster in a Region, or start attaching your own

![A new cluster: Akua's managed control plane comes online in your chosen region, with empty worker slots awaiting machines](https://docs.akua.dev/images/heros/clusters-create-light.svg)

Create a hosted Cluster when you want Akua to run the control plane and you want to join servers to it. If you already run a Kubernetes cluster, [attach it](https://docs.akua.dev/clusters/import.md) instead.

## Prerequisites

* A Workspace in Akua.
* A [Region](https://docs.akua.dev/clusters/regions.md) available in the Workspace.
* Room under your [cluster limit](https://docs.akua.dev/platform/quotas#limits-that-apply-to-clusters-and-servers).

## Create the cluster

**1. Start a new cluster**

In the [Clusters dashboard](https://akua.dev/clusters), click **New cluster**.

**2. Choose the type, name, and Region**

Set **Cluster type** to **Hosted by Akua**, enter a **Cluster name** (lowercase letters, numbers, and hyphens), and choose a **Region**. Click **Continue**.

**3. Review and create**

Review the details and click **Create cluster**. Akua accepts the request and starts the control plane in the background.

> [!TIP]
>
> When the control plane is ready, the Cluster's state is `awaiting_node`. Click **Add a server** to [join a server](https://docs.akua.dev/clusters/add-workers.md).

## Clusters that never get a server

If a hosted Cluster has never had a ready server, Akua deletes it six hours after creation, unless the Region has a different lifetime configured. The deletion has an Operation and releases the Cluster's capacity. Once a server becomes ready, this countdown is cancelled permanently.

When a trial server pauses, Akua keeps its Cluster until the server's snapshot retention ends (90 days), so upgrading to Pro can restore the server and rejoin it. After retention ends, an unused Cluster is deleted through the same workflow. [Attached Clusters](https://docs.akua.dev/clusters/import.md), Clusters with ready servers, and Clusters that still run apps are excluded.

## Create a cluster from the CLI or API

```bash
akua regions list
akua clusters create --kind hosted --name shop --region-id REGION_ID
akua operations wait OPERATION_ID
```

The create call returns an Operation that succeeds once the Cluster is ready. Retry with the same `Idempotency-Key` to get the same Cluster and Operation.

> [card] [Clusters API reference](https://docs.akua.dev/api-reference/clusters/list-clusters.md)
>
> Endpoints, parameters, and response shapes.

> [card] [Authentication](https://docs.akua.dev/apis/authentication.md)
>
> Mint API tokens for programmatic access.

## Related topics

> [card] [Add servers](https://docs.akua.dev/clusters/add-workers.md)
>
> Join a server so the Cluster can run Installs.

> [card] [Attach a cluster](https://docs.akua.dev/clusters/import.md)
>
> Connect a Kubernetes cluster you run.

> [card] [Clusters overview](https://docs.akua.dev/clusters.md)
>
> Hosted and attached Clusters, and their states.

> [card] [Regions](https://docs.akua.dev/clusters/regions.md)
>
> Where hosted control planes run.
