2 minutes read

Deploy a Server via API

Provision a Bare Metal Cloud server through the API, check hardware availability, and supply the configuration parameters required for deployment.
Milica Dancuk
· Updated
November 27, 2026

The Bare Metal Cloud (BMC) API lets you provision servers programmatically by specifying the hostname, operating system, server type, and data center location.

All API requests in this guide are relative to:

https://api.phoenixnap.comCode language: HTTP (http)
Prerequisites

BMC API access token with the bmc scope (see API Credentials).

Step 1: Check the Product Availability

Check whether the requested server type is available:

GET /billing/v1/product-availabilityCode language: HTTP (http)

Set the product category to SERVER and specify the product code, such as s1.c1.small.

Step 2: Deploy a Server

Deploy a server:

POST /bmc/v1/serversCode language: HTTP (http)

The request body must contain the following fields:

  • hostname. The name of the server without spaces.
  • os. The operating system to install on the server.
  • type. The type of server to provision.
  • location. The data center location of the server.

For example, create an Ubuntu Noble s1.c1.small BMC server located in Phoenix:

{
  "hostname": "my-server",
  "os": "ubuntu/noble",
  "type": "s1.c1.small",
  "location": "PHX"
}Code language: JSON / JSON with Comments (json)
Find out more

BMC API - POST /servers

Default Configuration

When you create a server using the minimum required parameters, the system applies the following default configuration:

  • Billing model. Set to hourly billing.
  • Network assignment. The server is assigned to the default private network. If there is none, the system creates one and assigns it as the default. The system made default private network has a different CIDR depending on the location.
  • IP allocation. The system purchases and assigns a minimum-size IP blocks for the operating system.
  • DNS configuration. The server is configured to use Google's public DNS server (8.8.8.8).