New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Video and streaming

Tube Archivist server hosting in the Swiss Alps.

Run a Tube Archivist server in ALP1, Swiss Alps: VPS Standard plus a 1 TB S3 bucket for $20.95/mo, Docker setup, sizing and YouTube's limits.

Runs here
  • Elasticsearch
  • Redis
  • Docker

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Small appsStandard · 4 vCPU · 4 GB RAM$12.99/mo160 GB NVMe · 15 TB transfer · 1 Gbps
  • 1 Gbps port15 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$12.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less

Deploy VPS Standard
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 4 vCPU, 4 GB RAM
  • 160 GB NVMe local storage
  • 15 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

What Tube Archivist is and who runs it.

Tube Archivist is an open-source, self-hosted media server for YouTube. You subscribe to channels or add playlists, it downloads the videos with yt-dlp, and it indexes titles, descriptions, subtitles and comments in Elasticsearch, so an archive of tens of thousands of videos stays searchable in its own web player. Redis holds the task queues and transient state. The project was started in 2021 by Simon (bbilly1 on GitHub) and is maintained by him with a small group of contributors. Version 0.6.0, released on 25 October 2026, lets the container run as a non-root user and removes the bundled nginx, so the application now serves media files itself.

Files are stored as <channel-id>/<video-id>.mp4 and nothing else. The maintainers chose IDs over titles because titles change and Unicode breaks paths on some filesystems, so do not expect a folder tree you can browse by hand; the web interface, the API, and the Jellyfin and Plex integrations are how you read the library. Most people who run it are preserving channels that may disappear, or building a searchable corpus of lectures, hearings or speeches where the subtitles matter as much as the picture. The practical discussion happens on r/DataHoarder, r/youtubedl and the project's own subreddit and Discord.

02/06

Requirements and sizing.

The project's documentation asks for about 2 GB of free memory for a test install and about 4 GB for a mid-sized to large one, and at least a dual-core CPU with four threads, quad-core preferred. VPS Standard meets the larger figure exactly, which leaves nothing to waste. The upstream compose file fixes the Elasticsearch heap at 1 GB; add JVM overhead, the Django application and its workers, Redis and the rclone mount, and 4 GB is full but workable. Elasticsearch is the part that grows, and the maintainers say openly that it keeps a lot of query cache in memory on a large index. If the kernel starts killing containers, or full-text searches across subtitles slow to seconds, move the stack to a new VPS Pro (6 vCPU, 8 GB, $22.99) and raise the heap to 2 GB; the bucket stays as it is. CPU matters mostly when ffmpeg merges separate audio and video streams or converts imports to mp4, and four vCPU are plenty for a queue that downloads one video at a time.

Tube Archivist has no S3 backend. Its documentation describes the media store only as a filesystem volume at /youtube, so the bucket is mounted with rclone mount, and only that volume goes there:

DataWhere it livesWhy
Elasticsearch and Redis dataLocal NVMe (Docker volumes)Databases never sit on an object store
/cache: artwork, index backups, download staging, import folderLocal NVMeSmall files, written constantly
rclone VFS cache, capped at 40 GBLocal NVMeBuffers uploads and playback reads
/youtube: finished videos1 TB S3 bucket via rclone mountLarge, read-mostly, cheap per terabyte

Keep the 160 GB disk below about 85 % full. Elasticsearch makes its index read-only when the disk passes its 95 % flood-stage watermark and releases it only below 90 %, and an overfull download staging folder is the usual way to get there.

How much fits in a terabyte depends on codec and resolution. As a theoretical guide, 1080p averaging 4 Mbit/s with audio takes 1.8 GB per hour (4 × 3,600 ÷ 8 = 1,800 MB), so 1 TB holds about 550 hours; 720p at 2 Mbit/s doubles that to about 1,100 hours. Tube Archivist downloads the best quality available unless you set a format, and 4K at 15–20 Mbit/s fills a terabyte in roughly 110 to 150 hours. Transfer is not the constraint. Archiving 1 TB moves about 1 TB in from YouTube and 1 TB out to the bucket; watching 100 hours of 1080p a month pulls about 0.18 TB from the bucket and sends the same again to your browser (theoretical, same bitrate). Even counting every byte in both directions, that month stays under 3 TB of the 15 TB included, and the bucket's own traffic is unlimited.

Open 22 for SSH and 80/443 for Caddy, which terminates TLS. Tube Archivist listens on 8000: bind it to 127.0.0.1, because ports published by Docker bypass the ufw or nftables rules you add on the host. Elasticsearch (9200) and Redis (6379) are only exposed on the internal Docker network and should stay there.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

The part no host fixes YouTube's bot checks.

Tube Archivist's FAQ lists the symptoms: "Sign in to confirm you're not a bot", HTTP 403, formats suddenly reported as unavailable, downloads crawling at a few KB/s. It also says that datacenter and VPN ranges trip detection more often and are sometimes blocked outright. A server in ALP1 sits in a datacenter range. A host that tells you its addresses are immune is describing last week, not a policy.

What helps, within the tool: a modest download rate and a sleep interval between videos, both in the application settings, and a current yt-dlp, since most breakages are fixed upstream within days. TA_AUTO_UPDATE_YTDLP=release installs the latest yt-dlp at each container start; the documentation warns that a yt-dlp newer than the application can index incomplete or wrong metadata, so use it only with backups in place. The project also documents a PO-token provider setting and an account-cookie option. Its FAQ is plain that a cookie can get the Google account itself blocked, and it ties the archive to an identity most researchers would rather keep out of it. We do not sell residential addresses, and we would not build an archive on renting them to get past a block.

If the VPS is refused outright, there is a cleaner split of work. Download where YouTube accepts your requests and push the files with their .info.json into the server's import folder; the manual import indexes them, and since v0.6.0 it falls back to that local metadata when YouTube rejects the server's own request. The server then does what it is good at, which is holding and searching the archive.

04/06

How to deploy it with us.

  1. 01Order VPS Standard with Debian 13 and a 1 TB bucket. Once the team has created the bucket, its page in the client panel shows the endpoint, region, name and access key, with a ready rclone config create line; the secret key arrives once, in a support ticket, so keep it at hand. More detail on both products is on the Cloud VPS and object storage pages.
  1. 02Install Docker Engine with the Compose plugin (Docker's Debian repository, or the docker.io and docker-compose packages from Debian 13), then prepare the host:
bash
apt update && apt install -y rclone fuse3 caddy echo 'vm.max_map_count = 262144' > /etc/sysctl.d/99-elasticsearch.conf sysctl --system mkdir -p /srv/ta/youtube /srv/ta/cache /var/cache/rclone /etc/rclone chown 1000:1000 /srv/ta/cache chattr +i /srv/ta/youtube # if the mount is missing, writes fail instead of filling the NVMe
  1. 03Describe the bucket to rclone in /etc/rclone/rclone.conf:
ini
[alp1] type = s3 provider = Other endpoint = https://ENDPOINT-FROM-YOUR-PANEL access_key_id = YOUR-ACCESS-KEY secret_access_key = YOUR-SECRET-KEY

Then mount it before Docker starts, with /etc/systemd/system/ta-media.service:

ini
[Unit] Description=rclone mount for Tube Archivist media Wants=network-online.target After=network-online.target Before=docker.service [Service] Type=notify ExecStart=/usr/bin/rclone mount alp1:YOUR-BUCKET /srv/ta/youtube \ --config /etc/rclone/rclone.conf \ --allow-other --uid 1000 --gid 1000 \ --vfs-cache-mode full --vfs-cache-max-size 40G \ --cache-dir /var/cache/rclone ExecStop=/usr/bin/fusermount3 -u /srv/ta/youtube Restart=on-failure [Install] WantedBy=multi-user.target

Run systemctl daemon-reload && systemctl enable --now ta-media. Full VFS caching is what lets the metadata-embedding task rewrite files and lets the player seek without fetching whole videos.

  1. 04Put the passwords in /srv/ta/.env (TA_PASSWORD=…, ELASTIC_PASSWORD=…) and write /srv/ta/docker-compose.yml, adapted from the project's own file for v0.6.0:
yaml
services: tubearchivist: container_name: tubearchivist image: bbilly1/tubearchivist:v0.6.0 restart: unless-stopped user: "1000:1000" ports: - "127.0.0.1:8000:8000" volumes: - type: bind source: /srv/ta/youtube target: /youtube bind: propagation: rslave # a remount on the host reaches the container - /srv/ta/cache:/cache environment: - ES_URL=http://archivist-es:9200 - REDIS_CON=redis://archivist-redis:6379 - TA_HOST=https://tube.example.org - TA_USERNAME=archivist - TA_PASSWORD=${TA_PASSWORD} - ELASTIC_PASSWORD=${ELASTIC_PASSWORD} - TZ=Europe/Zurich depends_on: - archivist-es - archivist-redis archivist-redis: image: redis container_name: archivist-redis restart: unless-stopped expose: - "6379" volumes: - redis:/data archivist-es: image: bbilly1/tubearchivist-es container_name: archivist-es restart: unless-stopped environment: - "ELASTIC_PASSWORD=${ELASTIC_PASSWORD}" - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - "xpack.security.enabled=true" - "discovery.type=single-node" - "path.repo=/usr/share/elasticsearch/data/snapshot" ulimits: memlock: soft: -1 hard: -1 volumes: - es:/usr/share/elasticsearch/data expose: - "9200" volumes: redis: es:

TA_HOST must match exactly what you type in the browser, protocol included; a mismatch returns Bad Request (400). The bbilly1/tubearchivist-es image follows the Elasticsearch version the project tests against, which moved to the 9.x series with v0.6.0. Start the stack with docker compose up -d from /srv/ta.

  1. 05Point a DNS record at the VPS and give Caddy a two-line site in /etc/caddy/Caddyfile, then systemctl reload caddy:
example
tube.example.org { reverse_proxy 127.0.0.1:8000 }
  1. 06In the settings, change the initial password, set the download format before the first download (bestvideo[vcodec*=avc1]+bestaudio[acodec*=mp4a]/mp4 if you watch on Safari or iOS), and set the rate limit and sleep interval. Turn on metadata embedding: it writes the index data into each mp4, so the index can be rebuilt from the files alone. The bulk embedding task is slow, about 5 to 30 minutes per 1,000 videos by the project's own estimate.
  1. 07Schedule the ZIP index backup, which lands in /cache/backup, and copy /cache nightly to a second bucket or prefix with restic. The bucket and the VPS are in the same facility, so anything you would grieve over should also exist somewhere else.

05/06

Cost.

ItemPlanPer month
ServerCloud VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer, 1 Gbps$12.99
Video filesObject storage, 1 TB S3 bucket: unlimited traffic, 5 Gbps, no request fees$7.96
Total$20.95

Daily backups of the VPS add 20 %, $2.60 a month; they protect the index, Redis and /cache, not the bucket. Yearly billing takes about 25 % off the VPS. When the library outgrows a terabyte, the 5 TB bucket costs $39.80 and the total becomes $52.79; if Elasticsearch needs more memory, VPS Pro brings the 1 TB setup to $30.95. Current figures are on the pricing page.

Payment is in crypto only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part is refundable within 14 days. As a theoretical example, a $100 top-up becomes $110 of credit, which covers five months of this setup with $5.25 left over. Opening the account is no-KYC: an email address is enough.

06/06

Limits and acceptable use.

Two sets of rules apply, and they differ in kind. YouTube's Terms of Service, in the version dated 15 December 2023, forbid downloading content except where the service expressly authorises it or with prior written permission, and forbid access by automated means. That is a contract between you and Google, governed by California law, and its remedies (closing your account, blocking your addresses) follow you to any server in any country. For your own uploads the authorised route is Google Takeout. For other channels, respect the platform's terms and get the permission they ask for.

Swiss copyright law is the second set. Downloading a work for private use is permitted, software excepted; making it available online without permission is not. A Tube Archivist instance behind your own login sits on the first side of that line. One with open registration, or a password posted in a forum, sits on the second, and it is also the shape of service YouTube has already pursued: in June 2023 its legal team gave the Invidious developers seven days to take their front end down, citing the YouTube API terms. Keep the hostname unadvertised and leave DISABLE_STATIC_AUTH unset, since it makes media files readable without a session.

A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Since 1 April 2020, CopA art. 39d can require a host to stop a work being made unlawfully available again, but only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. A private archive does not look like that; a public mirror might. Our answer on DMCA notices in Switzerland has the procedure.

Where Swiss hosting does change things is data protection. An archive and its watch history say a good deal about whoever built it: which channels a journalist follows, which speeches a researcher annotates. The revised Federal Act on Data Protection (FADP, nLPD in French) has applied since 1 September 2023. Switzerland is outside the EU, and the European Commission confirmed on 15 January 2024 that it still provides adequate protection, so an EU-based team needs no extra transfer safeguards to keep its archive here. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. A foreign authority that wants data held here normally goes through a Swiss one, and a decision of a competent Swiss authority binds us; the longer version is on our offshore hosting page. If the same server should also feed a family media library, our Plex and Jellyfin page and the arr stack guide cover those workloads.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Will YouTube block downloads from a server in ALP1?

It may. Tube Archivist's own documentation says datacenter and VPN ranges are more likely to trigger bot detection, and our addresses are datacenter addresses. Plan for it: a low download rate with a sleep interval, a current yt-dlp, and a fallback in which you download where YouTube accepts your requests and use the manual import on the server.

Can Tube Archivist store videos directly in S3?

Not natively; it expects a filesystem at /youtube. Mount the bucket there with rclone mount and full VFS caching, and keep Elasticsearch, Redis and /cache on the VPS's local NVMe. An object store under a database is how indexes get corrupted.

Is 4 GB of RAM enough for a Tube Archivist server?

For one user and a moderate archive, yes: the project quotes about 4 GB for a mid-sized to large installation, and the stock Elasticsearch heap is 1 GB. If containers are killed for memory or subtitle searches slow down, move the stack to a new VPS Pro (8 GB, $22.99) and raise the heap to 2 GB.

Is it legal to keep a YouTube archive on a Swiss server?

Under Swiss copyright law, downloading for private use is permitted and making works available online without permission is not. YouTube's Terms of Service are a separate contract that restricts downloading to what YouTube authorises, and breaching it can cost you your account wherever the server is. Archive what you have the right to keep, and keep it private.

Can I give my research group accounts on the archive?

A research group is not the same thing as private use, and Swiss law treats copies made inside organisations under separate rules with their own conditions, so take legal advice before handing out accounts. What is clear is that open registration or a public link amounts to making works available, which needs the rights holders' permission.

What do you need from me to order?

An email address; we do not ask for identity documents. Payment is in Monero, Bitcoin, USDT, Ethereum, Litecoin or other coins, and the unused paid part of a top-up is refundable within 14 days. For anything else, open a support ticket from the client panel.

Sources

Every fact on this page, with its source

Checked 6 Nov 2026 unless noted.

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.