Self-hosted app·Video sites and adult platforms
Self-hosting an S3 origin
for video in Panama City.
Running an origin S3 VPS for video? Why we put it on a PTY1 dedicated server: S3 API over NVMe, nginx for GETs, 10–25 Gbps unmetered under fair use.
- nginx
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 10 Gbps portunmetered traffic, fair useIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4KVM console and full rootIncluded
Optional: NVMe +$10 per 2 TB, up to 12 TB · 25 Gbps port +$25 · 32 GB memory +$12
Pay quarterly for 10% less, yearly for 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 12 cores, 24 threads AMD EPYC 4464P
- 3 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Panamanian law
01/06
What an "origin S3" is,
and who runs one.
It is a role, not a product. The origin is the authoritative store a CDN pulls from when an edge node misses: HLS or DASH segments, progressive MP4s, thumbnails, sprite sheets. Speaking S3 on that box gives your transcoders, upload tools and CMS a standard API to write into, while the CDN only ever needs plain HTTP GETs with byte ranges.
The people who end up self-hosting one are usually running tube sites, paysites and VOD archives that started on a hyperscaler and met two walls. The first is egress: AWS bills S3 transfer out to the internet at $0.09/GB for the first 10 TB, sliding to $0.05/GB above 150 TB, with only 100 GB a month free. The second is CDN terms. Cloudflare's service-specific terms (updated 28 September 2026) say that customers below Enterprise must use specific paid services such as Stream, Images or the Developer Platform to serve video and other large files, and reserve the right to limit or disable the CDN for accounts serving video without them. Putting a free-plan zone in front of a video bucket is a terms problem waiting to surface.
For scale: one gigabit per second held for 30 days is 324 TB. Served directly from S3 at list price, that is roughly $19,000 of egress a month (theoretical, tiered, binary GB as AWS bills it). On our dedicated ports the same traffic is not billed per gigabyte.
02/06
Choosing the software
in late 2026.
MinIO Community Edition is no longer a reasonable starting point. Its GitHub repository carries a "no longer maintained" notice, pre-built binaries stopped in favour of source-only distribution, and the repository was archived on 25 April 2026. Existing clusters keep running; a new origin should not be built on it.
Garage (v2.5.0, released 24 October 2026, AGPLv3) is well maintained and designed for small, geographically spread clusters with replication between sites. It splits objects into blocks in its own store, which is what you want for multi-site durability and not what you want when the goal is to hand files to the kernel for zero-copy sends. SeaweedFS is capable but has more moving parts (master, volume, filer, S3 gateway), and its S3 gateway shipped a cross-bucket path-traversal bug fixed in 4.30 (CVE-2026-54917, June 2026), a reminder that the write API should never be exposed to the open internet.
Our pick for a single-server origin is the Versity S3 Gateway (versitygw v1.8.0, 4 September 2026, Apache-2.0) with its POSIX backend. Buckets are top-level directories and objects are ordinary files, with S3 metadata kept in extended attributes. That gives you a real S3 API for ingest and a directory tree nginx can serve directly. If you later add a second site and want replication handled for you, Garage is the one to move to.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
Four resources set the size of an origin: the library on disk, the hot working set in RAM, the port, and CPU for TLS.
Disk is the library you serve. Chrome ships with 3 TB; each +2 TB NVMe option costs $10/month, so four of them take Chrome to 11 TB. The per-server ceiling of 12 TB is reached exactly on Tungsten (6 TB + 3 options) or Titan (8 TB + 2). Treat this NVMe as a rebuildable copy of your renditions, not as the only copy of your masters.
RAM is your cache, because Linux uses free memory as page cache without being asked. A 20-minute 1080p rendition at 5 Mbps is about 750 MB (theoretical), so 100 GB of free RAM holds roughly 130 of them hot. A 128–192 GB cache is reachable on Chrome: +32 GB costs $12/month, up to 192 GB. Chrome's EPYC 4004 platform has two DDR5 channels against Titan's twelve; at 25 Gbps you need about 3.1 GB/s out of memory, an order of magnitude below what two DDR5 channels move, so the channel count does not limit this workload (theoretical).
The port is 10 Gbps on every dedicated server; 25 Gbps adds $25/month. Behind a CDN the origin only sees misses: at a 95% edge hit ratio, 1 Gbps of origin traffic feeds 20 Gbps at the edge (theoretical). TLS is the real CPU cost at line rate, and kernel TLS in nginx with OpenSSL 3 keeps sendfile() usable over HTTPS.
| Build | Specs | Monthly |
|---|---|---|
| Chrome + 1 TB bucket (start here) | 12c/24t, 64 GB, 3 TB NVMe, 10 Gbps + 1 TB S3 bucket | $117.95 |
| Chrome, operator profile | 128 GB (+2 × $12), 11 TB (+4 × $10), 25 Gbps (+$25), + 1 TB bucket | $206.95 |
| Tungsten at the 12 TB cap | 16c/32t, 128 GB, 12 TB (+3 × $10), 25 Gbps, + 1 TB bucket | $227.95 |
| Titan at the 12 TB cap | 24c/48t, 192 GB, 12 DDR5 channels, 12 TB (+2 × $10), 25 Gbps, + 1 TB bucket | $272.95 |
Panama's position matters for who your viewers are. The theoretical floor for round-trip time from PTY1 over fibre (great-circle distance at 200,000 km/s) is about 8 ms to Bogotá, 19 ms to Miami, 24 ms to Mexico City, 51 ms to São Paulo and 82 ms to Madrid. Real routes are longer.
04/06
Deploying it
on Chrome.
Order the server with Debian 13 from this deploy link, and add a 1 TB bucket from the object storage page. Format the NVMe as XFS (extended attributes are on by default, and versitygw needs them) and mount it at /srv/s3 with noatime. Create one directory per bucket, for example masters for uploads and media for renditions.
Run versitygw bound to loopback only:
# /opt/origin/compose.yaml
services:
versitygw:
image: versity/versitygw:v1.8.0
restart: unless-stopped
environment:
ROOT_ACCESS_KEY: ${VGW_ACCESS_KEY}
ROOT_SECRET_KEY: ${VGW_SECRET_KEY}
VGW_BACKEND: posix
VGW_BACKEND_ARG: /data
volumes:
- /srv/s3:/data
ports:
- "127.0.0.1:7070:7070"Run nginx on the host, not in a bridged container, so the delivery path avoids Docker's NAT at 10–25 Gbps. Use two virtual hosts. The write API (s3.example.com) proxies to 127.0.0.1:7070 with proxy_set_header Host $host; (SigV4 signs the host), client_max_body_size 0; and proxy_request_buffering off;, and is firewalled to your ingest and transcoder IPs. The origin vhost serves files and nothing else:
server {
listen 443 ssl;
server_name origin.example.com;
ssl_certificate /etc/ssl/origin/fullchain.pem;
ssl_certificate_key /etc/ssl/origin/privkey.pem;
ssl_conf_command Options KTLS;
root /srv/s3/media;
sendfile on;
tcp_nopush on;
open_file_cache max=100000 inactive=10m;
if ($request_method !~ ^(GET|HEAD)$) { return 405; }
if ($http_x_origin_auth != "replace-with-a-long-random-string") { return 403; }
location ~ /\. { return 404; }
location ~ \.m3u8$ { add_header Cache-Control "public, max-age=10"; }
location ~ \.(m4s|ts|mp4)$ { add_header Cache-Control "public, max-age=31536000, immutable"; }
}Configure your CDN to send that secret header on every origin pull, and to respect origin cache headers. Check that the nginx user can read newly written objects; v1.8.0 added a setting for the permissions of new objects. Finally, schedule an rclone sync of /srv/s3/masters to the storage bucket using the endpoint and access key from the client panel and the secret key from the ticket we send at delivery. The bucket is an S3 target, not a disk to mount under the server; if the NVMe fails, you restore masters from it and re-transcode.
05/06
Cost and what
is included.
Chrome is $109.99/month and the 1 TB bucket $7.96, so the starting build is $117.95. The server includes the 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4, KVM console, full root, DDR5 ECC and NVMe Gen4. The bucket is billed by size only, with unlimited traffic in both directions at 5 Gbps and no request fees. Quarterly billing takes 10% off dedicated servers and yearly 25%; Chrome alone on yearly billing works out to $82.49/month.
Payment is crypto only (AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT and XMR), with prices in US dollars. Top-ups run from $25 to $5,000 with a bonus from 5% at $50 up to 20% at $500, so a $250 top-up credits $287.50; the unused paid part is refundable within 14 days. We accept business customers paying in crypto, and the account itself is no-KYC: an email address is enough.
Fair use is the one term an origin operator should read twice.
06/06
Limits and acceptable
use.
Child sexual abuse material is illegal in Panama as everywhere else and ends the service. Content published without the consent of the people shown, and content you cannot document as lawfully produced, is your liability, and you remain responsible for the record-keeping and age-verification laws of the countries where you produce and sell.
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. You are expected to answer forwarded complaints, keep the S3 write API off the public internet, and not leave buckets listable to anyone; an open origin turns into someone else's mirror within days.
On jurisdiction, see our offshore hosting page for the full picture. In short: Article 29 of Panama's Constitution permits interception of private communications only on a judicial order; the US Department of Justice lists CLOUD Act agreements only with the United Kingdom and Australia as of 31 October 2026; US requests run through the mutual legal assistance treaty in force since 1995. If your member database holds EU residents' data, Panama has no EU adequacy decision, so transfers need safeguards such as the 2021 standard contractual clauses.
Related reading: our page on adult content under Panamanian law and our page on Panamanian copyright law.
Catalogue·Options
Every configuration, every option, every price.
Six dedicated servers, all with a 10 Gbps port and unmetered traffic. Add NVMe, memory, a faster port or more addresses when you order.
| Server | CPU | Cores / threads | Memory | Storage | Port, traffic | Price | Order |
|---|---|---|---|---|---|---|---|
| IronEntry level | EPYC 4244P | 6 / 12 | 32 GB DDR5 | 1 TB NVMe | 10 Gbps unmetered | $64.99/mo | Order Iron |
| SteelBalanced | EPYC 4344P | 8 / 16 | 64 GB DDR5 | 2 TB NVMe | 10 Gbps unmetered | $84.99/mo | Order Steel |
| ChromeRecommendedMore cores | EPYC 4464P | 12 / 24 | 64 GB DDR5 | 3 TB NVMe | 10 Gbps unmetered | $109.99/mo | Order Chrome |
| CobaltHigh frequency | EPYC 4564P | 16 / 32 | 96 GB DDR5 | 4 TB NVMe | 10 Gbps unmetered | $139.99/mo | Order Cobalt |
| TungstenLarge memory | EPYC 4584PX | 16 / 32 | 128 GB DDR5 | 6 TB NVMe | 10 Gbps unmetered | $164.99/mo | Order Tungsten |
| TitanMaximum density | EPYC 9254 | 24 / 48 | 192 GB DDR5 | 8 TB NVMe | 10 Gbps unmetered | $219.99/mo | Order Titan |
NVMe can be added in 2 TB steps up to 12 TB.
Every plan
- 10 Gbps port25 Gbps for $25 more
- Unmetered trafficfair use, no per-TB bill
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- KVM consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can I run the S3 origin on a VPS instead of a dedicated server?
For a small library, yes. Cloud VPS Titan ($119.99/month) gives 32 vCPU, 64 GB, 2 TB NVMe, a 5 Gbps port and 100 TB of included transfer, about 309 Mbps averaged over a month (theoretical). VPS traffic is metered against that allowance, so past it the dedicated servers are cheaper per delivered gigabyte. See the Cloud VPS plans for the smaller tiers.
Could I skip the server and point my CDN at your object storage bucket?
You can, and for libraries under a few terabytes it is the least work: S3 endpoint and keys, traffic unmetered, no request fees, $7.96 per TB. The ceiling is the bucket's 5 Gbps, and you lose the RAM page cache in front of your hottest files. Above that, the dedicated origin described here is the better fit.
Why not keep MinIO, since I already know it?
An existing MinIO cluster will not stop working, but the upstream repository was archived on 25 April 2026 and the community edition is distributed as source only, so patches and builds are now your job. For a new origin, versitygw on a single server or Garage across sites is the safer base.
Is 12 TB the most I can store on one server?
Yes, 12 TB of NVMe is the per-server maximum, on any model. Beyond that, split the catalogue across two origins by path or bucket, or keep the long tail in object storage and the recent, hot catalogue on NVMe.
Do I need RAID on the NVMe?
That depends on whether the server holds your only copy. If masters are synced to the bucket and renditions can be regenerated, a dead drive costs re-transcoding time, not data.
Sources
Every fact on this page, with its source
Verified 31 Oct 2026 unless noted.
Panamanian law and authorities
- Constitution of Panama, Article 29, G.O. 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resourcesjustice.gov
- GDPR Article 46eur-lex.europa.eu
Industry, providers and software
- Cloudflare, Service-Specific Terms, Application Services, "Content Delivery Network (Free, Pro, or Business)"cloudflare.com
- Amazon Web Services, Amazon S3 pricing, data transfer out to the internet and 100 GB monthly free allowanceaws.amazon.com
- MinIO repository: "no longer maintained" notice, source-only distribution, archived 25 April 2026github.com
- Versity S3 Gateway releases, v1.8.0 of 4 September 2026; README for the POSIX backend and Docker variablesgithub.com
Other references
- Garage release builds, v2.5.0 of 24 October 2026garagehq.deuxfleurs.fr
- CVE-2026-54917, SeaweedFS S3 gateway path traversal, fixed in 4.30app.opencve.io
- US Department of State, Panama–US mutual legal assistance treaty, in force 6 September 1995state.gov
- Panama Host catalogue (dedicated, VPS, object storage, payment terms), internal, owner decisions of 1 November 2026Panama Host
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.