---
title: "Create an Instance Pool"
method: POST
path: "/instance-pool"
tags: ["instance-pool"]
---

# Create an Instance Pool

`POST /instance-pool`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/instance-pool`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/instance-pool/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `application-consistent-snapshot-enabled` boolean: Enable application consistent snapshots
  - `anti-affinity-groups` AntiAffinityGroupRef[]: Instance Pool Anti-affinity Groups
    - `id` string, uuid: Anti-affinity group ID
  - `description` string: Instance Pool description
  - `public-ip-assignment` 'inet4' | 'dual' | 'none': Determines public IP assignment of the Instances. Type `none` is final and can't be changed later on.
  - `labels` Labels
  - `security-groups` SecurityGroupRef[]: Instance Pool Security Groups
    - `id` string, uuid: Security group ID
  - `elastic-ips` ElasticIpRef[]: Instances Elastic IPs
    - `id` string, uuid: Elastic IP ID
  - `name` string, required: Instance Pool name
  - `instance-type` InstanceTypeRef, required: Instance type reference
    - `id` string, uuid: Instance type ID
  - `min-available` integer: Minimum number of running Instances
  - `private-networks` PrivateNetworkRef[]: Instance Pool Private Networks
    - `id` string, uuid: Private network ID
  - `template` TemplateRef, required: Template reference
    - `id` string, uuid: Template ID
  - `size` integer, required: Number of Instances
  - `ssh-key` SshKeyRef: SSH key reference
    - `name` string: SSH key name
  - `instance-prefix` string: Prefix to apply to Instances names (default: pool)
  - `user-data` string: Instances Cloud-init user-data
  - `deploy-target` DeployTargetRef: Deploy target reference
    - `id` string, uuid: Deploy target ID
  - `ipv6-enabled` boolean: Enable IPv6. DEPRECATED: use `public-ip-assignments`.
  - `disk-size` integer, required: Instances disk size in GiB
  - `ssh-keys` SshKeyRef[]: Instances SSH Keys
    - `name` string: SSH key name

## Response `200`

200

- Operation: Operation
  - `id` string, uuid: Operation ID
  - `reason` 'incorrect' | 'unknown' | 'unavailable' | 'forbidden' | 'busy' | 'fault' | 'partial' | 'not-found' | 'interrupted' | 'unsupported' | 'conflict': Operation failure reason
  - `reference` object: Related resource reference
    - `id` string, uuid: Reference ID
    - `link` string: Link to the referenced resource
    - `command` string: Command name
  - `message` string: Operation message
  - `state` 'failure' | 'pending' | 'success' | 'timeout': Operation status

## Changes

- **2026-03-16** `e05707a7b346`: 30 warning, 8 info
  - removed the request property `anti-affinity-groups/items/description`
  - removed the request property `anti-affinity-groups/items/name`
  - removed the request property `deploy-target/description`
  - removed the request property `deploy-target/name`
  - …34 more
- **2025-11-14** `352cae63dff6`: 1 warning, 2 info
  - the `user-data` request property's maxLength was set to `32768`
  - added the new `titan48c` enum value to the request property `anti-affinity-groups/items/instances/items/instance-type/size`
  - added the new `titan48c` enum value to the request property `instance-type/size`
- **2025-08-10** `814bf1ccd925`: 4 info
  - added the new `hr-zag-1` enum value to the request property `anti-affinity-groups/items/instances/items/instance-type/zones/items/`
  - added the new `hr-zag-1` enum value to the request property `anti-affinity-groups/items/instances/items/template/zones/items/`
  - added the new `hr-zag-1` enum value to the request property `instance-type/zones/items/`
  - added the new `hr-zag-1` enum value to the request property `template/zones/items/`
- …earlier changes not shown

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/instance-pool/post.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
