Guideschevron_rightServers

Servers · 9 min read · Updated

How to Self-Host Jellyfin on a Server

To self-host Jellyfin, a free media server in the style of Plex, run the official jellyfin/jellyfin Docker image with folders for its config, cache and your media, keep its web port private, and put Caddy in front for HTTPS. Then open the web setup, create an admin account, add your libraries and sign in from Jellyfin's apps. Our servers have no GPU, so videos that need transcoding are converted on the processor: a dedicated server's many cores handle that far better than a VPS.

Direct Play, Transcoding and the Server You Need

When a device can play a file as it is, Jellyfin sends it unchanged (direct play), which needs almost no processor. When it cannot, because of the codec, the bitrate or HDR, Jellyfin transcodes it live, which is heavy work. Jellyfin recommends a GPU for that and says transcoding on the processor is very demanding, above all HDR-to-SDR tone-mapping.

  • Direct play only (apps that support your files): a VPS is enough, sized for your library.
  • Regular 1080p transcoding for a few viewers: a dedicated server with many cores.
  • 4K HDR tone-mapping: Jellyfin's own example needs a Ryzen 9 5950X for faster than real-time tone-mapping of one 4K 60 fps Dolby Vision stream — a processor we offer. Encode your files in formats your devices play directly where you can.
Dedicated servers for Jellyfin, cheapest configuration of each processor
ProcessorCores / threadsMemoryStorageFrom
AMD Ryzen 9 5950X16 / 32128 GB2x 1TB NVMe$399.00/mo
AMD Ryzen 9 9950X16 / 32192 GB2x 2 TB NVMe$669.00/mo
AMD EPYC 4585PX16 / 32128 GB2x 6.4TB NVMe Gen4$849.00/mo
AMD EPYC 7443P24 / 48512 GB2x 2TB NVMe$969.00/mo
AMD EPYC 9455P48 / 96512 GB2x 3.2TB NVMe$999.00/mo
AMD Dual EPYC 7702128 / 256512 GB2x 2TB NVMe$1,099.00/mo
AMD EPYC 945548 / 96512 GB4x 3.2TB NVMe$2,299.00/mo

Jellyfin recommends at least 8 GB of memory and SSD storage for its own files. Your media can sit on slower storage, and Jellyfin says it may be a network share.

1. Prepare the Server

On Ubuntu 24.04, secure the server and install Docker. Point an A record such as media.example.com at it and allow ports 80 and 443. Copy your media into /srv/media, for example with rsync.

2. Run Jellyfin

In ~/jellyfin/compose.yaml:

services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    user: 1000:1000
    ports:
      - "127.0.0.1:8096:8096"      # web port, reachable only through Caddy
    volumes:
      - ./config:/config
      - ./cache:/cache
      - type: bind
        source: /srv/media
        target: /media
        read_only: true
    restart: unless-stopped
cd ~/jellyfin
mkdir -p config cache
docker compose up -d

Binding the port to 127.0.0.1 matters because Docker opens published ports past ufw; see why ufw does not block Docker ports. The media folder is read-only to Jellyfin, so it can never change your files.

3. Add HTTPS With Caddy

sudo apt install -y caddy
sudo tee /etc/caddy/Caddyfile >/dev/null <<'EOF'
media.example.com {
    reverse_proxy 127.0.0.1:8096
}
EOF
sudo systemctl reload caddy

Open https://media.example.com, choose a language, create the administrator account with a strong password, and add a library for each folder under /media (Movies, Shows, Music).

4. Tune Transcoding

In Dashboard → Playback → Transcoding, leave hardware acceleration off (there is no GPU), and in each user's settings cap the streaming bitrate for remote playback. Ask viewers to choose Original quality where their connection allows, so files play directly. The active sessions on the dashboard show whether each stream is playing directly or being transcoded.

Bandwidth, Backups and Rights

Every stream counts toward the server's monthly transfer; see what 1 TB of bandwidth means. Back up the config folder, which holds users, watch history and settings, and keep a second copy of media you cannot replace, following the 3-2-1 rule. Only serve media you have the right to share.

Common Questions

  • Does Jellyfin need a GPU?

    Not for streams that play directly, where the file is sent as it is. Transcoding (converting a video for a device that cannot play it) is much faster with a GPU, and Jellyfin recommends one. Without one, transcoding runs on the processor, which needs many fast cores.

  • How much bandwidth does streaming use?

    Roughly the video's bitrate: a 1080p stream at 8 Mbps uses about 3.6 GB an hour, and a high-bitrate 4K file several times that. Everything you stream from the server counts toward its monthly transfer.

  • Is Jellyfin free?

    Yes. Jellyfin is free and open source, with no paid tier or account, and its apps for phones, TVs and browsers are free too.

  • Should Jellyfin be open to the internet?

    Jellyfin's own hardware guide says it is not designed to be exposed directly to the internet. Put it behind a reverse proxy with HTTPS and strong passwords, or reach it only over a VPN such as WireGuard.

Plans and prices

Dedicated Servers

Bare-metal servers with many fast cores and large disks for a media library.

See all plans
  • AMD Ryzen 9 5950X

    16 Cores · 128 GB RAM · 2x 1TB NVMe

    Ashburn, VA (ASH1) · Dallas, TX (TX1) · 50 TB transfer · 10 GigE

    $399.00/mo

  • AMD Ryzen 9 9950X

    16 Cores · 192 GB RAM · 2x 2 TB NVMe

    Ashburn, VA (ASH1) · Dallas, TX (TX1) · 50 TB transfer · 10 GigE

    $669.00/mo

  • AMD EPYC 4585PX

    16 Cores · 128 GB RAM · 2x 6.4TB NVMe Gen4

    Dallas, TX (TX1) · 200 TB transfer · 50 Gbps

    $849.00/mo

  • AMD EPYC 7443P

    24 Cores · 512 GB RAM · 2x 2TB NVMe

    Dallas, TX (TX1) · Ashburn, VA (ASH1) · 50 TB transfer · 10 GigE

    $969.00/mo

Keep Reading

All guides