Documentation Index
Fetch the complete documentation index at: https://docs.failzero.io/llms.txt
Use this file to discover all available pages before exploring further.
Docker Deployment
The simplest way to run the FailZero agent. Works anywhere Docker runs.Quick Start
Environment Variables
Required
| Variable | Description |
|---|---|
FAILZERO_AGENT_TOKEN | Agent token from dashboard (fzat_...) |
FAILZERO_API_URL | FailZero API endpoint (https://api.failzero.io) |
PROVIDER_TYPE | Cloud provider: gcp or aws |
GCP
| Variable | Description |
|---|---|
GCP_PROJECT_ID | Your GCP project ID |
GCP_REGION | Region (default: us-west1) |
AWS
| Variable | Description |
|---|---|
AWS_ACCOUNT_ID | Your AWS account ID |
AWS_REGION | Region (default: us-east-1) |
Optional
| Variable | Description | Default |
|---|---|---|
HEALTH_CHECK_INTERVAL | Health check frequency (ms) | 30000 |
COMMAND_POLL_INTERVAL | Command poll frequency (ms) | 5000 |
Docker Compose
For local development or simple deployments:When running outside GCP, mount your service account credentials or set
GOOGLE_APPLICATION_CREDENTIALS.Credentials
GCP
Inside GCP (recommended): The agent automatically uses the VM’s service account via metadata server. No configuration needed. Outside GCP: Mount credentials or set environment variable:AWS
Inside AWS (recommended): The agent automatically uses the instance role or task role. No configuration needed. Outside AWS: Set credentials via environment:Verify Deployment
Check agent status:Troubleshooting
Agent won’t start:- Verify
FAILZERO_AGENT_TOKENis correct - Check network connectivity to
api.failzero.io - Review logs:
docker logs failzero-agent
- Inside GCP/AWS: Verify IAM roles are attached
- Outside cloud: Check mounted credentials are valid
- Ensure agent can reach monitored endpoints
- Check firewall rules allow outbound HTTPS
Next Steps
IAM Setup
Configure GCP service account permissions
Example Plans
Real-world DR configurations

