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

Pay with
EN

Self-hosted app·Websites, APIs and internal tools

imgproxy hosting in the Swiss Alps.

imgproxy hosting in Switzerland: imgproxy 4 in Docker on a 4 vCPU / 4 GB VPS in ALP1, originals in S3-compatible storage, from $12.99 a month.

Runs here
  • Go
  • nginx
  • 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

Short answer.

Yes. imgproxy runs well within the limits of our Cloud VPS Standard plan (4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB monthly transfer, $12.99 a month) in ALP1, using Debian 13 and the official Docker image. Keep your original images in an object storage bucket, put an nginx cache in front, and turn on URL signing before the server answers its first public request.

That last point is the one that matters. An imgproxy instance started without IMGPROXY_KEY and IMGPROXY_SALT accepts any URL, which makes it an open image proxy: anyone who finds the hostname can have your server fetch and re-serve arbitrary pictures, from your IP address and out of your transfer allowance.

Deploy imgproxy on VPS Standard with Debian 13

02/06

What imgproxy is, and who maintains it.

imgproxy is a standalone HTTP server, written in Go on top of libvips, that resizes, crops, converts and watermarks images at request time. Your application never touches pixels. It builds a URL that encodes the processing options and the source image, signs it with an HMAC, and puts it in an <img> tag; imgproxy fetches the source, processes it and returns the result with a one-year Cache-Control header by default. The project started with backing from Evil Martians and is now developed by Foxes With Matches, Inc., which also sells imgproxy Pro, a commercial build with an internal result cache, object detection, video and PDF previews and quality selection by similarity metrics. The open-source edition is licensed under Apache 2.0, and everything on this page uses only that edition.

The current major version is 4. Version 4.0.0 shipped on 13 May 2026 with asynchronous downloading and processing and a configuration rewrite that removed several long-deprecated variables; IMGPROXY_CONCURRENCY, for instance, is gone in favour of IMGPROXY_WORKERS. The latest release when we wrote this page is 4.0.20, dated 26 October 2026. Since July the 4.0.x line has shipped fixes for the BMP and ICO loaders, the SVG sanitiser and the private-address guard every few weeks, so treat image updates as routine maintenance rather than something you do once a year. If you are moving a 3.x deployment, read the "Removed" list in the 4.0.0 changelog before changing the tag, because a removed variable no longer has any effect.

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

Requirements and sizing.

imgproxy keeps no state. It needs CPU for decoding and encoding, RAM for the images in flight, one TCP port (8080 by default, which should listen on loopback only) and almost no disk of its own. The disk on the VPS is better spent on a response cache. By default it runs two workers per CPU core, which means eight concurrent jobs on VPS Standard, and it rejects source images larger than 50 megapixels.

For memory, the theoretical worst case for a fully decoded 50-megapixel RGBA image is about 200 MB (50 million pixels × 4 bytes), and eight of those at once is 1.6 GB. That fits in 4 GB with room left for Debian and nginx. If your uploads come from phones, 25 megapixels is a more realistic ceiling than 50, and it halves the bound.

CPU is the real constraint, and the output format decides how much of it you spend.

PlanvCPU / RAMDiskTransfer / portPrice per monthFits
Cloud VPS Starter2 / 2 GB80 GB NVMe10 TB / 1 Gbps$6.99Staging, a small blog
Cloud VPS Standard4 / 4 GB160 GB NVMe15 TB / 1 Gbps$12.99Recommended starting point
Cloud VPS Pro6 / 8 GB320 GB NVMe20 TB / 1 Gbps$22.99AVIF on the fly, a larger cache
Rigi dedicated6 cores / 12 threads, 32 GB1 TB NVMeUnmetered under fair use / 10 Gbps$64.99Sustained traffic above roughly 40 TB a month

Traffic deserves more attention than CPU on a VPS, because VPS transfer is metered. At an average of 60 KB per delivered image, 15 TB is about 250 million images a month (theoretical, taking 1 TB as 10¹² bytes). The 1 Gbps port could in theory move about 10.8 TB in a single day, so on a busy origin the allowance runs out long before the port saturates. Once you regularly need more than 40 TB a month, the Power ($42.99, 40 TB) and Ultra ($65.99, 60 TB) plans stop making sense next to a Rigi dedicated server at $64.99 with unmetered traffic under fair use.

04/06

How to deploy it with us.

The layout we recommend: originals in a bucket, imgproxy in Docker bound to 127.0.0.1:8080, nginx on the host terminating TLS and caching results on the NVMe disk. Nothing but nginx is reachable from outside.

  1. 01Order VPS Standard with Debian 13. No-KYC: an email address is enough, and payment is in crypto.
  2. 02Order a bucket in object storage; once it is ready, copy its endpoint and access key from the client panel and keep the secret key from the ticket we send at delivery. A 250 GB bucket holds a quarter of a terabyte of originals for $1.99 a month. imgproxy reads it through its native S3 client; do not mount the bucket with rclone for this.
  3. 03Install Docker Engine with the compose plugin from Docker's Debian repository, then nginx and python3-certbot-nginx from Debian.
  4. 04Generate the signing secrets with openssl rand -hex 32, run twice: once for the key, once for the salt.
  5. 05Create the two files below in /opt/imgproxy, then run docker compose up -d.
yaml
# /opt/imgproxy/compose.yaml services: imgproxy: image: ghcr.io/imgproxy/imgproxy:v4.0.20 restart: unless-stopped env_file: imgproxy.env ports: - "127.0.0.1:8080:8080" # loopback only; Docker's published ports can bypass host firewall rules healthcheck: test: ["CMD", "imgproxy", "health"] interval: 10s timeout: 10s retries: 3
ini
# /opt/imgproxy/imgproxy.env (chmod 600, never commit it) IMGPROXY_KEY=<64 hex characters> IMGPROXY_SALT=<64 hex characters> IMGPROXY_ALLOWED_SOURCES=s3:// IMGPROXY_ALLOW_PRIVATE_SOURCE_ADDRESSES=false IMGPROXY_MAX_SRC_RESOLUTION=25 IMGPROXY_MAX_SRC_FILE_SIZE=26214400 IMGPROXY_REQUESTS_QUEUE_SIZE=64 IMGPROXY_AUTO_WEBP=true IMGPROXY_MALLOC=jemalloc IMGPROXY_USE_S3=true IMGPROXY_S3_ENDPOINT=https://<endpoint shown in the client panel> IMGPROXY_S3_ALLOWED_BUCKETS=media AWS_ACCESS_KEY_ID=<access key> AWS_SECRET_ACCESS_KEY=<secret key>

A few of those lines are deliberate departures from the defaults. The request queue is unlimited unless you set it; at 64, overload produces quick 429 responses instead of a backlog that times out. Connections to private address ranges are allowed by default, which matters as soon as the VPS shares a network with anything else, so we switch them off, and with IMGPROXY_ALLOWED_SOURCES=s3:// imgproxy will not fetch plain HTTP URLs at all. jemalloc ships in the official image and is one of the documented remedies for the memory fragmentation that libvips can cause in a long-running, heavily threaded process.

  1. 06Add the nginx site, then run certbot --nginx -d img.example.com to add the HTTPS server block.
nginx
# /etc/nginx/conf.d/imgproxy.conf proxy_cache_path /var/cache/nginx/imgproxy levels=1:2 keys_zone=imgproxy:256m max_size=120g inactive=30d use_temp_path=off; # Collapse the browser's Accept header to the formats imgproxy may answer with map $http_accept $img_accept { default "*/*"; "~image/webp" "image/webp"; } server { listen 80; server_name img.example.com; location / { proxy_pass http://127.0.0.1:8080; proxy_set_header Accept $img_accept; proxy_cache imgproxy; proxy_cache_key "$scheme$host$request_uri$img_accept"; proxy_ignore_headers Vary; # we vary on $img_accept ourselves proxy_cache_valid 404 1m; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; add_header X-Cache-Status $upstream_cache_status; } }

The map and proxy_ignore_headers Vary pair is the part most published examples miss. imgproxy answers Vary: Accept when WebP detection is on, and nginx would then store a separate copy for every distinct Accept string a browser sends. Normalising the header before it reaches imgproxy, and keying the cache on the normalised value, keeps one copy per output format. Freshness comes from imgproxy's own one-year max-age, which nginx honours ahead of proxy_cache_valid; inactive=30d is what actually evicts cold entries. The 256 MB key zone follows nginx's figure of about 8,000 keys per megabyte: 120 GB of cache at 60 KB per object is roughly two million keys (theoretical). If you later enable IMGPROXY_AUTO_AVIF, add a "~image/avif" "image/avif"; line above the WebP one so the map follows imgproxy's AVIF-before-WebP preference.

  1. 07Allow only ports 22, 80 and 443 inbound with nftables. curl -s http://127.0.0.1:8080/health should return 200, and an image URL with a broken signature should be refused.

Your application then emits URLs such as https://img.example.com/<signature>/rs:fit:1200:0/plain/s3://media/products/4711.jpg, signed with the same key and salt. Use an existing signing library for your language rather than writing the HMAC code yourself.

05/06

Cost.

The setup above costs $14.98 a month: $12.99 for VPS Standard and $1.99 for a 250 GB bucket. That includes 4 vCPU, 4 GB of RAM, 160 GB of NVMe, 15 TB of transfer at 1 Gbps; extra IPv4 addresses are $2 a month each. Reads from object storage carry no request fees and no traffic charge on the storage side, so imgproxy can pull originals as often as its cache misses require. Paying yearly brings the VPS down by roughly 25 %, to about $9.75 a month (theoretical). Full figures for every plan are on the pricing page.

We would not add daily backups (+20 %) to this server. It holds no data you cannot recreate: the originals live in the bucket, the cache rebuilds itself, and the two configuration files belong in your own secrets store. Top-ups attract 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. A $250 top-up credits $287.50, about 19 months of the setup above (theoretical).

The honest downside is geography. ALP1 is our only location, so visitors in Asia or the Americas pay a long round trip on every cache miss. A CDN fixes that and also cuts your VPS transfer, but cached copies then live with the CDN operator under its own jurisdiction; serving the origin from Switzerland does not change that. Our offshore hosting page sets out what Swiss jurisdiction does and does not cover.

06/06

Limits and acceptable use.

You are responsible for the images your instance serves. In Switzerland, downloading a work for private use is permitted (software excepted), but making it available online without permission is not. Since 1 April 2020, CopA art. 39d obliges a host to prevent a work from reappearing 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 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). Content that is unlawful in Switzerland, child sexual abuse material first among it, has no place on our servers. See our page on DMCA notices.

Running imgproxy without signed URLs, or with IMGPROXY_ALLOWED_SOURCES left blank, turns your server into a relay for other people's content. Complaints about images fetched through it reach you, not the people who built the URLs.

If the images show people (avatars, staff photos, customer uploads), they are personal data and you are the controller under the revised Federal Act on Data Protection, in force since 1 September 2023. The European Commission confirmed on 15 January 2024 that Switzerland continues to provide adequate protection, so personal data can flow from the EU to Switzerland without additional safeguards. imgproxy strips EXIF metadata, GPS coordinates included, from its output by default; the originals in your bucket keep theirs. If you would rather not hand over identity documents, no-KYC hosting explains what an email-only account means in practice.

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
Do I need imgproxy Pro?

Not for resizing, cropping, format conversion, watermarks or signed URLs; the Apache-2.0 edition does all of that. Pro adds an internal result cache, object detection, video and PDF previews and similarity-based quality selection. Its licence is between you and the vendor, and without a licence key Pro runs in development mode, limited to 100 requests per minute.

Can imgproxy read originals straight from your object storage?

Yes. Set IMGPROXY_USE_S3=true, point IMGPROXY_S3_ENDPOINT at the bucket endpoint from the panel and use s3://bucket/key as the source. Path-style addressing is the default; if your endpoint wants virtual-host style, set IMGPROXY_S3_ENDPOINT_USE_PATH_STYLE=false.

Is 4 GB of RAM enough?

For web-sized output from sources up to 25 megapixels, the theoretical worst case stays under 1 GB with the default eight workers. Very large TIFFs, long animations (only the first frame is processed unless you raise IMGPROXY_MAX_ANIMATION_FRAMES) and HEIC from recent phones are what push it up; Cloud VPS Pro doubles the RAM for $10 more.

Can I run it without Docker?

Yes. The official image can export a .deb package with imgproxy-build-package, and the binaries need glibc 2.35 or newer, which Debian 13 provides. Building against Debian's own libvips is possible, but upstream discourages it because it cannot vouch for the distribution's image libraries.

Does every image I serve count against the 15 TB?

Outbound delivery does. A cache hit in nginx saves CPU, not transfer. What reduces the bytes leaving the VPS is smaller output (WebP, sensible quality settings) and a CDN in front.

How do I reach support?

Open a ticket from the client panel. The service is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655), Käppeligasse 1, 4125 Riehen, Switzerland.

Sources

Every fact on this page, with its source

Accessed 4 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.