---
title: How to Create a Cluster
url: https://docs.vultr.com/products/compute/clusters/create
description: Create a Vultr Compute, Bare Metal, or GPU Fabric Cluster with a plan, region, and pool size using the Console or API.
publish_date: 2026-10-27T21:32:42.024821Z
last_updated: 2026-10-28T17:02:55.180628Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

A cluster is a logical container that organizes compute resources under a single definition with shared networking. Creating a Compute Cluster or Bare Metal Cluster provisions the container and deploys instances to match `desired_pool_count`. Raising `desired_pool_count` later provisions additional instances automatically, but lowering it does not remove any. Remove instances manually to reduce the pool size. A GPU Fabric Cluster does not auto-provision. See [How to Use a GPU Fabric Cluster](https://docs.vultr.com/products/compute/clusters/use-gpu-fabric) for that workflow.

A cluster is one of three kinds, set through the `type` field in its response:

* **Compute Cluster** (`vps`): Cloud Compute instances available across multiple plan categories, including Shared CPU, Dedicated CPU, CPU Optimized, and General Purpose, suitable for a wide range of workloads, from web applications to compute-intensive services.
* **Bare Metal Cluster** (`bare-metal`): Single-tenant Bare Metal instances dedicated to one customer, offering maximum performance and direct hardware access without a hypervisor layer.
* **GPU Fabric Cluster** (`gpu-fabric`): Cloud GPU instances interconnected with automated high-performance fabric networking (RoCE or InfiniBand), designed for AI/ML training, distributed inference, and HPC workloads that require low-latency, high-bandwidth communication between nodes.

Follow this guide to create a cluster directly using a plan via the Vultr Console or the Vultr API. To create a cluster using a reusable instance template, see [How to Create a Cluster Using an Instance Template](https://docs.vultr.com/products/compute/clusters/create-from-template).

=== "Vultr Console"

    1. In the left-hand menu, click **Compute**, then click **Clusters**.
    1. Click **Create Cluster**.
    1. Under **Cluster Basics**, select **CPU Cluster** or **GPU Cluster**, then enter a **Name**.
    1. For a GPU Cluster, set **GPU Fabric** to **Yes** to create a GPU Fabric Cluster.
    1. Set **Cluster Workload Manager** to **Custom**.
    1. Under **Nodes**, select a node type, a **Plan Variant**, and a plan from **Plan Selection**.
    1. To use an existing template for the nodes instead, click **Use Instance Template**, select a template, then click **Use Template**.
    1. Under **Cluster Location**, select a location.
    1. Under **Cluster Size**, set **Minimum Number of Nodes** and **Desired Number of Nodes**. The minimum is 1 node.
    1. Under **Image Type / Source**, select the **Operating System**, **Snapshot**, or **Marketplace App** tab, then select an image.
    1. Under **Head Node**, select a node type, a **Plan Variant**, and a plan for the head node.
    1. To use an existing template for the head node instead, click **Use Instance Template**, select a template, then click **Use Template**.
    1. Under **Connectivity and Network**, select **Public Instance(s)**, **Public Instance(s) with VPC network**, or **Private Instance(s) behind NAT Gateway**.
    1. If you selected a VPC option, select one or more VPC networks from the list. For **Private Instance(s) behind NAT Gateway**, the list shows only VPC networks that have a NAT Gateway in the selected location.
    1. To create a new VPC network, click **Create VPC Network**, then complete the **Create VPC Network** panel:
        1. Enter a **Name**.
        1. Optionally, turn on **Custom IP Range**, enter an **IPv4 Network Address**, and select a **Network Prefix** of 16, 20, 24, 28, or **Custom** for any value from 16 to 28.
        1. Click **Create VPC Network**. A VPC network with a NAT Gateway is billed monthly.
    1. (Optional) To attach existing file systems, turn on **File Systems** under **Advanced Configuration**, then select one or more file systems from the list.
    1. (Optional) To attach a new file system, turn on **File Systems** under **Advanced Configuration**, then:
        1. Click **Create File System**.
        1. Enter a **VFS Label** and the size in gigabytes, then click **Create File System**.
        1. Select the new file system from the list.
    1. (Optional) To add existing SSH keys, turn on **SSH Keys** under **Advanced Configuration**, then select one or more keys from the list.
    1. (Optional) To add a new SSH key, turn on **SSH Keys** under **Advanced Configuration**, then:
        1. Click **Add SSH Key**.
        1. Enter a **Key Name** and paste your public key into **Public SSH Key Contents**, then click **Add SSH Key**.
        1. Select the new key from the list.
    1. Click **Create Cluster**.

=== "Vultr API"

    1. Send a `GET` request to the [**Get Cluster Availability** endpoint](https://www.vultr.com/api/#tag/clusters/operation/get-cluster-availability) to check available cluster types in your target region. Replace `REGION` with the region identifier, such as `ewr` or `ord`.

        ```console
        $ curl "https://api.vultr.com/v2/clusters/availability" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}" \
            -H "Content-Type: application/json" \
            -d '{
                "region": "REGION",
                "type": "vps"
            }'
        ```

        The response contains the available cluster types and plans for the specified region.

    1. Send a `POST` request to the [**Create Cluster** endpoint](https://www.vultr.com/api/#tag/clusters/operation/create-cluster) to create a new cluster. Replace `REGION` with the region identifier, `PLAN` with the compute plan, `CLUSTER_LABEL` with a descriptive name, and `HOSTNAME` with a hostname for the cluster's instances. Do not include an `instance_template` field alongside `plan`. The request accepts either one. The cluster type, Compute Cluster or Bare Metal Cluster, is inferred from `PLAN` and cannot be set directly. Set `gpu_fabric` to `true` to create a GPU Fabric Cluster. The `desired_pool_count` must be equal to or greater than `min_pool_count`.

        ```console
        $ curl "https://api.vultr.com/v2/clusters" \
            -X POST \
            -H "Authorization: Bearer ${VULTR_API_KEY}" \
            -H "Content-Type: application/json" \
            -d '{
                "region": "REGION",
                "plan": "PLAN",
                "label": "CLUSTER_LABEL",
                "min_pool_count": 2,
                "desired_pool_count": 2,
                "os_id": 2284,
                "hostname": "HOSTNAME",
                "notify_activate": true
            }'
        ```

        A successful request returns an HTTP `200 OK` response with the cluster details, including the inferred `type`. Note the cluster `id` for future operations.

        > [!NOTE]
        > Attach an existing Vultr File Storage (VFS) subscription with `vfs.ids`, or provision a new one inline with `vfs.create`. A VFS subscription must be in the same region as the cluster.

    1. Optionally, add a head node to the cluster by including `use_head_node` and `head_node_plan` in the request body. Replace `HEAD_NODE_PLAN` with the compute plan for the head node. The head node uses the same `OS_ID` as the compute nodes unless you provide a separate image source in a `head_node_template` object.

        ```console
        $ curl "https://api.vultr.com/v2/clusters" \
            -X POST \
            -H "Authorization: Bearer ${VULTR_API_KEY}" \
            -H "Content-Type: application/json" \
            -d '{
                "region": "REGION",
                "plan": "PLAN",
                "label": "CLUSTER_LABEL",
                "min_pool_count": 2,
                "desired_pool_count": 2,
                "os_id": 2284,
                "hostname": "HOSTNAME",
                "notify_activate": true,
                "use_head_node": true,
                "head_node_plan": "HEAD_NODE_PLAN"
            }'
        ```

        The response includes a `head_node_instance_template_id` and one additional instance labeled `Cluster Head Node`, with hostname `HOSTNAME-head-node`. The head node does not count toward `desired_pool_count`.

    1. Send a `GET` request to the [**Get Cluster** endpoint](https://www.vultr.com/api/#tag/clusters/operation/get-cluster) to retrieve the cluster details. Replace `{cluster-id}` with the ID from the previous step.

        ```console
        $ curl "https://api.vultr.com/v2/clusters/{cluster-id}" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

        Verify that `state` progresses from `empty` to `active` as instances are provisioned.
