> 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/aws/hivel-on-premises-deployment-guide-aws/quick-reference.md).

# Quick Reference

On-prem Deployment Guide (AWS)

### Deployment Checklist

* [ ] EC2 instance provisioned (VM)
* [ ] Prerequisites installed on the VM, versions verified
* [ ] AWS CLI configured
* [ ] Hivel AWS credentials configured
* [ ] ECR access tested
* [ ] RDS PostgreSQL provisioned
* [ ] RDS security group allows EC2 access, and only EC2 access
* [ ] Database "insightly" created manually
* [ ] Project downloaded to the VM
* [ ] License files added
* [ ] .env file configured with RDS credentials
* [ ] RDS connection tested
* [ ] Flyway migration completed successfully (VM)
* [ ] VM services deployed
* [ ] Log rotation setup completed
* [ ] All services healthy
* [ ] Validation checklist passed, including first-data confirmation
* [ ] Application accessible
* [ ] Backup approach confirmed for RDS

### Important Commands

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

# Check health
./deploy.sh --health

# View logs
./deploy.sh --logs

# Restart services
./deploy.sh --restart

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

### File Locations

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

**Next step:** Support and Summary if you need to contact Hivel, or [Troubleshooting](/self-managed-hivel-deployment/virtual-private-cloud/aws/dns-setup-aws/troubleshooting.md) if something isn't working.

<br>

{% columns %}
{% column %} <a href="/self-managed-hivel-deployment/virtual-private-cloud/aws/hivel-on-premises-deployment-guide-aws/security-and-secrets.md" class="button primary" data-icon="backward">Back to Security and Secrets</a>
{% endcolumn %}

{% column %}

{% endcolumn %}

{% column %} <a href="/self-managed-hivel-deployment/virtual-private-cloud/aws/hivel-on-premises-deployment-guide-aws/support-and-summary.md" class="button primary" data-icon="forward">Support and Summary</a>
{% endcolumn %}
{% endcolumns %}
