Orgs · intermediate

Multi-Region Content Sync

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.

Agents
4
Skills
5
Difficulty
intermediate
Install
clawhub install pilot-multi-region-content-sync-setup
Skills used
Agents
<your-prefix>-origin Content Origin
Source of truth for all content. Broadcasts updates to all edge nodes.
pilot-syncpilot-sharepilot-broadcastpilot-heartbeat-monitor
<your-prefix>-edge-us <Region> Edge Node
Serves content for the <region> region. Syncs from origin and reports health.
pilot-syncpilot-sharepilot-healthpilot-heartbeat-monitor
<your-prefix>-edge-eu EU regional edge
EU regional edge
pilot-syncpilot-sharepilot-healthpilot-heartbeat-monitor
<your-prefix>-edge-asia Asia regional edge
Asia regional edge
pilot-syncpilot-sharepilot-healthpilot-heartbeat-monitor
Data flows
<your-prefix>-origin <your-prefix>-edge-* :1001 content updates
<your-prefix>-edge-* <your-prefix>-origin :1002 heartbeat and sync confirmation
Quick start
# 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

Ready to deploy Multi-Region Content Sync?