> 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/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure.md).

# Hivel On-Premises Deployment Guide (Azure)

Complete step-by-step guide for deploying Hivel services on your Azure infrastructure.

**Before you start:**

If you prefer to run your own PostgreSQL database instead of Azure Database for PostgreSQL, use the [Self-Hosted deployment guide](/self-managed-hivel-deployment/on-premises-generic/hivel-on-premises-deployment-guide-generic.md) instead. Every other step is identical.

{% hint style="info" %}
**Security note:** All credentials, database passwords, and application passwords in this guide are placeholders. Generate your own credentials using <mark style="color:$warning;">`openssl rand -base64 24`</mark> and store them in Azure Key Vault. Never reuse example credentials in production environments.
{% endhint %}

<table data-search="false"><thead><tr><th>Page</th><th>Description</th></tr></thead><tbody><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/overview.md"><strong>Overview</strong></a></td><td>Understand the single-VM + Azure PostgreSQL architecture</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/azure-infrastructure-setup-and-cli-configuration.md"><strong>Azure Infrastructure Setup and CLI Configuration</strong></a></td><td>Provision a VM and install CLI tools</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/prerequisites-overview.md"><strong>Prerequisites and Virtual Machine Requirements</strong></a></td><td>Gather accounts, VM, and tools needed</td></tr><tr><td>↳ <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/prerequisites-overview/verify-prerequisites-before-starting.md">Verify Prerequisites Before Starting</a></td><td>Check Docker, Azure CLI, AWS CLI, and psql versions</td></tr><tr><td>↳ <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/prerequisites-overview/network-requirements.md">Network Requirements</a></td><td>Verify inbound/outbound ports and connections</td></tr><tr><td>↳ <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/prerequisites-overview/verify-virtual-machine-requirements.md">Virtual Machine Requirements</a></td><td>Confirm VM sizing, OS, and storage specifications</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/database-setup.md"><strong>Database Setup</strong></a></td><td>Provision Azure Database for PostgreSQL</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/project-setup.md"><strong>Project Setup</strong></a></td><td>Download the installer package from S3</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/ecr-access-configuration.md"><strong>ECR Access Configuration</strong></a></td><td>Configure AWS credentials and log in to ECR registry</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/environment-configuration.md"><strong>Environment Configuration</strong></a></td><td>Create .env file with database credentials</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/database-migration.md"><strong>Database Migration</strong></a></td><td>Run Flyway schema migration</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/deployment-methods.md"><strong>Deployment Methods</strong></a></td><td>Choose your deployment method</td></tr><tr><td>↳ <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/deployment-methods/method-1-deployment-using-deploy.sh-script.md">Method 1: Deployment Using deploy.sh Script</a></td><td>Deploy automatically using deploy.sh</td></tr><tr><td>↳ <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/deployment-methods/method-2-deployment-using-docker-compose.md">Method 2: Deployment Using Docker Compose</a></td><td>Deploy manually using Docker Compose</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/log-rotation-setup.md"><strong>Log Rotation Setup</strong></a></td><td>Enable daily log rotation with retention</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/verification-and-access.md"><strong>Verification and Access</strong></a></td><td>Confirm services and UI are running</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/application-setup-guide-user-sign-up-and-integration.md"><strong>Application Setup Guide: User Sign-up and Integration</strong></a></td><td>Sign up users, set up your organization, and integrate tools</td></tr><tr><td><strong>ADVANCED</strong></td><td></td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/troubleshooting.md"><strong>Troubleshooting</strong></a></td><td>Resolve common issues</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/backup-and-restore.md"><strong>Backup and Restore</strong></a></td><td>Back up and restore the database</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/upgrade-and-rollback.md"><strong>Upgrade and Rollback</strong></a></td><td>Upgrade versions or roll back failures</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/uninstall-and-cleanup.md"><strong>Uninstall and Cleanup</strong></a></td><td>Decommission VM and revoke credentials</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/security-and-secrets.md"><strong>Security and Secrets</strong></a></td><td>Store and rotate credentials securely</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/quick-reference.md"><strong>Quick Reference</strong></a></td><td>View checklist and key deploy.sh commands</td></tr><tr><td><a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/support-and-summary.md"><strong>Support and Summary</strong></a></td><td>Gather information before contacting support</td></tr></tbody></table>

{% columns %}
{% column width="33.33333333333333%" %} <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/tl-dr-azure.md" class="button primary" data-icon="backward">Back to TL;DR (Azure)</a>
{% endcolumn %}

{% column width="33.33333333333333%" %}

{% endcolumn %}

{% column %} <a href="/self-managed-hivel-deployment/virtual-private-cloud/azure/hivel-on-premises-deployment-guide-azure/overview.md" class="button primary" data-icon="forward">Overview</a>
{% endcolumn %}
{% endcolumns %}
