> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/archive/generic/hivel-on-premises-deployment-guide-generic/16.-quick-reference.md).

# 16. Quick Reference

On-Prem Deployment Guide (Generic)

### Deployment Checklist

* [ ] Servers provisioned (VM1 and VM2 separate)
* [ ] Prerequisites installed on both VMs, versions verified
* [ ] AWS CLI configured (for Hivel ECR access)
* [ ] Hivel AWS credentials configured
* [ ] ECR access tested
* [ ] Network Requirements table reviewed and firewall rules applied
* [ ] PostgreSQL database provisioned
* [ ] Database "insightly" created manually
* [ ] Database network rules allow access from VM1 and VM2
* [ ] Backup routine set up for the database
* [ ] Project package downloaded from Hivel S3 to both VMs
* [ ] License files added
* [ ] .env file configured with database credentials
* [ ] Database connection tested
* [ ] Flyway migration completed successfully (VM1)
* [ ] VM1 services deployed
* [ ] VM2 services deployed
* [ ] Log rotation setup completed
* [ ] All services healthy
* [ ] Validation Checklist (Verification and Access) passed, including first-data confirmation
* [ ] Application accessible

### Important Commands

```
# Deploy VM1 services
./deploy.sh --vm1

# Deploy VM2 services
./deploy.sh --vm2

# Check health
./deploy.sh --health

# View logs
./deploy.sh --logs

# Restart services
./deploy.sh --restart

# Update services
./deploy.sh --update
```

### Service Ports

<table data-header-hidden data-search="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Service</strong></td><td><strong>Port</strong></td><td><strong>Server</strong></td></tr><tr><td>API Gateway</td><td>80</td><td>VM1</td></tr><tr><td>Insightly UI</td><td>3000</td><td>VM1</td></tr><tr><td>Auth Service</td><td>8095</td><td>VM1</td></tr><tr><td>Insightly Service</td><td>8082</td><td>VM1</td></tr><tr><td>Jira Service</td><td>8081</td><td>VM1</td></tr><tr><td>GitHub Service</td><td>8086</td><td>VM1</td></tr><tr><td>GitLab Service</td><td>8087</td><td>VM1</td></tr><tr><td>Git Util Service</td><td>8085</td><td>VM2</td></tr><tr><td>Redis</td><td>6379</td><td>VM1 (internal)</td></tr></tbody></table>

### File Locations

* Configuration: config/.env
* License Files: license/
* Docker Compose (VM1): services/vm1/docker-compose.yml
* Docker Compose (VM2): services/vm2/docker-compose.yml
* Deployment Script: deploy.sh
* Log Rotation Scripts: scripts/
* Log Files: /var/log/hivel/

**Next step:** Need help? Visit **Support & Summary** to contact us for assistance

<br>

{% columns %}
{% column %} <a href="/archive/generic/hivel-on-premises-deployment-guide-generic/15.-security-and-secrets.md" class="button primary" data-icon="backward">Security and Secrets</a>
{% endcolumn %}

{% column %}

{% endcolumn %}

{% column %} <a href="/archive/generic/hivel-on-premises-deployment-guide-generic/17.-support-and-summary.md" class="button primary" data-icon="forward">Support and Summary</a>
{% endcolumn %}
{% endcolumns %}
