Run a media server on a storage VPS?
A storage VPS holds terabytes cheaply, but can it stream them? Do the bandwidth arithmetic first, then split the library from the application.
Can a storage VPS run a media server?
A storage VPS can run a media server, and for direct play it often runs one well. The wall is transcoding: a plan sold on disk capacity carries enough CPU to read files and push them out, and nowhere near enough to re-encode a high bitrate file while someone watches it. Sending bytes untouched is cheap work. Rewriting every frame is not.
Three limits decide the answer for your library, and they arrive in a fixed order.
- CPU. It stops you the moment a client needs a video transcode that the server cannot produce fast enough.
- Disk. It rarely stops playback. It makes library scans crawl and it makes the web interface feel slow while the video itself looks fine.
- The network port. This is the real ceiling, and it is the one you can work out on paper before you spend anything.
Work through them in that order. The last one is arithmetic, so it gives you an answer instead of an opinion.
What a storage VPS actually gives you
On a storage VPS the disk is the product. You are buying terabytes, and the CPU, memory and network attached to those terabytes are sized to keep files safe and readable. Cheap terabytes are a good reason to buy one. They are not a reason to expect a transcoding server.
Two numbers on the plan page decide most of what follows: the port speed and the monthly traffic allowance. Read the current page for the exact plan you are about to buy. Do not carry a figure over from a review, a forum post or another provider, because these two vary more between plans than anything else on the page. What a storage VPS trades away next to a regular VPS covers the rest of that trade, and reading a cheap VPS offer carefully covers the wording that hides the limits.
Limit one: why transcoding is the CPU wall
A media server hands a file to a player in one of four ways.
- Direct play. The server sends the file as stored and the client decodes it. The server reads from disk and writes to a socket, so a single vCPU feeds several streams.
- Remux. The container is rewritten and the audio and video are copied unchanged. The cost is small.
- Direct stream. The audio is transcoded and the video is copied unchanged.
- Transcode. Every frame is decoded and encoded again at a new codec or bitrate. The cost is large, and it is paid again for every stream.
The client capabilities and playback settings decide which one happens. Video transcoding is needed when any of these is true.
- It cannot decode the codec. HEVC (high efficiency video coding) in an older browser is the usual case.
- The client cannot render the selected subtitle track, so the subtitles have to be painted into the picture and the video re-encoded around them. An image subtitle track such as PGS from a Blu-ray rip needs this only on clients that cannot render it directly.
- It asks for a bitrate cap below the file's bitrate.
An unsupported container alone calls for a remux, without re-encoding the video.
Measure your own box rather than trusting a CPU model name. Take the heaviest file in your library and encode two minutes of it.
ffmpeg -hide_banner -y -i /path/to/movie.mkv -map 0:v:0 -vf scale=-2:1080 -c:v libx264 -preset veryfast -b:v 4M -t 120 -f null -The last line of output ends with a speed= field. speed=1.0x means the box produces one second of video per second of real time, which is one stream with no margin. Playback is not steady work: seeking to an unencoded part of the file can restart transcoding, but Jellyfin serves an already encoded segment without restarting it. Sustained production must match playback consumption, with buffering covering temporary deficits; 2x is headroom, not a minimum requirement. Two concurrent transcodes need about twice the figure. A 4K source is harder than the ratio suggests, because the decode side alone scales with pixel count before the encoder starts.
Then check whether any hardware help exists.
ls -l /dev/driIf this prints ls: cannot access '/dev/dri': No such file or directory, the expected device directory is missing. That alone does not prove there is no GPU in the guest or that hardware encoding is unavailable. Check GPU passthrough, drivers and device exposure with the provider; for Intel acceleration, check the available render devices and their permissions. Hardware transcoding on a box with an NVIDIA GPU uses a different acceleration setup, so check the hardware available on the plan before choosing it.
The way past this limit is to make transcoding unnecessary. Store H.264 in MP4 or MKV, keep subtitles as text so they travel beside the video instead of being burned into it, and put a client app on every screen that decodes what you store. CPU load then falls close to zero and the whole question moves to the port. If the library does not exist yet, the step by step Jellyfin install on a VPS is where to start.
Limit two: what shared or spinning disk really costs
Playing a file is sequential reading at the file's bitrate. A 25 Mbps remux is about 3.1 MB/s. Measure the volume's sequential throughput to check how many such streams it can feed.
The disk hurts on small random work, and a media server does plenty of it. The first library scan opens every file and reads its header. Trickplay generation builds the preview thumbnails you see when dragging the seek bar, and it decodes frames spread through the whole file. That is seeking, not streaming. The library database is SQLite, at /var/lib/jellyfin/data/jellyfin.db on the Debian and Ubuntu packages since Jellyfin 10.11 moved the library out of the older library.db. Jellyfin defaults to synchronous=NORMAL; in WAL mode, most transactions do not perform a sync, while checkpoints synchronize the WAL and database files.
On a volume shared with other tenants database I/O competes with other people's work. A movie playing perfectly while the web interface takes seconds to paint a page is consistent with slow database storage, but it does not establish the cause by itself. Check disk activity alongside CPU load and the Jellyfin logs.
Measure both patterns, inside the directory you will actually keep media in.
sudo apt install -y fio
fio --name=seq --rw=read --bs=1M --size=2G --ioengine=libaio --direct=1 --runtime=60 --time_based --group_reporting
fio --name=rand --rw=randread --bs=4k --size=1G --iodepth=32 --ioengine=libaio --direct=1 --runtime=60 --time_based --group_reportingThe sequential number tells you how many streams the disk can feed at once. The random number measures small random reads; it does not predict the duration of a library scan by itself. If fio stops with fio: looks like your file system does not support direct=1/buffered=0, drop --direct=1 and read the result knowing the page cache is now in the way. Delete the seq.0.0 and rand.0.0 files it leaves behind. What disk speed to expect from a storage VPS gives the shape of the numbers, and a repeatable way to benchmark a VPS keeps your runs comparable between boxes.
One setting matters more than the rest: the transcode temporary directory must not sit on the storage volume. A transcode writes HLS (HTTP live streaming) segments continuously while the viewer watches, and on slow or remote storage those writes fall behind and the player stalls while the CPU still has headroom. Point it at local disk in the playback settings.
Limit three: the port, and the arithmetic that settles it
The data behind this chart
[
{
"label": "1080p web rip (H.264)",
"bitrate_mbps": 5,
"gb_per_hour": 2.25,
"streams_per_gigabit": 200
},
{
"label": "1080p Blu-ray remux",
"bitrate_mbps": 25,
"gb_per_hour": 11.25,
"streams_per_gigabit": 40
},
{
"label": "4K HDR remux",
"bitrate_mbps": 60,
"gb_per_hour": 27,
"streams_per_gigabit": 16
},
{
"label": "Transcoded 1080p output",
"bitrate_mbps": 4,
"gb_per_hour": 1.8,
"streams_per_gigabit": 250
}
]Those are illustrative bitrates for each kind of file, not measurements of any provider's plan. The rule is one line: concurrent streams multiplied by bitrate must stay under the port speed. A 1080p web rip at 5 Mbps gives 200 streams on a gigabit port on paper. A Blu-ray remux at 25 Mbps gives 40. A 4K HDR remux at 60 Mbps gives 16, which is eight households with two televisions each, and together they use nearly the whole gigabit.
The paper figure is optimistic for two reasons. Protocol overhead and a shared uplink take a slice you never see. The larger effect is buffering: a direct play client does not trickle bytes at the file's bitrate, it pulls ahead as fast as the link allows and then goes quiet, so one person starting a film can saturate the port for several seconds. Plan for well under half the paper figure.
The traffic allowance is a separate limit, and it is the one a household hits first. A port speed caps how many people watch at once. An allowance caps how much they watch all month.
The data behind this chart
[
{
"label": "One stream, 1080p at 5 Mbps, 2 h a day",
"hours_per_month": 60,
"gb_per_month": 135
},
{
"label": "Two streams, 1080p at 5 Mbps, 3 h a day",
"hours_per_month": 180,
"gb_per_month": 405
},
{
"label": "Two streams, 1080p at 5 Mbps, 6 h a day",
"hours_per_month": 360,
"gb_per_month": 810
},
{
"label": "Two streams, remux at 25 Mbps, 6 h a day",
"hours_per_month": 360,
"gb_per_month": 4050
}
]Two people watching a normal evening at 1080p come to 810 GB a month, across 360 stream hours. Keep the viewing identical and switch the library to Blu-ray remuxes, and the same 360 hours cost 4050 GB, close to 4 TB. The bitrate you store is the traffic bill you pay, and it is the one term in this arithmetic you fully control.
Read the plan page for the allowance, then read what happens when you pass it. Check whether excess traffic slows the port or incurs a charge. Check separately whether inbound traffic counts, because filling a library is one large upload and plans differ on whether they meter it.
The split: library on the storage box, application on the fast box
The setup that works is not one machine. Media files live on the storage VPS. The media server application, its database, its metadata images and its transcode directory live on a small fast VPS with local NVMe. The application mounts the library over the private network, and every file that can be direct played is sent out untouched.
Mount it with an automount unit rather than a boot time mount.
10.0.0.10:/srv/media /mnt/media nfs4 rw,hard,noatime,rsize=1048576,wsize=1048576,noauto,x-systemd.automount 0 0noauto,x-systemd.automount mounts the share on first access instead of at boot, so a storage box that is briefly unreachable delays one directory listing rather than hanging the boot. Check it with findmnt /mnt/media, then confirm the service account can read through it with sudo -u jellyfin ls /mnt/media. A permission denied there while root lists the same path fine calls for checking numeric user and group IDs and file permissions: NFS uses those IDs for access checks with the default authentication setup, and the default root_squash export option maps client root to an anonymous user.
Keep the database on local disk. SQLite depends on file locking that a network filesystem does not reliably provide, and the failure is not a clean error message. Broken locking under concurrent access risks database corruption and a restore job. Allow enough local space for the database to grow; Jellyfin documents databases of 10 to 100 GB for moderate libraries.
Keep the download directory and the library on the same filesystem. An import that can use a hardlink is instant and takes no extra space. An import across two filesystems is a full copy, which over a network mount drags the file across the link twice for no reason. In practice that means running the arr stack in Docker Compose on the storage box beside the files, with only the media server reading across the mount.
The split has one real cost: the extra hop. A stream is read across the private link and then sent out of the application box's port, so the bytes cross the network twice. Confirm the speed and traffic charges for both hops, including whether private traffic counts toward either plan's allowance. Confirm that both machines can be placed in the same location before buying either one. Pairing a storage VPS with your main VPS works through the mount and the network side in detail.
The four measurements to run before you commit
- Encode two minutes of your heaviest file with the
ffmpegcommand above and readspeed=. Sustained production below 1.0x cannot keep up with ordinary playback once the buffer runs out; a short sample above 1.0x still needs testing under the expected workload. - Run both fio jobs in the media directory. The sequential result feeds streams. The random result measures small random read performance.
- Run
iperf3 -son one box andiperf3 -c 10.0.0.10 -Ron the other, then download one real file to a device on the network you actually watch from. The second test includes everything the first one leaves out. - Install
vnstat, leave it for a normal month, then runvnstat -m. That is your measured monthly interface traffic; compare it with the provider's meter and billing rules.
When the honest answer is a NAS at home
If everyone who watches lives in the same house, the server belongs in the house. A local network avoids internet traffic billing for playback, but a 4K remux still needs enough available throughput across every link to carry its bitrate; a gigabit adapter does not rule out a slower port or negotiated link elsewhere in the path. A VPS earns its place when you watch from outside the house, when you share with people in other homes, when your home upload cannot carry even one stream, or when you would rather not keep a machine running at home. Check that upload first: a remux at 25 Mbps needs more upstream capacity than many home connections have.
When the answer is the NAS, the storage VPS still has a job worth paying for. An offsite copy of the library is exactly what cheap terabytes are for, and using a VPS as an offsite backup target uses a fraction of the traffic that streaming does, because a backup sends each file once instead of once per viewing. Size it from an honest estimate of how much storage you need rather than by rounding up, and test the plan against a storage VPS checklist before committing to a year.
One point that is not about hardware: renting the server makes the content your responsibility under the provider's terms. Serve what you have the right to serve.
FAQ
Can a storage VPS transcode 4K to 1080p?
Usually not in real time. Software encoding from a 4K source means decoding roughly four times the pixels of a 1080p file before the encoder starts, and the vCPU share on a capacity plan is not sized for that. Test it instead of guessing: run ffmpeg -hide_banner -y -i /path/to/movie.mkv -map 0:v:0 -vf scale=-2:1080 -c:v libx264 -preset veryfast -b:v 4M -t 120 -f null - and read the speed= field on the last line. Sustained production below 1.0x cannot keep up with ordinary playback once the buffer runs out. A result below 2x does not establish that seeking will cause rebuffering, and Jellyfin serves already encoded segments without restarting transcoding. Run ls -l /dev/dri as well. If it answers No such file or directory, check GPU passthrough, drivers and device exposure before ruling out hardware encoding; a missing path alone does not prove there is no GPU.
How many streams fit on a gigabit port?
Divide the port speed by the bitrate of the files you serve. At 5 Mbps for a 1080p web rip that is 200 streams on paper, and at 60 Mbps for a 4K HDR remux it is 16. Plan for well under those figures. Check whether the port is shared; protocol overhead is real. A direct play client also buffers ahead at whatever speed the link allows instead of pacing itself at the file's bitrate, so a single viewer starting a film can take the whole port for a few seconds.
Where should the media server database live in a split setup?
On local disk on the machine running the application, never on the network mount. SQLite relies on file locking that a network filesystem does not always deliver, so broken locking under concurrent access risks database corruption. On the Debian and Ubuntu packages of Jellyfin 10.11 and later the file is /var/lib/jellyfin/data/jellyfin.db. Keep the metadata images and the transcode directory local as well, and let only the media files come across the mount.
Does transcoding use less bandwidth than direct play?
Yes, when the output bitrate is lower. Direct play sends the file at its stored bitrate, so a 25 Mbps remux costs 25 Mbps of outbound traffic per viewer. Transcoding the same film down to 4 Mbps is why 250 of those streams fit on a gigabit port. You pay for the saving in CPU, once per stream, which is the exact resource a storage plan is short of. Storing files at a bitrate your clients accept directly gives you the same bandwidth saving for free.
Should I use a NAS at home instead of a storage VPS?
If every viewer is in the house, yes. Local playback avoids internet traffic billing, but the combined stream bitrates still have to fit the network's available throughput, which slower links, errors and drops reduce. A VPS wins when you watch from outside the house, or when you share with other households. Home upload decides it in most cases: many connections cannot push a 25 Mbps remux upstream even once. The two also work together, with the NAS serving the house and the storage VPS holding the offsite copy.