> 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/8.-deployment-methods.md).

# 8. Deployment Methods

On-Prem Deployment Guide (Generic)

You have two options for deploying services. The comparison below tells you which one to use.

| **Option**                                                  | **What it does**                                                                                                                   | **Choose this when**                                                                                                                                                                                                                         |
| ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Recommended for most customers - Method 1: deploy.sh Script | Automates ECR authentication, image pulling, service startup, health checks, and log viewing using the provided deployment package | You want the fastest supported path and don't have a specific reason to manage containers manually                                                                                                                                           |
| Method 2: Docker Compose Directly                           | Gives you direct control over each docker-compose invocation                                                                       | Your organization needs custom orchestration, staged rollouts, or must integrate with existing infrastructure-as-code around Docker Compose. Requires you to manage authentication, the shared Docker network, and startup ordering yourself |

### [Recommended for Most Customers -Method 1: Using deploy.sh Script](/archive/generic/hivel-on-premises-deployment-guide-generic/8.-deployment-methods/method-1-deployment-using-deploy.sh-script-recommended.md)

This is the easiest and recommended method. The script handles:

* Automatic ECR authentication
* Image pulling with prompts
* Service deployment
* Health checks
* Log viewing

Choose this option when you want the fastest supported path to a working deployment.

### [Advanced Option - Method 2: Using Docker Compose Directly](/archive/generic/hivel-on-premises-deployment-guide-generic/8.-deployment-methods/method-2-using-docker-compose-directly.md)

For more control, or if you prefer manual steps.

**Choose this option when** you need finer-grained control over container startup than deploy.sh gives you - this path requires you to manage the shared Docker network and per-service ordering yourself.

\ <br>

{% columns %}
{% column %} <a href="/archive/generic/hivel-on-premises-deployment-guide-generic/7.-database-migration.md" class="button primary" data-icon="backward">Database Migration</a>
{% endcolumn %}

{% column %}

{% endcolumn %}

{% column %} <a href="/archive/generic/hivel-on-premises-deployment-guide-generic/9.-log-rotation-setup.md" class="button primary" data-icon="forward">Log Rotation Setup</a>
{% endcolumn %}
{% endcolumns %}
