Back to articles
DevOps & Systems

Self-Host Enterprise Video Conferencing with Nextcloud Talk and HPB High Performance Backend

Self-hosting an enterprise video conferencing system using Nextcloud Talk combined with the HPB High Performance Backend offers full data control, enhanced security, and reduced...

DPTCloud Engineering4 min read
Self-Host Enterprise Video Conferencing with Nextcloud Talk and HPB High Performance Backend

Image credit: rosh8111 · Pixabay Content License

Self-hosting an enterprise video conferencing system using Nextcloud Talk combined with the HPB High Performance Backend offers full data control, enhanced security, and reduced operational costs. This technical guide details how to deploy this solution on a NVMe Cloud VPS or High-Performance Dedicated Server, covering setup, performance optimization, and maintenance.

1. Introduction and Technical Requirements

Nextcloud Talk is an integrated communication feature within Nextcloud that supports video calls, instant messaging, and screen sharing. The HPB (High Performance Backend) is a performance-enhancing extension for Nextcloud Talk that optimizes data handling, reduces latency, and improves scalability.

To deploy this system, you will need:

  • A VPS or Dedicated Server (recommended NVMe Cloud VPS or High-Performance Dedicated Server)
  • Operating System: Ubuntu 22.04 LTS or Debian 11
  • Stable network connection with at least 100 Mbps bandwidth
  • Required software: Docker, Nginx, PostgreSQL, Redis

2. Installation and Configuration

Follow these steps to install Nextcloud Talk and the HPB High Performance Backend:

2.1. Install Nextcloud

Begin by installing Nextcloud on your server. Docker can be used for a quick deployment:

docker run -d \
  --name nextcloud \
  -p 8080:80 \
  -v /nextcloud/data:/var/www/html/data \
  -v /nextcloud/config:/var/www/html/config \
  -v /nextcloud/apps:/var/www/html/apps \
  nextcloud:latest

2.2. Install HPB High Performance Backend

HPB requires specific libraries to be installed:

# Install Node.js and NPM
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt install -y nodejs

# Clone and install HPB
git clone https://github.com/nextcloud/talk-hpb.git
cd talk-hpb
npm install
npm run build

2.3. Connect HPB to Nextcloud

After building, copy the `dist` folder into Nextcloud's apps directory:

cp -r dist/ /var/www/html/apps/talk-hpb

In Nextcloud, go to Admin > Apps, and enable both the Nextcloud Talk and HPB High Performance Backend applications.

3. Performance Optimization

To ensure optimal system performance, apply the following optimizations:

  • Configure Nginx as a reverse proxy with gzip compression and caching
  • Optimize PostgreSQL for high performance
  • Set up Redis as a session cache
  • Limit the number of simultaneous connections

Refer to the guide on optimizing data infrastructure with VectorDev and ClickHouse to learn how to monitor performance.

4. Testing and Maintenance

After installation, verify the system with the following steps:

4.1. Functionality Testing

Access Nextcloud via a browser, go to Nextcloud Talk, and create a test meeting. Verify video calls, screen sharing, and messaging functionality.

4.2. Performance Testing

Use tools like htop, iotop, and netstat to monitor system resources. Ensure CPU, RAM, and bandwidth usage remain below 70%.

4.3. Regular Maintenance

  • Regularly update Nextcloud and all applications
  • Perform daily data backups
  • Monitor system logs

5. Troubleshooting

Common issues and their solutions include:

  • HPB connection failure: Verify that the `apps/talk-hpb` directory has been correctly copied.
  • Video calls not working: Check the firewall settings and ensure UDP/TCP ports 10000-20000 are open.
  • Low performance: Optimize Nginx and Redis configurations.

Consult the guide on self-hosting Gotify on a VPS to learn how to set up automated alerts for system failures.

Conclusion

Self-hosting an enterprise video conferencing system with Nextcloud Talk and the HPB High Performance Backend provides full infrastructure control, enhances security, and reduces costs. This guide enables deployment on a NVMe Cloud VPS or High-Performance Dedicated Server.

For more self-hosting solutions, explore these articles:

DPTCloud Tier III Infrastructure

Recommended NVMe Cloud VPS Plans to Deploy This Setup

Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.

View 22 VPS Plans
ECO · vn-02

VPS-2E

94.600 ₫ / mo

10% VAT included

  • CPU: 2 vCPU
  • RAM: 2 GB
  • SSD: 30 GB NVMe
ECO · vn-02Recommended

VPS-3E

170.500 ₫ / mo

10% VAT included

  • CPU: 2 vCPU
  • RAM: 4 GB
  • SSD: 50 GB NVMe
BASIC · vn-01Recommended

VPS-05

457.600 ₫ / mo

10% VAT included

  • CPU: 4 vCPU
  • RAM: 8 GB
  • SSD: 50 GB NVMe

Related Articles

View all
ZaloZalo SupportDiscord0384 753 478