For the complete documentation index, see llms.txt. This page is also available as Markdown.

Method 1: Using deploy.sh Script (Recommended)

On-prem Deployment Guide (AWS)

Goal: Deploy all Hivel VM services using an automated script.

Prerequisites:

  • Database Migration completed successfully

  • .env file configured with application user credentials (DB_USER and DB_PASSWORD)

  • Docker and Docker Compose installed on VM

  • AWS ECR access configured (IAM role or AWS CLI credentials)

Deploy All Services

Application/System: EC2 VM (Docker)

On your EC2 VM, run:

cd /opt/hivel-onprem

# Deploy all VM services
./deploy.sh --vm

(OR)

Deploy Specific Services

If you need to deploy only certain services instead of all:

contact Hivel support@hivel.ai for more info on deploying a specific service and list of services.

Available deploy.sh Commands

Troubleshooting

  • Services fail to start: Check .env file has correct database credentials and RDS is reachable

  • Image pull fails: Verify AWS ECR credentials and access

  • Health checks fail: Review logs with ./deploy.sh --logs <service-name>

See Troubleshooting for detailed solutions.

Last updated