Self-hosted app·Music, media and game libraries
Ampache hosting
in Panama City.
Ampache hosting in Panama City: Docker compose, sizing by library size and real costs on an EPYC dedicated server, with an S3 bucket for backups.
- PHP
- MariaDB
- FFmpeg
- 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
- 6 cores, 12 threads AMD EPYC 4244P
- 1 TB NVMe, up to 12 TB
- 10 Gbps port, unmetered traffic
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes. The plan we recommend for Ampache is the Iron dedicated server in PTY1, Panama City: an EPYC 4244P with 6 cores and 12 threads, 32 GB of DDR5 ECC and 1 TB of NVMe for $64.99 a month, paired with a 1 TB object storage bucket at $7.96 for off-server backups. Ampache is a PHP application on MariaDB and asks very little of the processor. What decides the plan is disk: the library has to sit on local storage that the catalog scanner can read quickly, and Iron is the only plan in our catalogue whose disk can grow, in 2 TB steps, up to 12 TB. If your collection is a few hundred gigabytes of MP3, a Cloud VPS does the job for about a third of the price, and the sizing section below says where that line falls.
02/06
What Ampache is
and who runs it.
Ampache is a self-hosted audio and video streaming server written in PHP and published under the AGPL-3.0-or-later. The project dates from 2001 and is actively maintained. As of 4 November 2026 the newest release is 8.3.0, published on 20 October 2026, and the Ampache 7 line continues alongside it, with 7.10.5 released on 13 October. Ampache 8 runs on PHP 8.5 only, while 7.10.5 is still built for PHP 8.2 through 8.5; the project's own README continues to call the release7 branch the recommended stable one, which is a fair hint about how conservative to be with a library you depend on.
Ampache does not organise files. It reads the tags of a collection you have already put in order and presents it, so a badly tagged library becomes a badly organised server, and no hardware fixes that. One catalog is exposed over several protocols at once: Ampache's own API, a full Subsonic/OpenSubsonic backend, a Jellyfin-compatible backend added in 8.2.0 (off by default), plus DAAP and UPnP/DLNA. The last two are built around discovery on a home network and do little for a server in a datacentre.
The people who run it are mostly households and small circles of friends sharing one collection, and a fair number of people who bought their music once and would rather not rent it back. In exchange it has real multi-user administration — access levels, per-user catalog filters, podcasts, video, democratic playlists — which starts to matter the day a second person logs in.
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.
A native install needs a web server (Apache gets the most testing), the right PHP for your major version, nineteen required PHP extensions, Node.js 20.19+ or 22.12+ to build the front-end assets, and MySQL or MariaDB. Debian 13 ships PHP 8.4, so a native Ampache 8 means adding the Sury repository. The official Docker image removes all of that: it is built on Debian Trixie with PHP 8.5 from Sury, Apache, a bundled MariaDB LTS, cron and an inotify directory watcher, and it listens on port 80 inside the container. Because Ampache 8 switched memory_cache on by default, the image raises PHP's memory limit from 128 MB to 512 MB. On the public interface you need only 443, plus 80 so the reverse proxy can obtain its certificate.
Traffic is rarely the constraint people expect. A 320 kbps stream moves about 144 MB an hour and CD-quality FLAC at around 900 kbps about 405 MB, so ten people listening to FLAC four hours a day for thirty days comes to roughly 490 GB a month (theoretical). That is a twentieth of the smallest VPS's included transfer. Storage is what runs out first:
| Library format (theoretical) | Size per 4-minute track | Tracks per TB |
|---|---|---|
| MP3, 320 kbps | ~10 MB | ~100,000 |
| FLAC, 16-bit/44.1 kHz (~900 kbps) | ~27 MB | ~37,000 (about 3,000 albums) |
| FLAC, 24-bit/96 kHz (~2,700 kbps) | ~81 MB | ~12,000 |
The CPU only works hard when Ampache transcodes, typically FLAC down to Opus or MP3 for a phone on mobile data, and transcoding runs only once you configure it; a fresh 8.3 install has no transcode command at all.
| Plan | Compute | Disk | Network | Price/month |
|---|---|---|---|---|
| Cloud VPS Pro | 6 vCPU, 8 GB | 320 GB NVMe | 20 TB transfer, 1 Gbps | $22.99 |
| Cloud VPS Ultra | 16 vCPU, 32 GB | 1 TB NVMe | 60 TB transfer, 2 Gbps | $65.99 |
| Dedicated Iron | EPYC 4244P, 6c/12t, 32 GB DDR5 ECC | 1 TB NVMe Gen4, +2 TB for $10 up to 12 TB | 10 Gbps, unmetered under fair use | $64.99 |
The bottom two rows settle it. Ultra and Iron cost the same within a dollar, but Iron is a whole machine whose disk can grow, while a VPS keeps the disk it was sold with. Below roughly 250 GB of music that you do not expect to double, take the Cloud VPS Pro and keep the difference.
04/06
How to deploy Ampache
with Docker on our servers.
Order Iron with Debian 13 from this deploy link and add a 1 TB bucket from the object storage page. Once the server is up, install Docker Engine and the Compose plugin from Docker's Debian repository, and let nftables accept only SSH, 80 and 443. Then prepare the directories and the secrets:
mkdir -p /srv/ampache/data/{config,log,media,mysql,backup}
cd /srv/ampache
chown -R 33:33 data/config data/log # www-data in the image is UID/GID 33
cat > .env <<EOF
MYSQL_PASS=$(openssl rand -hex 24)
AMPACHE_ADMIN_USER=you
AMPACHE_ADMIN_EMAIL=you@example.org
AMPACHE_ADMIN_PASSWORD=$(openssl rand -hex 24)
EOF
chmod 600 .envThe compose file, saved as /srv/ampache/docker-compose.yml:
name: ampache
services:
ampache:
image: ampache/ampache:7
container_name: ampache
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
volumes:
- ./data/config:/var/www/config
- ./data/log:/var/log/ampache
- ./data/media:/media
- ./data/mysql:/var/lib/mysql
- ./data/backup:/var/www/backup
environment:
MYSQL_USER: admin
MYSQL_PASS: ${MYSQL_PASS}
DB_NAME: ampache
DB_HOST: localhost
AMPACHE_ADMIN_USER: ${AMPACHE_ADMIN_USER}
AMPACHE_ADMIN_EMAIL: ${AMPACHE_ADMIN_EMAIL}
AMPACHE_ADMIN_PASSWORD: ${AMPACHE_ADMIN_PASSWORD}Three choices in it are deliberate. The image is pinned to a major version, as the Ampache documentation recommends, so a routine pull never carries you from 7 to 8 unannounced; move to Ampache 8 on purpose, after reading its admin notes. Port 80 of the container is bound to 127.0.0.1, so Apache is reachable only through the proxy. The backup directory is mounted so that database dumps land on the host. With DB_NAME, DB_HOST and the three admin variables set, docker compose up -d installs Ampache from the CLI on first start; leave them out and you get the web installer at /install.php instead, with the generated MariaDB password printed in docker logs ampache.
For TLS, apt install caddy and give it a two-line site:
music.example.org {
reverse_proxy 127.0.0.1:8080
}Then set local_web_path = "http://localhost" and force_ssl = "true" in data/config/ampache.cfg.php. Without them, Subsonic clients behind a proxy tend to fail with 404 stream errors that look like a client bug and are not.
Copy the music in with rsync -avh over SSH into data/media, then create a local catalog on /media and name it music. The name matters: the container's directory watcher updates only a catalog called music as files change, and any other catalog waits for the hourly cron run. Enable the Subsonic backend if your apps need it, and before pointing transcode_cmd at ffmpeg, check the binary is present with docker exec ampache ffmpeg -version.
Backups come in two layers. The image ships backup-db.sh, which dumps the database to /var/www/backup using the credentials in ampache.cfg.php; restic then copies config, dumps and media to the bucket over the S3 API, with the endpoint and access key from the client panel and the secret key from the ticket we send at delivery:
# /etc/cron.d/ampache
0 3 * * * root docker exec ampache backup-db.sh
30 3 * * * root /usr/local/bin/ampache-restic.sh
# /usr/local/bin/ampache-restic.sh (run `restic init` once beforehand)
#!/bin/sh
set -e
. /root/.restic-env # AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
# RESTIC_REPOSITORY=s3:https://<endpoint>/<bucket>/ampache,
# RESTIC_PASSWORD_FILE
restic backup /srv/ampache/data/config /srv/ampache/data/backup /srv/ampache/data/media
restic forget --keep-daily 7 --keep-weekly 4 --pruneDo not back up data/mysql while MariaDB is running; the dump is the consistent copy. If you set the server to America/Panama, the schedule stays put, because Panama keeps UTC−5 all year and a 03:00 job never runs twice or vanishes at a clock change.
The bucket can also hold a cold archive that Ampache reads through rclone mount --read-only --vfs-cache-mode full, attached as a second catalog outside /media and mounted before the container starts. We would use that only for music you rarely play: every file has to be fetched to read its tags, so scans are slow, and the MariaDB directory must never sit on such a mount. If you do put a network mount under /media, set DISABLE_INOTIFYWAIT_CLEAN=1 so that a dropped mount does not lead the watcher to clean your catalog.
05/06
Cost.
| Item | Per month |
|---|---|
| Dedicated Iron | $64.99 |
| Object storage 1 TB | $7.96 |
| Total | $72.95 |
Iron includes a 10 Gbps port with unmetered traffic under fair use, DDoS protection, one IPv4, KVM console access, full root, DDR5 ECC memory and NVMe Gen4. Quarterly billing takes 10 % off the server and yearly billing 25 %, which brings Iron to about $48.74 a month on a yearly term (theoretical, 64.99 × 0.75). Useful options for this workload are +2 TB NVMe for $10 a month and an extra IPv4 at $2. The bucket is billed by size alone, with unlimited traffic and no request fees, so restic's many small requests cost nothing extra; the 1 TB size covers a library up to roughly 900 GB with snapshot history, and beyond that the 5 TB bucket is $39.80. If you only want a copy and do not need the S3 API, the server's own backup-space option (1 TB for $5) is cheaper. Every price is on our pricing page.
Payment is in cryptocurrency only: AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT and XMR, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. The honest downside: $72.95 a month is a lot for one person's MP3s, and a single server is a single point of failure, which is exactly why the bucket is part of the recommendation rather than an upsell.
06/06
Limits and acceptable
use.
Ampache serves whatever you put in /media, and you are responsible for having the right to store and stream it. 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. Panamanian copyright law still applies to what you host, and an instance with open registration or public share links that streams commercial catalogues to strangers is distribution, not a private library.
Running the instance is also your job. Keep the image current within its major version: the October 2026 releases alone (7.10.4 and 8.2.0) fixed guessable session identifiers after header authentication, an authentication bypass on the update page, and made password reset opt-in. Keep public registration off unless you mean it. If you invite other people, their email addresses, listening history and IP addresses are personal data under Panama's Law 81 of 2019, implemented by Executive Decree 285 of 2021; and since Panama has no EU adequacy decision, running it for an EU club or business calls for safeguards such as the 2021 standard contractual clauses.
On jurisdiction, the facts are narrower than most marketing. Article 29 of Panama's Constitution allows private communications to be intercepted only on the order of a judicial authority. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Panama; the two countries are, however, bound by a mutual legal assistance treaty in criminal matters, in force since 6 September 1995. Our offshore hosting page covers the rest.
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 |
|---|---|---|---|---|---|---|---|
| IronRecommendedEntry 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 |
| ChromeMore 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.
Is a Cloud VPS enough to self-host Ampache?
Often, yes. Ampache's CPU and memory needs are modest and the real limit is disk. A Cloud VPS Pro (6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, $22.99/month) suits an MP3 library up to about 250 GB. VPS disks are fixed at their plan size, so a growing lossless collection belongs on Iron, whose NVMe grows in 2 TB steps at $10 a month up to 12 TB. VPS traffic counts against the included transfer, but audio streaming seldom comes near it.
Can Ampache stream straight from the object storage bucket?
Not natively. Ampache catalogs are local directories or remote sources such as another Ampache server, a Subsonic server, Beets or SoundCloud; there is no S3 catalog type. A read-only rclone mount of the bucket works for a cold archive, but scans are slow because every file must be fetched to read its tags, and the database must never live on it. Keep the active library on local NVMe and use the bucket for backups.
Should I install Ampache 7 or Ampache 8?
As of 4 November 2026 the newest release is 8.3.0 (20 October 2026) and the newest 7.x is 7.10.5 (13 October 2026). Ampache 8 requires PHP 8.5, which the official Docker image already provides, and adds the Jellyfin-compatible API; the project's README still names release7 as the recommended stable branch. Pin a major version in compose either way. Ampache 7.10 can downgrade a database from 8, so trying 8 is reversible if you keep a dump.
Which apps can connect to my Ampache server?
The browser web player; any Subsonic or OpenSubsonic client once the Subsonic backend is enabled; native Ampache API clients such as Power Ampache 2 on Android and Amperfy on iOS and macOS; and, from Ampache 8.2.0 with the Jellyfin backend switched on, Jellyfin clients such as Finamp and Symfonium. Behind a reverse proxy, set local_web_path and force_ssl in ampache.cfg.php, or Subsonic streams fail.
What happens if a rights holder complains about music on my server?
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. A private, login-only library draws far fewer complaints than open registration or public share links, and you remain responsible for having the rights to what you stream.
Do I need to identify myself to order an Ampache server?
No. Our no-KYC hosting works the same way for every plan: an email address is enough. Payment is in cryptocurrency only, prices are in US dollars, and the unused paid part of a top-up is refundable within 14 days. To reach us, open a support ticket from the client panel.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Panamanian law and authorities
- Panama, Law 81 of 26 March 2019 on personal data protection, Gaceta Oficial 28743-A (implemented by Executive Decree 285 of 28 May 2021)gacetaoficial.gob.pa
- Constitution of Panama, Article 29, G.O. 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resources — executive agreements with the UK and Australia onlyjustice.gov · verified 31 Oct 2026
- GDPR, Article 46eur-lex.europa.eu
Industry, providers and software
- Ampache releases, GitHub — 8.3.0 (20 Oct 2026), 7.10.5 (13 Oct 2026), 7.10.4 (12 Oct 2026), 8.2.0 (2 Oct 2026), release notes on transcoding defaults and security fixesgithub.com
- Ampache README — requirements, PHP versions per release, licence, recommended branchgithub.com
- Official docker-compose.yml, ampache-docker repositorygithub.com
Other references
- Ampache Docker documentation — image contents, variables, permissions, backups, catalog watcher, reverse proxyampache.org
- Ampache 8 for Admins — PHP 8.5 requirement, downgrade pathampache.org
- Ampache feature overview — protocols, remote catalog types, project datesampache.org
- Client apps: Power Ampache 2 on F-Droidf-droid.org
- US Department of State, Panama–US mutual legal assistance treaty (signed 1991, in force 6 Sep 1995)state.gov
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.