Detailed Guide to Creating a VPS Farm for Distributed Rendering with Blender SheepIt to Speed Up 3D Rendering
A comprehensive guide to setting up a distributed VPS farm using Blender SheepIt to leverage the power of multiple cheap VPS servers for faster 3D rendering.
Creating a VPS Farm for Distributed Rendering with Blender SheepIt
In the 3D design environment, rendering high-quality images or videos often takes a significant amount of time. With the advancement of cloud technology, using Virtual Private Servers (VPS) to build a distributed render cluster has become a popular solution. In this guide, we will explore how to create an effective VPS farm using Blender SheepIt, an open-source tool that allows you to distribute 3D rendering tasks from a master server to multiple worker servers—i.e., VPS instances. This setup leverages the combined power of multiple low-cost VPS servers to accelerate 3D rendering.
Requirements and Preparation
To follow this guide, you will need:
- A VPS account (Cloud VPS NVMe) from a provider such as Cloud VPS NVMe.
- At least 2 VPS instances (more can be added based on rendering needs).
- Blender 3D (version 2.8 or later).
- Access to a terminal or SSH.
- Basic knowledge of Linux and network configuration.
Setting Up a VPS Farm with Blender SheepIt
Blender SheepIt is an open-source tool that enables you to distribute 3D rendering tasks from a master server (master) to multiple worker servers (workers), which are the VPS instances. Below are the steps to set it up:
1. Install Blender on Each VPS
On each VPS, install Blender by downloading the installer from the official Blender website or using the package manager:
# Install Blender on Ubuntu/Debian
sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository ppa:thefanclub/blender
sudo apt update
sudo apt install -y blender
2. Install and Configure SheepIt
On the master server, install SheepIt and create a rendering project:
# Install SheepIt (using pip)
pip install sheepit
# Create a rendering project
sheepit init my_render_project
cd my_render_project
On each VPS (worker), install SheepIt and register it to the project:
# Install SheepIt
pip install sheepit
# Register the worker
sheepit register --server http://master-ip:8000 --token YOUR_TOKEN
3. Configure Network and Connectivity
Ensure all VPS instances can connect to each other over the network. If you are using Cloudflare Tunnels to protect your VPS, refer to the article Advanced Cloudflare Tunnels Configuration for VPS Protection to set up a secure connection.
Synchronization and Render Verification
To verify that the VPS farm is functioning correctly, follow these steps:
1. Upload Render File
On the master server, upload the Blender file (.blend) to be rendered:
# Upload render file
sheepit upload my_render_project.blend
2. Start the Rendering Process
Begin the distributed rendering process:
# Start rendering
sheepit start my_render_project
3. Check the Status
Monitor the rendering progress from the master server:
# View rendering status
sheepit status
Expected Performance Table
Below is a table illustrating expected performance when using 2–4 VPS instances (depending on configuration):
| Number of VPS | Render Time (minutes) | Time Reduction |
|---|---|---|
| 1 | 120 | 0% |
| 2 | 60 | 50% |
| 4 | 30 | 75% |
Troubleshooting Solutions
- Worker not appearing: Check network connectivity, registration token, and ensure port 8000 is open.
- Rendering errors: Verify the Blender file and ensure all VPS instances use the same Blender version.
- Low performance: Ensure all VPS instances have sufficient RAM and CPU, and avoid overloading them.
References
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.
VPS-3E
10% VAT included
- CPU: 2 vCPU
- RAM: 4 GB
- SSD: 50 GB NVMe
