What is a Deployment?
A deployment is a managed OpenClaw instance that ClawControl creates and maintains on your chosen cloud provider. When you create a deployment, ClawControl:- Provisions a VPS server on your chosen provider
- Configures the operating system and dependencies
- Installs and configures OpenClaw
- Sets up networking and security (SSH, Tailscale)
- Starts the OpenClaw daemon
Each deployment is completely isolated with its own server, SSH keys, and configuration. You can run multiple deployments simultaneously.
Deployment Configuration
Every deployment has a configuration file (config.json) that defines its settings:
Example Configuration
Deployment State
ClawControl tracks each deployment’s state in a separatestate.json file:
Deployment Status
Deployments progress through these statuses:- initialized - Configuration created, ready to deploy
- provisioning - Creating server resources
- configuring - Installing and configuring software
- deployed - Successfully running
- failed - Deployment encountered an error
- updating - Applying changes to existing deployment
View example state.json
View example state.json
Deployment Lifecycle
A typical deployment goes through these phases:1. Creation
Define your deployment configuration using a template or custom settings:~/.clawcontrol/deployments/<name>/ containing:
config.json- Your deployment configurationstate.json- Current deployment statessh/- SSH key pair for server access
2. Deployment
Execute the deployment to provision and configure your server:3. Operation
Once deployed, you can:- View status:
clawcontrol status <name> - Access dashboard:
clawcontrol dashboard <name> - SSH into server:
clawcontrol ssh <name> - View logs:
clawcontrol logs <name>
4. Destruction
When you’re done, remove the deployment:Storage Location
All deployments are stored in~/.clawcontrol/deployments/:
Full Deployment Interface
From the source code atsrc/types/index.ts:204-208:
Best Practices
Use descriptive names
Choose deployment names that indicate their purpose, like
production-agent or dev-testing.One deployment per purpose
Keep production, development, and testing agents in separate deployments.
Monitor deployment status
Regularly check
clawcontrol status to ensure your agents are running.Backup configurations
Back up your
~/.clawcontrol/deployments/ directory to preserve settings and SSH keys.Next Steps
Templates
Learn how to use templates for faster deployment
Checkpoints
Understand the checkpoint-based recovery system
Deploy Command
See the complete deploy command reference
Status Command
Check your deployment status