Self-Hosted Setup
A comprehensive guide to Hardal’s self-hosted solution
Overview
Hardal Self-Hosted is a version of Hardal that allows organizations to maintain complete control over their analytics infrastructure and data. With the same powerful features as the cloud version, Hardal Self-Hosted provides server-side tracking, first-party data collection, and advanced analytics capabilities while keeping all data within your own infrastructure.
Full Data Ownership
Maintain complete control of your analytics data within your own infrastructure
Security Compliance
Meet strict regulatory requirements with on-premises deployment
Privacy-Focused
Process and store data according to your organization’s specific privacy policies
Same Capabilities
Enjoy all the features of Hardal’s cloud version in your own environment
System Requirements
Operating System and Hardware
The hardware requirements below represent minimum specifications. For high-traffic implementations, we recommend scaling resources accordingly.
Requirement | Specification |
---|---|
Operating System | Linux Debian |
CPU | 2 vCPU cores (minimum) |
RAM | 8 GB (minimum) |
Storage | 200 GB (minimum) |
Recommended Storage | 8-10 TB yearly for high-traffic e-commerce applications |
Network Requirements
Hardal Self-Hosted requires internet access for certain functionalities, and various ports must be open for different components to communicate effectively.
Required Ports
Required Ports
Service | Port(s) | Purpose |
---|---|---|
SSH | 22 | Support processes |
HTTP/HTTPS | 80, 443 | Application HTTP connections |
Backend | 3000 | Backend service |
Google Tag Manager | 6262, 8080, 3131 | Server-side preview and tagging server |
Clickhouse | 6379 | Redis |
Clickhouse | 8123 | HTTP interface |
Clickhouse | 9000 | Local connection |
Clickhouse | 9004 | MySQL interface |
Network Configuration Notes
Network Configuration Notes
- Ensure firewall rules allow traffic on these ports
- Configure SSL certificates for secure HTTPS connections
- Additional ports may be required based on specific implementation needs
- For high-availability setups, configure load balancer ports accordingly
Database Requirements
Hardal Self-Hosted uses Clickhouse as its primary database system for analytics data storage and processing.
Clickhouse Database
- High-performance columnar database
- Optimized for analytical workloads
- SQL-compatible query interface
- User events stored in SQL format
- Supports complex analytical queries with minimal latency
Deployment and Management
Container Technology
Hardal Self-Hosted is delivered as a containerized application for easy deployment and management.
Docker Container Platform
All Hardal components are deployed as Docker containers for consistency and isolation.
Web Server or Load Balancer
Auto-scaling Configuration
Built-in auto-scaling capabilities to handle traffic fluctuations efficiently.
Update Process
Updates are delivered via bash scripts for simple maintenance and version control.
Backup and Business Continuity
Hardal Self-Hosted includes built-in functionality for data backup and business continuity planning.
While Hardal provides backup capabilities, we recommend implementing additional backup strategies according to your organization’s data retention policies.
- Backup Functionality: Integrated backup processes for Clickhouse database
- Load Balancer Compatibility: Can operate behind load balancers for high availability
- Custom Backup Integration: Compatible with customer-specific backup solutions
- Multi-server Configuration: Currently, multi-server setup is not supported out of the box
Additional Features and Considerations
Feature Parity
Hardal Self-Hosted offers the same features and capabilities as the cloud version
Security Software
Compatible with antivirus and EDR (Endpoint Detection and Response) software
Capacity Planning
System sizing depends on traffic volume and data retention requirements
Single Server
Currently designed for single-server deployment (not multi-server)
Pricing
How much does Hardal Self-Hosted cost compared to the cloud version?
Hardal Self-Hosted costs more to start because you need to buy your own servers first. But it might save you money over time if your team is good at managing it. With self-hosted, you pay most costs upfront instead of monthly fees that change based on usage.
Contact Sales
Reach out to our sales team to begin your Hardal Self-Hosted journey
FAQs
How does Hardal Self-Hosted compare to the cloud version?
How does Hardal Self-Hosted compare to the cloud version?
Hardal Self-Hosted provides identical features and capabilities as the cloud version. The main difference is that with Self-Hosted, all infrastructure and data remain within your control, on your own servers.
Can I migrate from cloud to self-hosted?
Can I migrate from cloud to self-hosted?
Yes, migration paths are available from Hardal Cloud to Hardal Self-Hosted. Contact our support team for detailed migration planning and assistance.
How are updates handled?
How are updates handled?
Updates are provided through bash scripts that update the Docker containers. Our support team can assist with major version updates if needed.
What kind of support is available for Self-Hosted deployments?
What kind of support is available for Self-Hosted deployments?
Hardal provides technical support for Self-Hosted deployments, including installation guidance, troubleshooting, and regular updates. Support tiers vary based on your contract.
How does the pricing differ from cloud?
How does the pricing differ from cloud?
Self-hosted costs more money to start because you need to buy servers. But it might cost less over time if your team is good at managing it. You’ll pay most of the cost upfront instead of monthly changing fees.