Skip to main content

Deployment

Deploy AxonFlow in the environment that best fits your needs.

Deployment Options

OptionDescriptionBest For
Self-HostedDocker Compose deploymentDevelopment, small teams
AWS MarketplaceOne-click AWS deploymentQuick production setup
CloudFormationInfrastructure as CodeEnterprise, custom VPC

Quick Start (Self-Hosted)

# Clone the repository
git clone https://github.com/getaxonflow/axonflow.git
cd axonflow

# Set your OpenAI API key (optional — needed for LLM features)
export OPENAI_API_KEY=sk-your-key-here

# Start all services
docker compose up

# Agent API: http://localhost:8080
# Orchestrator API: http://localhost:8081

Service Ports (Self-Hosted)

ServicePortDescription
Agent8080Policy enforcement engine (primary entry point)
Orchestrator8081Multi-agent coordination (internal)
Demo App UI3000React frontend (development)
Grafana3001Metrics dashboards (monitoring)
PostgreSQL5432Database (localhost only)
Grafana Port

Grafana runs on port 3001 (not the Grafana default of 3000) because port 3000 is used by the Demo App UI / Customer Portal. If you are not running the Demo App, you can remap Grafana to 3000 in your docker-compose.yml.

Verify Your Installation

After docker compose up completes, verify that all services are healthy:

# Check agent health (port 8080)
curl -s http://localhost:8080/health | jq .
# Expected: {"status":"healthy","version":"4.1.0"}

# Check orchestrator health (port 8081)
curl -s http://localhost:8081/health | jq .
# Expected: {"status":"healthy","version":"4.1.0"}

# Send a test query to the agent
curl -s -X POST http://localhost:8080/api/v1/query \
-H "Content-Type: application/json" \
-d '{"query": "hello", "context": {"user_id": "test"}}' | jq .

# Verify Grafana is accessible (port 3001)
curl -s -o /dev/null -w "%{http_code}" http://localhost:3001
# Expected: 200 (or 302 redirect to login)
Troubleshooting

If health checks fail, run docker compose ps to verify all containers are running, then check logs with docker compose logs agent or docker compose logs orchestrator.

Deployment Guides

GuideDescription
Self-HostedComplete Docker Compose setup
AWS MarketplaceDeploy via AWS Marketplace
CloudFormationDeploy with CloudFormation templates
Bedrock IntegrationConfigure AWS Bedrock as LLM provider
LicensingLicense tiers and activation
Post-DeploymentConfiguration after deployment

Troubleshooting

GuideDescription
TroubleshootingCommon deployment issues
Runtime IssuesRuntime debugging and recovery

Architecture Requirements

Minimum (Development)

  • 2 vCPU, 4 GB RAM
  • Docker with 8 GB allocated
  • 10 GB disk space
  • 4+ vCPU, 16+ GB RAM
  • PostgreSQL 14+ (RDS recommended)
  • Redis 6+ (ElastiCache recommended)
  • Application Load Balancer

Enterprise Deployment

Enterprise Edition provides production deployment options designed for regulated industries and multi-region requirements.

CapabilityDescription
AWS MarketplaceOne-click deploy via AWS Marketplace with pre-configured CloudFormation
CloudFormation One-ClickFull-stack IaC template: ECS Fargate, RDS Multi-AZ, ElastiCache, ALB, VPC endpoints
Multi-Region DeploymentDeploy agent and orchestrator across multiple AWS regions with cross-region RDS replication
Managed UpgradesZero-downtime rolling upgrades with automatic database migrations
Dedicated SupportSLA-backed support with deployment planning and architecture review
Enterprise Deployment

Enterprise deployment includes CloudFormation one-click deploy, multi-region replication, managed rolling upgrades, and dedicated support.

Compare Editions | Request Demo | AWS Marketplace

Next Steps