Skip to content

Enroll Machines with Equinix Metal

Equinix Metal is a bare metal cloud service that offers on-demand bare metal servers in different regions in combination with advanced connectivity and storage configurations.

Perfect to quickly join an actual hardware server to meltcloud!

TIP

For this Quickstart guide, we'll use the meltcloud SaaS (https://app.meltcloud.io) to host the control planes. For production, you might want to deploy your own Nest on-premises to host the control planes.

Prerequisites

  1. Create an Equinix Metal account
  2. Make sure the server's meets meltcloud's Connectivity Requirements (SaaS). By default, Equinix Metal provides DHCP & DNS servers and allows unfiltered egress to the Internet, so this should just work.
  3. If required, you can customize networking and other Equinix Metal features according to the docs.
  4. Log in to app.meltcloud.io
  5. Create an Enrollment Image using the disk path /dev/sda (that's what Equinix Metal uses)
  6. Note down the contents of the displayed iPXE script.

Deploy a Bare Metal Server

First, make sure Metal CLI is installed.

Create an API Token for Equinix Metal and initialize the CLI environment:

shell
# initialize metal CLI
metal init

Save the contents of the iPXE script from the meltcloud Web UI to a file:

shell
vi script.ipxe # enter the script from the meltcloud Web UI, for example:

#!ipxe
sanboot https://app.meltcloud.io/enroll/8/.../amd64.iso

Create a new Equinix server:

shell
metal device create \
  --project-id <project-uuid> \ 
  --plan c3.small.x86 \
  --metro fr \
  --hostname melt-equinix \
  --operating-system custom_ipxe \
  --always-pxe \
  --billing-cycle hourly \
  --userdata-file script.ipxe

After some minutes, your Equinix Metal server will be registered under Machines in the meltcloud console.

To check the state of your Equinix Metal deployment, simply type:

shell
metal device get

Troubleshoot

If your server has trouble booting, check out the Enrollment Images – Troubleshooting section.


Once finished, assign the Machine to the desired Machine Pool as described here to turn it into a worker node.