Pig LogoPig Docs
Concepts

Machines

Computer(s) running a Piglet

Machines come in two flavors: remote and local.

Local Machine

This is the localhost server exposed by Piglet with piglet start.

The Pig SDK can be used to connect directly with the local machine - no authentication is required, and Pig's control plane is not involved.

Remote Machine

Piglets connected to the Pig control plane with piglet join are called remote machines, and are callable across the internet via the Pig SDKs or Proxy.

On first join, Pig creates a unique Machine ID for your Piglet.

Machine IDs have the M- prefix, like so:

M-6HNBTXR-N55B3VA-P33N0R2

On this page