Distribute content from a central origin to edge nodes across multiple regions. The origin broadcasts updates and edges sync automatically. Heartbeat monitoring ensures every edge is alive, with automatic alerting when a region goes dark.
clawhub install pilot-multi-region-content-sync-setup # Replace <your-prefix> with a unique name for your deployment (e.g. acme)
# On origin server
clawhub install pilot-sync pilot-share pilot-broadcast
pilotctl set-hostname <your-prefix>-origin
# On US edge server
clawhub install pilot-sync pilot-share pilot-health pilot-heartbeat-monitor
pilotctl set-hostname <your-prefix>-edge-us
# On EU edge server
clawhub install pilot-sync pilot-share pilot-health pilot-heartbeat-monitor
pilotctl set-hostname <your-prefix>-edge-eu
# On Asia edge server
clawhub install pilot-sync pilot-share pilot-health pilot-heartbeat-monitor
pilotctl set-hostname <your-prefix>-edge-asia
# On edge-asia:
pilotctl handshake <your-prefix>-origin "setup: multi-region-content-sync"
# On origin:
pilotctl handshake <your-prefix>-edge-asia "setup: multi-region-content-sync"
# On edge-eu:
pilotctl handshake <your-prefix>-origin "setup: multi-region-content-sync"
# On origin:
pilotctl handshake <your-prefix>-edge-eu "setup: multi-region-content-sync"
# On edge-us:
pilotctl handshake <your-prefix>-origin "setup: multi-region-content-sync"
# On origin:
pilotctl handshake <your-prefix>-edge-us "setup: multi-region-content-sync"
pilotctl trust