Skip to main content
Deploy your Hyrex applications reliably to production with proper environment setup and containerization.

Production on Hyrex Cloud

Hyrex Cloud handles infrastructure, scaling, and monitoring automatically.

Environment Setup

  1. Set Your API Key
  1. Configure App for Workers

Docker Deployment

Deploy workers using Docker:
Run with your API key:

Configuration

  1. Use separate API keys for dev/staging/prod
  2. Set num_processes based on task type
  3. Use queues to separate workload types

Deployment Checklist

Pre-Deployment

  • Load test your tasks to determine resource needs
  • Configure appropriate task timeouts
  • Set up error tracking (Sentry, etc.)
  • Plan queue structure for workload separation
  • Document task dependencies

Deployment

  • Use environment variables for configuration
  • Set up secrets management
  • Configure resource limits
  • Enable health checks
  • Set up log aggregation

Environment Variables

Next Steps

Monitoring & Scaling

Set up monitoring and scaling strategies

Best Practices

Production checklist and maintenance