<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Deploy Instant</title>
    <description>The latest articles on DEV Community by Deploy Instant (@deployinstant).</description>
    <link>https://dev.to/deployinstant</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4265185%2F66aac5b3-caad-4d04-ac5b-25777699ffde.png</url>
      <title>DEV Community: Deploy Instant</title>
      <link>https://dev.to/deployinstant</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deployinstant"/>
    <language>en</language>
    <item>
      <title>Every Stack Trace Stays Home: Self-Hosting Sentry on Your Own VPS</title>
      <dc:creator>Deploy Instant</dc:creator>
      <pubDate>Sun, 29 Nov 2026 02:24:20 +0000</pubDate>
      <link>https://dev.to/deployinstant/every-stack-trace-stays-home-self-hosting-sentry-on-your-own-vps-n7o</link>
      <guid>https://dev.to/deployinstant/every-stack-trace-stays-home-self-hosting-sentry-on-your-own-vps-n7o</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Cross-posted from the &lt;a href="https://deployinstant.com/blog/self-host-sentry?utm_source=devto&amp;amp;utm_campaign=pya-daily" rel="noopener noreferrer"&gt;PickYour.app blog&lt;/a&gt;. Same software, same files, one less dependency.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1555949963-ff9fe0c870eb%3Fw%3D1600%26q%3D75%26auto%3Dformat%26fit%3Dcrop" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1555949963-ff9fe0c870eb%3Fw%3D1600%26q%3D75%26auto%3Dformat%26fit%3Dcrop" alt="Every Stack Trace Stays Home: Self-Hosting Sentry on Your Own VPS" width="1600" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Stack Trace Is a Business Record
&lt;/h2&gt;

&lt;p&gt;Mira's team shipped a checkout fix on a Thursday and heard about the damage on Friday morning, from a customer who had refreshed the payment page four times before giving up. The rented tracker had captured every one of those exceptions overnight; they sat in a queue nobody on the team owned.&lt;/p&gt;

&lt;p&gt;That is the quiet failure of renting an error tracker: the data arrives, the grouping works, the charts render, and custody still belongs to somebody else. A stack trace is not telemetry trivia. It carries file paths, SQL fragments, request URLs and sometimes the identifier of the row that failed.&lt;/p&gt;

&lt;p&gt;Sentry collects those events through an SDK, groups them into issues by stack trace and culprit, and binds each event to the release that produced it. An issue alert can push a new group into a chat channel within seconds. A monitor can tell you a scheduled job went quiet.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Renting a tracker is renting a photograph of your failures. Hosting one keeps the negatives.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Self-hosted Sentry is the whole product, running as Docker Compose on a machine you control. The official installer is a bash script: clone the newest release tag of the self-hosted repository, run &lt;code&gt;./install.sh&lt;/code&gt;, then &lt;code&gt;docker compose up --wait&lt;/code&gt; and the stack comes up service by service.&lt;/p&gt;

&lt;p&gt;The hardware floor is honest and public: four CPU cores, sixteen gigabytes of RAM with an equal amount of swap, and twenty gigabytes of free disk at install time. The documentation recommends thirty-two gigabytes of RAM once real traffic arrives, because the box runs databases, brokers and workers on one machine.&lt;/p&gt;

&lt;p&gt;Nothing about that floor is decorative. ClickHouse wants a modern x86-64 chip, Kafka keeps its state on disk, and the docs read high disk wait as a warning long before capacity runs out. Sizing the server is the first real decision of a rollout, and it is a decision you get to make.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone the newest release tag and run the installer; let it finish its requirement checks before touching anything else.&lt;/li&gt;
&lt;li&gt;Bring the stack up with &lt;code&gt;docker compose up --wait&lt;/code&gt; and watch services settle until the web tier answers.&lt;/li&gt;
&lt;li&gt;Put TLS in front, set the public url-prefix, and correct the SSL settings before any integration is configured.&lt;/li&gt;
&lt;li&gt;Create the first project, copy the DSN into staging, and confirm one event lands with a real stack trace.&lt;/li&gt;
&lt;li&gt;Write exactly one issue alert and one monitor before anyone opens a second dashboard.&lt;/li&gt;
&lt;li&gt;Run the backup script and perform a restore on a spare machine while the setup is still fresh.
Teams that skip the sixth step discover later that an export they have never restored is a rumor, not a backup. Teams that skip the fourth step spend a week wondering why grouping looks wrong in production while staging behaves perfectly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two switches deserve attention before the first event arrives. The installer asks once whether to send installation logs and runtime errors back to Sentry's own team, and &lt;code&gt;REPORT_SELF_HOSTED_ISSUES=0&lt;/code&gt; answers that question in automation. The separate admin beacon is disabled with &lt;code&gt;SENTRY_BEACON = False&lt;/code&gt; in &lt;code&gt;sentry.conf.py&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;With the stack answering on a health endpoint, the SDK pointed at your domain and the alert rules written, the rollout question stops being "which plan should we buy" and becomes "who gets paged, and when." That is a much better question for a small team to be asking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who Else Is Reading Your Crash Reports
&lt;/h2&gt;

&lt;p&gt;Every exception your product throws is a small confession: which files changed, which query ran, which parameter was malformed. Handing those confessions to a third party is a legitimate choice. Handing them over without knowing the terms is not.&lt;/p&gt;

&lt;p&gt;Sentry's own documentation is unusually frank about the line between its hosted service and a self-hosted install. Spike protection and spend allocation are listed as features coupled to billing quotas, which means on the rented side, shielding yourself from a traffic burst and shielding yourself from a surprise invoice are the same switch.&lt;/p&gt;

&lt;p&gt;Data storage location appears in that same differences list with a one-line justification: because you own your data. On your own server, the region is the region of your machine, and the residency answer to a customer questionnaire is a hostname you control.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The moment your error log becomes evidence — for a refund dispute, an access request, a post-incident review — you want "where is it stored" to have a location you can point at.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There is a second category of difference that has nothing to do with money. Sentry's Seer features, the machine-learning layer that summarizes issues, are closed source and absent from the self-hosted build, and console and stack-trace resolution for a couple of gaming platforms depends on partner components that cannot ship. Everything else, the docs say, is available.&lt;/p&gt;

&lt;p&gt;The honest ledger runs both ways. A self-hosted install has no billing system behind it, which also means no vendor-side quota dashboard, no hosted support desk, and no automatic phone-a-friend when a cluster misbehaves. The docs say it plainly: support for self-hosted ends at "our engineers will do their best" and the community Discord.&lt;/p&gt;

&lt;p&gt;In exchange you get the product without artificial ceilings. Sentry frames the comparison as running the business tier without software limitations and without a paid tier — a sentence worth reading twice before you price out a rented equivalent.&lt;/p&gt;

&lt;p&gt;There is also the license clock, which section six returns to in detail. Today the code is under a Functional Source License: deploy it anywhere, modify it, keep the source, but do not sell it as a hosted service. Two years after each release, the same code becomes plain Apache 2.0.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four Days That Stop Waiting on a Support Inbox
&lt;/h2&gt;

&lt;p&gt;Workflows are where an error tracker earns its server. The four below are ordinary: a new issue, a bad deploy, a bug nobody can reproduce, and a scheduled job that quietly stopped running. Each one changes shape the moment the tracker lives on hardware you can point to.&lt;/p&gt;

&lt;h3&gt;
  
  
  The alert that lands before the customer does
&lt;/h3&gt;

&lt;p&gt;An issue alert watches for new groups matching a filter, then acts: notify a channel, open a ticket, call a webhook, escalate. Sentry's alert documentation lists the same three shapes everywhere — a Slack message when a new issue appears, a tracker ticket when severity matches, a webhook when something reopens.&lt;/p&gt;

&lt;p&gt;Because the events never leave your network, the alert payload can carry richer context than a vendor policy might allow: full request bodies where you need them, internal hostnames, the identifier of the tenant that hit the error. You set the redaction rules in your own Relay configuration rather than reading someone else's.&lt;/p&gt;

&lt;h3&gt;
  
  
  Releases that name their own damage
&lt;/h3&gt;

&lt;p&gt;A release is a version of your code deployed to an environment, and telling Sentry about it before the deploy is the whole trick. The releases page then shows adoption over the past day, the authors of each commit, and the percentage of crash-free users and sessions for every version.&lt;/p&gt;

&lt;p&gt;None of this requires a repository integration, though wiring one up automates the association. Without it, Sentry still creates a release the first time an event carries a new release identifier, so the minimum viable rollout is an SDK option and a deploy script that stamps the version.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reproduction without the interrogation
&lt;/h3&gt;

&lt;p&gt;"Cannot reproduce" is the most expensive phrase in a bug tracker. Session Replay answers it with a video-like timeline of what the user actually did: network requests, DOM events and console messages in the seconds before, during and after the error.&lt;/p&gt;

&lt;p&gt;Replay runs on your server like everything else, which changes the conversation with a privacy reviewer. Sample rates, what gets masked and how long recordings live are settings in your deployment, and the retention clock is the one you configured yourself.&lt;/p&gt;

&lt;h3&gt;
  
  
  The scheduled job that never checked in
&lt;/h3&gt;

&lt;p&gt;Cron monitors track scheduled jobs for failures, late runs and missed starts. Configure a monitor per environment, give it a crontab or an interval down to the minute, and let check-ins decide whether the nightly invoice run actually happened.&lt;/p&gt;

&lt;p&gt;The repository integration automates the association between commits and releases, and it turns a resolved issue into a pull request reference instead of a comment. Ticket creation works in the other direction: an issue that matches severity filters opens a ticket in your tracker, so the bug lands where the team already works.&lt;/p&gt;

&lt;p&gt;Uptime monitoring for endpoints sits in the same family: watch a URL, alert on failure, and keep the result next to the errors it produced. On a self-hosted install these monitors run in your stack, so the watcher is not also a party that knows your infrastructure map.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Curves Behind a Calm Release Week
&lt;/h2&gt;

&lt;p&gt;Dashboards lie by omission: they show what the vendor decided to chart. Owning the stack means the chart is answering your question instead. Three views below are the ones a small team actually reads during a release week.&lt;/p&gt;

&lt;p&gt;The first is a coverage map, not a scorecard. Every bar on it is a capability present in the self-hosted build, drawn to the length of how much of the workflow it carries — from full stack-trace capture to the machine-learning summaries that stay on the vendor's side of the license line.&lt;/p&gt;

&lt;p&gt;The second view is the shape of a healthy triage inbox. Most groups should die on the first pass: triaged, resolved in a commit, or ignored with a reason. What hurts is the tail — the same unresolved group aging quietly while new ones stack in front of it.&lt;/p&gt;

&lt;p&gt;The third view is a strip of operational facts rather than vanity metrics. Each cell below is a knob or endpoint that exists in the product and on the instance panel, with the number that matters to whoever runs the box.&lt;/p&gt;

&lt;p&gt;Read together, the three views answer the questions a release week actually asks: is anything new broken, is the old debt growing, and is the machine keeping up. Crash-free session percentages and release adoption fill the first slot; the aging tail fills the second; disk wait and restart counts fill the third.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A dashboard you rent shows you what it measured. A dashboard you host shows you what you asked.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;None of these charts depend on data leaving the building, which is the quiet advantage of hosting the tracker. The numbers that drive a release decision can sit behind the same firewall as the code that caused the regression.&lt;/p&gt;

&lt;p&gt;The team habit that makes the curves readable is small: resolve with a reason, ignore with an expiry, and never close a group without a commit reference. With that discipline, the aging tail on the second chart shrinks every week instead of hiding behind a green average, and the coverage map keeps matching the workflow the team actually runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  From Bare Box to Control Panel
&lt;/h2&gt;

&lt;p&gt;Running Sentry on a raw unmanaged server is doable and demanding in equal measure. The installer handles the compose file; everything after that — TLS termination, health checks, retention, restarts, upgrades — is engineering capital you spend every month.&lt;/p&gt;

&lt;p&gt;The documentation is candid about the shape of a production install. Put a dedicated load balancer in front with TLS termination, forward the client IP, and point its health check at &lt;code&gt;/_health/&lt;/code&gt;, which answers two hundred when Sentry is up and five hundred with a list of problems when it is not. Then set &lt;code&gt;system.url-prefix&lt;/code&gt; in &lt;code&gt;config.yml&lt;/code&gt; to match the public address, or integration settings will throw CSRF errors at the worst moment.&lt;/p&gt;

&lt;p&gt;Underneath sits a single machine running Kafka, ClickHouse, PostgreSQL, Redis and the workers side by side. The docs note that larger loads want a beefier box and that scaling beyond that is your own project — they offer no guidance past the single-node setup, and they say so.&lt;/p&gt;

&lt;p&gt;Upgrades arrive as release tags of the self-hosted repository. The same script that installed it runs the upgrade, which is pleasant until the window collides with the incident you are in the middle of. On a managed instance, power actions and their outcomes are recorded where you can read them afterwards.&lt;/p&gt;

&lt;p&gt;The panel turns that workload into a set of decisions: stop, restart and open-app are one click, while configuration cards show the public IP, region, domain, repository and install date with a copy action and an SSH shortcut next to them. Notes live with the instance, so the reason for last month's rebuild stops living in someone's head.&lt;/p&gt;

&lt;p&gt;Domain work is handled rather than documented. A default address arrives with auto-managed DNS: a record with a short time-to-live, checked continuously by the panel. Pointing your own domain means either one record at your registrar or moving nameservers, and the panel prints the exact values instead of asking you to guess.&lt;/p&gt;

&lt;p&gt;The danger zone is where honesty shows. Rebuild wipes the server and reinstalls the app from scratch, delete removes the machine at the provider and stops it, and clone spins a second instance from the current one — the kind of action you want behind a labelled button, not a support ticket.&lt;/p&gt;

&lt;h3&gt;
  
  
  SSE security monitoring, tied to an admin panel you now own
&lt;/h3&gt;

&lt;p&gt;A self-hosted Sentry exposes a login page to the internet. That login guards every stack trace your product has ever produced, which makes brute-force protection the first feature worth understanding.&lt;/p&gt;

&lt;p&gt;The monitoring engine runs on the instance itself and asks nothing of you. Failed logins and attack bursts are caught the moment they hit the authentication log, and every security event streams to an authenticated server-sent events feed you can watch live.&lt;/p&gt;

&lt;p&gt;Alerts land where you choose: Telegram or email, within seconds of a real event, throttled so an active attack cannot flood the channel. It is the same alert discipline the error tracker applies to your code, pointed at the box that hosts it.&lt;/p&gt;

&lt;h3&gt;
  
  
  A rollout playbook that survives contact with a real week
&lt;/h3&gt;

&lt;p&gt;Instrument staging first. Copy the DSN into the staging environment, ship one deliberate exception, and confirm the group, the culprit and the release all render correctly before production traffic is allowed near the new endpoint.&lt;/p&gt;

&lt;p&gt;Stamp the release in the deploy script rather than by hand. When the version string travels with every build, crash-free session percentages stop being a matter of memory, and regressions attach themselves to the deploy that caused them.&lt;/p&gt;

&lt;p&gt;Write redaction rules before the first real payload arrives. Cookies, authorization headers and personal identifiers are stripped in Relay according to configuration you control, which keeps sensitive fields out of the chat message, out of the replay and out of the retention window.&lt;/p&gt;

&lt;p&gt;Keep the alert rules few and load-bearing: one for new groups in the checkout path, one for regressions on resolved issues, one monitor for the nightly export. Every additional rule trains the team to ignore the channel, and an ignored channel is the same as no tracker at all.&lt;/p&gt;

&lt;p&gt;Decide retention on purpose. A shorter window shrinks disk pressure and narrows what a future access request can surface; a longer window keeps trend lines honest. The variable is one line, and changing it later is a restart rather than a migration.&lt;/p&gt;

&lt;p&gt;Finally, write the runbook into the instance notes field: where the DSN lives, who owns the alert channel, how the restore drill is run. Notes sit next to the machine, so the person paged at two in the morning reads them on the same screen as the restart button.&lt;/p&gt;

&lt;p&gt;The comparison below collects the operational parameters teams argue about, minus the ones that belong in a pricing spreadsheet. Nothing in it is a cost figure; every row is a workload, a risk or a habit.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operational parameter&lt;/th&gt;
&lt;th&gt;Rented error tracker&lt;/th&gt;
&lt;th&gt;Raw VPS (self-managed)&lt;/th&gt;
&lt;th&gt;Managed instance&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Time to first alert-capable install&lt;/td&gt;
&lt;td&gt;Account, SDK keys, and the vendor's onboarding tour&lt;/td&gt;
&lt;td&gt;Load balancer, TLS, url-prefix, health checks — an afternoon&lt;/td&gt;
&lt;td&gt;About ninety seconds to a provisioned app&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Internal IT / DevOps overhead&lt;/td&gt;
&lt;td&gt;None, until an export or a retention limit appears&lt;/td&gt;
&lt;td&gt;Broker upkeep, disk growth, certificate renewals — yours&lt;/td&gt;
&lt;td&gt;Platform maintains the stack underneath you&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Business continuity &amp;amp; auto-healing&lt;/td&gt;
&lt;td&gt;Vendor SLA, internals opaque&lt;/td&gt;
&lt;td&gt;Your restart scripts, your pager&lt;/td&gt;
&lt;td&gt;Restart and rebuild controls, actions logged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data protection &amp;amp; recovery&lt;/td&gt;
&lt;td&gt;Vendor exports, vendor retention windows&lt;/td&gt;
&lt;td&gt;Scoped JSON backups and volume dumps you schedule&lt;/td&gt;
&lt;td&gt;Full data export on demand, instance-level restore paths&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security monitoring evidence&lt;/td&gt;
&lt;td&gt;Vendor-side, summarized&lt;/td&gt;
&lt;td&gt;Your fail2ban logs, if you installed it&lt;/td&gt;
&lt;td&gt;Live SSE security stream, brute-force detection, throttled alerts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Residency &amp;amp; compliance answers&lt;/td&gt;
&lt;td&gt;Vendor region, subprocessor list&lt;/td&gt;
&lt;td&gt;The region of your machine&lt;/td&gt;
&lt;td&gt;Region chosen at install, documented in configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operational predictability&lt;/td&gt;
&lt;td&gt;Quota behavior coupled to billing logic&lt;/td&gt;
&lt;td&gt;Fixed habits until the disk fills&lt;/td&gt;
&lt;td&gt;Recorded actions, visible plan and region, no hidden dials&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Team accessibility &amp;amp; self-service&lt;/td&gt;
&lt;td&gt;Seats and role settings on someone else's console&lt;/td&gt;
&lt;td&gt;SSH for everyone who needs it, or nobody&lt;/td&gt;
&lt;td&gt;Panel actions with an audit trail, SSH when needed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintenance &amp;amp; upgrade friction&lt;/td&gt;
&lt;td&gt;Vendor schedule, announced or not&lt;/td&gt;
&lt;td&gt;Release tags pulled during your worst week&lt;/td&gt;
&lt;td&gt;Opt-in automatic updates, rebuild available on demand&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor independence &amp;amp; portability&lt;/td&gt;
&lt;td&gt;Export, then negotiate&lt;/td&gt;
&lt;td&gt;Compose file and dumps, entirely yours&lt;/td&gt;
&lt;td&gt;Full data export any time, clone to a new instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Day-two operations over a year&lt;/td&gt;
&lt;td&gt;Renewals, quota reviews, feature deprecations&lt;/td&gt;
&lt;td&gt;Patching, capacity, incident archaeology&lt;/td&gt;
&lt;td&gt;Notes, activity history and danger-zone actions instead of tickets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling path&lt;/td&gt;
&lt;td&gt;Tier changes on the vendor's ladder&lt;/td&gt;
&lt;td&gt;Bigger machine, then clusters, alone&lt;/td&gt;
&lt;td&gt;Region and plan moves go through support, by design&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alert payload control&lt;/td&gt;
&lt;td&gt;Vendor redaction policy&lt;/td&gt;
&lt;td&gt;Whatever you configure in Relay&lt;/td&gt;
&lt;td&gt;Your Relay rules, your network, your chat channels&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read down the middle column and the pattern is consistent: a raw box converts money into time at every step. Read the right column and the pattern is different — the platform absorbs the mechanics and hands back controls, logs and export paths.&lt;/p&gt;

&lt;h2&gt;
  
  
  Your Data, Your Keys, Your Exit
&lt;/h2&gt;

&lt;p&gt;Freedom sounds abstract until someone asks for the export. Three artifacts decide whether leaving is an afternoon or a negotiation: the license that covers the code, the dumps that cover the data, and the archive that covers the machine.&lt;/p&gt;

&lt;p&gt;Start with the license, because it is the one thing most articles skip. Sentry is fair source under the Functional Source License: you may use it, modify it, deploy it anywhere including inside a company, and keep the source. What you may not do is sell a hosted version of it or compete with Sentry using the FSL-licensed code.&lt;/p&gt;

&lt;p&gt;Two years after each release, the same code is granted under Apache 2.0, at which point the restriction disappears entirely. The SDKs are MIT-licensed from the start. It is not an OSI-approved license today, and pretending otherwise would be sloppy — it is also not a trap, because the clock runs in your favor.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A license you can read in five minutes and explain to a lawyer in five more is worth more than a badge on a README.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The data side has official tooling. A partial JSON backup through &lt;code&gt;./scripts/backup.sh&lt;/code&gt; captures users, organizations, projects, teams, alerts, incidents, monitors and global configuration — everything low-volume except the events themselves. Scope it to one area with &lt;code&gt;./sentry-admin.sh export users&lt;/code&gt;, &lt;code&gt;organizations&lt;/code&gt;, &lt;code&gt;config&lt;/code&gt; or &lt;code&gt;global&lt;/code&gt; when you only need part of the estate.&lt;/p&gt;

&lt;p&gt;Full state lives in six named volumes: sentry-data, sentry-postgres, sentry-redis, sentry-kafka, sentry-clickhouse and sentry-symbolicator. Backing those up and restoring them brings back every persisted record, and project-specific volumes prefixed for the install cover anything in flight.&lt;/p&gt;

&lt;p&gt;Retention itself is a knob rather than a policy document: &lt;code&gt;SENTRY_EVENT_RETENTION_DAYS&lt;/code&gt; sets how long events live, and the docs suggest pointing storage at S3 or Google Cloud Storage when disk becomes the constraint. Air-gapped installs are a supported path too, with &lt;code&gt;SENTRY_AIR_GAP = True&lt;/code&gt; in the config and a proxy setup for restricted networks.&lt;/p&gt;

&lt;p&gt;Notice what the diagram does not contain: a vendor API, a support queue, or a deadline. The exit is a script you have already run once in a test restore, which is the only way to know an export is real.&lt;/p&gt;

&lt;p&gt;This is also where the managed instance and the raw box stop being opposites. On a managed deployment the panel gives you SSH, a clone action and an export path; on a raw box you build the same three things yourself and maintain them forever. Ownership is not the question — maintenance is.&lt;/p&gt;

&lt;p&gt;A quarterly drill keeps the difference honest. Export on a Friday, restore on a spare machine over the weekend, and diff the projects, teams and alert rules against the live instance. The exercise surfaces forgotten volumes, expired tokens and stale integrations while they are still trivia, and it produces the one artifact every audit eventually asks for: proof that the exit works.&lt;/p&gt;

&lt;p&gt;If you have not yet chosen where Sentry will run, the Sentry app page shows what a one-click install includes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions Founders Ask Before They Self-Host
&lt;/h2&gt;

&lt;p&gt;Eight questions cover most of the hesitation, and every answer below comes from Sentry's own documentation rather than a forum thread.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How large does the server actually need to be?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The documented minimum is four CPU cores, sixteen gigabytes of RAM with sixteen gigabytes of swap, and twenty gigabytes of free disk at install time. The documentation recommends thirty-two gigabytes of RAM once real traffic arrives, and it warns that the box runs databases and brokers on one machine, so disk speed matters as much as capacity.&lt;/p&gt;

&lt;p&gt;ClickHouse wants SSE4.2 on x86-64 hardware, and high disk wait is treated as a sizing problem long before free space runs out. Size for the retention you configured, not for the demo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is the code genuinely open source?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not in the OSI sense today. Sentry is fair source under the Functional Source License: you can use, modify and deploy it anywhere, but you cannot sell a hosted version of it or compete with Sentry on the FSL-licensed code. Two years after each release the license converts to Apache 2.0, and the SDKs are MIT from day one.&lt;/p&gt;

&lt;p&gt;For a product team that never intends to resell an error tracker, the practical restriction is a clause you will read once and forget.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is missing compared to the hosted service?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The differences list from the official docs is short and specific: no billing system, no spike protection or spend allocation (both tied to billing quotas on the hosted side), no Seer machine-learning features because they are closed source, and no vendor-chosen data storage location — you own that choice instead.&lt;/p&gt;

&lt;p&gt;Stack-trace resolution for two gaming platforms depends on partner components that cannot ship, and mobile stack-trace resolution is more limited than on the hosted service. Everything else is available.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does the installer send back to Sentry's team?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The installer asks you to opt in or out explicitly, and automation can answer in advance with &lt;code&gt;REPORT_SELF_HOSTED_ISSUES=0&lt;/code&gt;. An opt-in sends installation logs, runtime errors and related diagnostics for debugging, retained for thirty days with no marketing attached.&lt;/p&gt;

&lt;p&gt;The separate admin beacon reports an installation identifier, the version, general usage statistics and module names, and is disabled with &lt;code&gt;SENTRY_BEACON = False&lt;/code&gt; in &lt;code&gt;sentry.conf.py&lt;/code&gt;. Both switches exist because self-hosted users are expected to audit the thing they are running.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where do alerts go, and can payloads stay inside?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Issue alerts act on triggers and filters: notify a channel, create a ticket, call a webhook, with throttling per group. Sentry lists Slack, PagerDuty and issue trackers among the standard destinations, and deploy notifications arrive by email once releases are wired up.&lt;/p&gt;

&lt;p&gt;Because Relay reads project configuration locally, redaction and rate limits are your configuration. On the instance panel the outer loop runs too: brute-force detection on the authentication log, with throttled Telegram or email alerts for security events.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can it run without an internet connection?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes. The docs describe air-gapped installs with &lt;code&gt;SENTRY_AIR_GAP = True&lt;/code&gt; in &lt;code&gt;sentry/sentry.conf.py&lt;/code&gt;, proxy-based installs for restricted networks, and even building the compose stack elsewhere, freezing the images and transferring them as a single archive.&lt;/p&gt;

&lt;p&gt;Integrations like chat notifications need outbound access, so an air-gapped deployment pairs naturally with webhook-free alerting such as the instance's own security stream.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do we move off our rented tracker?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Point the SDK at your own endpoint: every event after the switch lands on your disk, grouped the same way it was before. New issues, releases and monitors start filling your instance immediately, and the old account can stay read-only while the team compares notes.&lt;/p&gt;

&lt;p&gt;Historical events follow whatever export path your current provider offers; the parts that matter operationally — configuration, projects, teams, alerts and monitors — can be rebuilt from the scoped export tools on your side in an afternoon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who fixes it when the stack itself breaks?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sentry's position is that self-hosted comes with a minimal setup that works out of the box, no guarantees and no dedicated support desk; engineers do their best, and the community Discord carries the rest. Upgrades and backups are documented, and the reference architecture page exists for a reason.&lt;/p&gt;

&lt;p&gt;On a managed instance, the platform maintains the stack underneath you and hands back power controls, an activity log you can read after the fact, and a rebuild button when the afternoon goes sideways.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>sentry</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Every Box You Own on One Screen: Self-Hosting Beszel</title>
      <dc:creator>Deploy Instant</dc:creator>
      <pubDate>Sat, 28 Nov 2026 02:25:04 +0000</pubDate>
      <link>https://dev.to/deployinstant/every-box-you-own-on-one-screen-self-hosting-beszel-1jj8</link>
      <guid>https://dev.to/deployinstant/every-box-you-own-on-one-screen-self-hosting-beszel-1jj8</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Cross-posted from the &lt;a href="https://deployinstant.com/blog/self-host-beszel?utm_source=devto&amp;amp;utm_campaign=pya-daily" rel="noopener noreferrer"&gt;DeployInstant blog&lt;/a&gt;. MIT-licensed monitoring, your servers, one dashboard.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  01. The Night the Dashboard Said Nothing
&lt;/h2&gt;

&lt;p&gt;A homelabber in Rotterdam lost four hours of sleep to a problem his monitoring never mentioned. The billing dashboard for his rented uptime service was green from end to end, because it only knew about the one public endpoint he had remembered to register.&lt;/p&gt;

&lt;p&gt;Behind that endpoint, the reverse proxy had been silently dropping connections for eleven minutes. The mail spool filled, the queue grew, and the customers' notifications stopped leaving the building while every paid checkmark stayed reassuringly lit.&lt;/p&gt;

&lt;p&gt;The failure was not exotic. It was the ordinary shape of rented monitoring: you get visibility into the slice you declared, priced by host and by check, and nothing at all into the parts of the machine you forgot to list.&lt;/p&gt;

&lt;p&gt;This is the friction nobody puts on a pricing page. A monitoring service that lives on someone else's cloud can only see what you hand it, bills you for the privilege of looking, and forgets everything the moment you stop paying.&lt;/p&gt;

&lt;p&gt;The sovereignty shift is smaller than it sounds. It is the decision to run the instrument panel on the same hardware the instruments are attached to, so the answer to "is my fleet healthy" never depends on a third party's uptime.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Monitoring you rent is a photograph of your infrastructure. Monitoring you host is the infrastructure, watching itself.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The Rotterdam box was not rescued by a better alert rule. It was rescued by an agent that read the container list, the disk counters and the mail queue on the box itself, and pushed those numbers to a hub sitting two racks away.&lt;/p&gt;

&lt;p&gt;From that night on the questions changed. Not "did our vendor see an incident" but "what did the kernel report, on which core, at which second" — the difference between a status page and a diagnosis.&lt;/p&gt;

&lt;p&gt;Beszel is built on that premise end to end. A hub holds the dashboard and the history; a tiny agent on every system you care about streams the metrics across. Nothing is sampled through a partner API, and nothing is aggregated in a tenant you cannot inspect.&lt;/p&gt;

&lt;p&gt;The numbers it collects are the ones that actually end incidents: CPU and memory for the host and each container, disk usage and I/O per partition, network throughput, load average, temperature, fan speed, GPU power draw, battery state, container status, S.M.A.R.T. disk health, and ZFS pool capacity with scrub status.&lt;/p&gt;

&lt;p&gt;It also probes outward. Beszel's network monitors run ICMP, TCP, HTTP and DNS checks from the agent, recording response time and packet loss — so the box tells you when a dependency is slow, not only when it is dead.&lt;/p&gt;

&lt;p&gt;Alerts leave through whichever notification channel you already live in: Telegram, Discord, Slack, email, webhooks, ntfy, Pushover and more, with thresholds you set per system rather than per pricing tier.&lt;/p&gt;

&lt;p&gt;That combination is what makes the first section of a migration feel less like installing software and more like finally reading the gauges the machine always had.&lt;/p&gt;

&lt;h2&gt;
  
  
  02. What the Hub and the Agent Actually Exchange
&lt;/h2&gt;

&lt;p&gt;Beszel splits into two halves on purpose. The hub is a small web application — built on PocketBase — that owns the dashboard, the users and the historical records; the agent is a Go binary that runs on every system you want to watch.&lt;/p&gt;

&lt;p&gt;The agent polls the operating system, collects its metrics, and pushes them to the hub over an authenticated connection. The hub never dials out to your servers, which means one inbound rule on the agent side is all the network surgery required.&lt;/p&gt;

&lt;p&gt;That direction of travel matters more than it sounds. A hub that only receives is trivially reachable from behind NAT, from a home NAS, from a rented VPS with a locked-down firewall, and from a machine you are not allowed to expose to the internet at all.&lt;/p&gt;

&lt;p&gt;Installation follows the same logic. The hub's web UI hands you a ready compose snippet or a single binary command; you paste it, and the dashboard is answering questions within a minute or two of the container starting.&lt;/p&gt;

&lt;p&gt;Agents are equally un-fussy. Beszel ships them as a Docker or Podman container, a single binary you can run under systemd, a Homebrew package, a WinGet or Scoop package, and even a Home Assistant add-on — so the same hub can watch a rack server, a laptop, a media box and a single-board computer without a second tool.&lt;/p&gt;

&lt;p&gt;The systemd route is worth knowing about. Running the agent as a service rather than a container is what unlocks the metrics that live outside user space: temperature sensors and fan speeds from &lt;code&gt;/sys/class/hwmon&lt;/code&gt;, battery charge, GPU counters, ZFS pool state, S.M.A.R.T. attributes, and systemd unit health itself.&lt;/p&gt;

&lt;p&gt;Container stats work either way, provided the socket path and cgroup delegation are right. Everything else degrades gracefully — a missing sensor shows as absent rather than as a fake zero, which is exactly the honesty you want from an instrument.&lt;/p&gt;

&lt;p&gt;Because agents keep no state, the hub becomes the single place where history lives. Reinstall a machine, change its hostname, move it to another region — the timeline continues instead of restarting from an empty graph.&lt;/p&gt;

&lt;p&gt;Retention is yours to set. You decide how long each system keeps its records, which means the size of your monitoring database is a function of your curiosity rather than of somebody else's retention tiers.&lt;/p&gt;

&lt;p&gt;The practical result is a control room that fits in a corner of one small server. Beszel's own guidance sizes a hub comfortably at a single vCPU and a gigabyte of memory, which is the sort of footprint that can share a box with a wiki, a feed reader and a status page.&lt;/p&gt;

&lt;p&gt;On a managed platform that footprint becomes a right-sized instance: dedicated CPU, RAM and disk, no noisy neighbours stealing I/O precisely when your graphs get interesting. A monitoring system that stutters during an incident is worse than no monitoring at all.&lt;/p&gt;

&lt;p&gt;Pair that with the platform's monitoring and uptime alerts — the host itself is watched, so a hub that stops answering raises its own alarm — and the instrument is covered by a second instrument. That recursion is the point.&lt;/p&gt;

&lt;p&gt;Everything the platform records about the instance, from power actions to activity history, lands in the same workspace you already use to check the dashboard. One login, one timeline, one place to answer "what changed and when".&lt;/p&gt;

&lt;h2&gt;
  
  
  03. A Week Remade: Four Jobs That Change Shape
&lt;/h2&gt;

&lt;p&gt;Monitoring earns its keep in the ordinary hours, not in the demo. Here is what four recurring jobs look like before an owned hub exists and after one does.&lt;/p&gt;

&lt;h3&gt;
  
  
  Job one — the morning health sweep
&lt;/h3&gt;

&lt;p&gt;BEFORE · FIVE TABS, ONE HUNCH&lt;br&gt;
The day starts by opening a rented status page, a cloud provider console, a container dashboard and a spreadsheet of endpoints somebody built two years ago.&lt;br&gt;
Nothing reconciles. Disk pressure on the media box shows up only when a user complains, and the console that would show it belongs to a different login than the one in your password manager.&lt;/p&gt;

&lt;p&gt;AFTER · ONE SWEEP, TWENTY SECONDS&lt;br&gt;
One hub lists every registered system with its last reading: CPU, memory, disk headroom, load, temperature and container health in a single column scan.&lt;br&gt;
The boxes that need attention are the ones with a coloured number; everything else is silence, which is exactly what good monitoring should sound like.&lt;/p&gt;

&lt;h3&gt;
  
  
  Job two — the capacity conversation
&lt;/h3&gt;

&lt;p&gt;BEFORE · GUESSWORK IN A SPREADSHEET&lt;br&gt;
Someone exports a week of numbers into a sheet, eyeballs a trend, and recommends a bigger machine because the graph "looked busy".&lt;br&gt;
There is no per-container history, so the box that is actually eating the memory hides behind an average that was never true at any single moment.&lt;/p&gt;

&lt;p&gt;AFTER · THE TREND ARGUES FOR ITSELF&lt;br&gt;
Beszel keeps CPU, memory, network and disk history per container, so the offending workload is named rather than averaged away.&lt;br&gt;
When the decision is finally made, the numbers attached to it come from the same instrument that will verify the result afterwards.&lt;/p&gt;

&lt;h3&gt;
  
  
  Job three — the 2 a.m. page
&lt;/h3&gt;

&lt;p&gt;BEFORE · THE ALERT WITH NO CONTEXT&lt;br&gt;
A rented service sends "endpoint unreachable" with a link to a dashboard that requires a laptop, a VPN and a different password.&lt;br&gt;
The first ten minutes of every incident are spent reconstructing what the machine already knew: which box, which metric, how long, since when.&lt;/p&gt;

&lt;p&gt;AFTER · THE ALERT CARRIES ITS EVIDENCE&lt;br&gt;
Thresholds fire from the agent itself: disk crossed its line, temperature stalled, a container exited, a probe lost packets.&lt;br&gt;
The message lands in Telegram or email with the system name and the reading attached, and the hub is one tap away on a phone browser.&lt;/p&gt;

&lt;h3&gt;
  
  
  Job four — the handover
&lt;/h3&gt;

&lt;p&gt;BEFORE · TRIBAL KNOWLEDGE&lt;br&gt;
The person who set up the monitoring is the only person who can read it, and their departure takes the mental map of the fleet with them.&lt;br&gt;
Access is a shared vendor login, rotation is a support request, and audit trails end where the subscription does.&lt;/p&gt;

&lt;p&gt;AFTER · A ROOM ANYONE CAN WALK INTO&lt;br&gt;
The hub has its own users and roles, so a new teammate gets a login instead of a story about how the old login works.&lt;br&gt;
History, thresholds and notification rules are configuration on a server you control — visible, editable and documented like the rest of your stack.&lt;/p&gt;

&lt;p&gt;None of these jobs needed a new philosophy. They needed the data path to be short enough that the person asking the question is the person the machine answers.&lt;/p&gt;

&lt;p&gt;That is the quiet argument for owning the instrument: the distance between a doubt and its evidence shrinks from a support ticket to a glance.&lt;/p&gt;

&lt;h3&gt;
  
  
  The rollout playbook that makes all four jobs stick
&lt;/h3&gt;

&lt;p&gt;Week one is deliberately narrow. Install the hub, register the two boxes whose failure would actually wake somebody, and leave everything else unmonitored until the alert thresholds have been argued over once.&lt;/p&gt;

&lt;p&gt;Teams that start with the whole fleet usually end up with alert fatigue by Thursday, because every default threshold fires on a machine that was always going to be busy at that hour.&lt;/p&gt;

&lt;p&gt;Week two adds the rest of the servers one at a time, each with its own thresholds and its own quiet hours. A media box that transcodes every evening should not page anyone for a CPU spike that happens by design.&lt;/p&gt;

&lt;p&gt;Week three is when history starts paying. Two weeks of retained metrics is the minimum needed to answer the ordinary questions — what changed, when did it start, is this normal for a Tuesday — without guessing.&lt;/p&gt;

&lt;p&gt;Only after the graphs are trustworthy does the team retire the rented checks, and even then the last endpoint stays registered for a month as a cross-check between two instruments.&lt;/p&gt;

&lt;p&gt;The rollout also settles the naming problem. Boxes get named the way the team talks about them — &lt;code&gt;vps-frankfurt&lt;/code&gt;, &lt;code&gt;nas-garage&lt;/code&gt;, &lt;code&gt;pi-workshop&lt;/code&gt; — because an alert that says "host 3" gets ignored by everyone except the person who set it up.&lt;/p&gt;

&lt;p&gt;Notification routing follows the same principle. Disk warnings go to the channel that fixes disks, temperature warnings go to whoever is physically near the rack, and critical alerts go to a phone that is allowed to vibrate at night.&lt;/p&gt;

&lt;p&gt;Write those routes down next to the compose file. The hub stores the configuration, but the reasoning behind it belongs in the repository where the next engineer will actually look.&lt;/p&gt;

&lt;p&gt;One more habit separates fleets that stay healthy from fleets that stay busy: review the dashboard weekly for ten minutes, not daily for an hour. Weekly reveals trends; daily reveals noise, and noise is what makes people turn monitoring off.&lt;/p&gt;

&lt;p&gt;By the end of the third week the monitoring has stopped being a project. It is furniture — present, unremarkable, and the first place anyone looks when something feels off.&lt;/p&gt;

&lt;h2&gt;
  
  
  04. The Curves the NOC Frames on the Wall
&lt;/h2&gt;

&lt;p&gt;Finance never asks for a dashboard. Finance asks for a curve — and the curve that matters is the one where the cost of watching your systems stops moving every time a new box joins the fleet.&lt;/p&gt;

&lt;p&gt;Rented monitoring scales in the least flattering direction possible. Every additional host, every extra check interval, every longer retention window is another line item, so the graph of spend climbs in step with the graph of your ambition.&lt;/p&gt;

&lt;p&gt;Owned monitoring has a different shape. The hub is one small service, the agents are one small binary each, and the marginal system costs a line in a compose file rather than a conversation with procurement.&lt;/p&gt;

&lt;p&gt;The chart below shows relative trajectories only — no absolute figures, because the point is the slope, not the sticker. Two curves start together; one keeps stepping upward as the fleet grows, the other flattens into the cost of a box you were already paying for.&lt;/p&gt;

&lt;p&gt;The second curve on every wall is the one nobody draws until an incident: effort spent keeping the instrument alive. Beszel's footprint is the reason that curve stays flat — a hub that fits in a gigabyte of memory, agents that idle near zero, and updates you approve rather than chase.&lt;/p&gt;

&lt;p&gt;On a managed deployment that effort is already absorbed. Provisioning, certificates, restarts and the platform's own watch on your instance are part of the install, so the first week of monitoring produces graphs instead of chores.&lt;/p&gt;

&lt;p&gt;The third graphic is a velocity grid: the operational moments a team stops doing by hand once the hub is in place. Each bar is a task that used to consume an afternoon and now consumes a glance or a click.&lt;/p&gt;

&lt;p&gt;Read the grid as coverage rather than speed. Each bar is the share of that task the hub absorbs once the agents are reporting — registration becomes a paste, thresholds become configuration, and the incident timeline assembles itself from history you already retained.&lt;/p&gt;

&lt;p&gt;There is a fourth curve, and it belongs to the people. A team that can answer its own questions spends its meetings on decisions instead of on reconstruction, and that shift shows up long before any invoice does.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The cheapest monitoring is the kind you stop thinking about — the graph exists, the answer is on it, and the meeting moves on.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Notice what these charts deliberately omit: absolute prices. Cost comparisons age in weeks, and the honest claim here is structural — watching more systems should not mean paying more for the privilege of looking at them.&lt;/p&gt;

&lt;p&gt;That structural claim is what the next section tests, dimension by dimension, against the two alternatives every team actually weighs.&lt;/p&gt;

&lt;h2&gt;
  
  
  05. The Bridge Nobody Enjoys Building Twice
&lt;/h2&gt;

&lt;p&gt;There are three honest ways to watch a fleet: rent a monitoring suite, assemble it yourself on a raw server, or deploy it on a managed platform and keep the software. The table below compares them across the dimensions that show up in real incidents and audits.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Business parameter&lt;/th&gt;
&lt;th&gt;Rented monitoring suite&lt;/th&gt;
&lt;th&gt;Raw VPS (self-managed)&lt;/th&gt;
&lt;th&gt;Managed Beszel deployment&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Time to first dashboard&lt;/td&gt;
&lt;td&gt;Minutes, for the endpoints you remember to add&lt;/td&gt;
&lt;td&gt;Compose file, TLS, reverse proxy — an evening&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;About ninety seconds&lt;/strong&gt;, provisioned&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scope of coverage&lt;/td&gt;
&lt;td&gt;Only what you registered, priced by host and check&lt;/td&gt;
&lt;td&gt;Everything the agent can read — if you wired it&lt;/td&gt;
&lt;td&gt;Every registered agent, platform watching the host too&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Internal IT / DevOps overhead&lt;/td&gt;
&lt;td&gt;None, until an export or a retention limit appears&lt;/td&gt;
&lt;td&gt;Patching, renewals, disk growth, restarts — yours&lt;/td&gt;
&lt;td&gt;Near zero; platform maintains the stack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Business continuity &amp;amp; auto-healing&lt;/td&gt;
&lt;td&gt;Vendor SLA, internals opaque&lt;/td&gt;
&lt;td&gt;You are the failover plan&lt;/td&gt;
&lt;td&gt;Automatic restarts and health checks on the instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data protection &amp;amp; disaster recovery&lt;/td&gt;
&lt;td&gt;Vendor-defined retention, export caps&lt;/td&gt;
&lt;td&gt;Your backup job, if you wrote one and tested it&lt;/td&gt;
&lt;td&gt;Instance snapshots plus in-app export of metrics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security posture&lt;/td&gt;
&lt;td&gt;Multi-tenant cloud, shared blast radius&lt;/td&gt;
&lt;td&gt;Hardening and patch cadence are yours&lt;/td&gt;
&lt;td&gt;Firewall defaults, DDoS protection, security event stream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Predictability of operating spend&lt;/td&gt;
&lt;td&gt;Moves with hosts, seats, checks and retention&lt;/td&gt;
&lt;td&gt;Box is flat; the engineer's hours are not&lt;/td&gt;
&lt;td&gt;Right-sized instance, spend visible in the workspace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Team accessibility &amp;amp; self-service&lt;/td&gt;
&lt;td&gt;Seats — and seats are what get counted&lt;/td&gt;
&lt;td&gt;SSH access, which nobody should hand out freely&lt;/td&gt;
&lt;td&gt;Hub users and roles, no per-seat metering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintenance &amp;amp; upgrade friction&lt;/td&gt;
&lt;td&gt;Vendor schedule, announced or not&lt;/td&gt;
&lt;td&gt;Every release is your rollback problem&lt;/td&gt;
&lt;td&gt;Opt-in updates rolled behind a pre-update snapshot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Alerting channels&lt;/td&gt;
&lt;td&gt;Paid tiers gate the useful channels&lt;/td&gt;
&lt;td&gt;Whatever you assemble yourself&lt;/td&gt;
&lt;td&gt;Any channel the app supports, thresholds per system&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor independence&lt;/td&gt;
&lt;td&gt;Low — leaving means losing the history&lt;/td&gt;
&lt;td&gt;High, at the cost of doing everything&lt;/td&gt;
&lt;td&gt;High — standard containers, full export, no lock-in&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Total cost of ownership over 12 months&lt;/td&gt;
&lt;td&gt;Rises with every box you add to the map&lt;/td&gt;
&lt;td&gt;Flat fees, hidden hours, occasional outages&lt;/td&gt;
&lt;td&gt;Flat instance plus the hours you no longer spend&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read down the first column and a pattern appears: the rented suite is never wrong, it is merely bounded. Every row that matters — scope, retention, channels, seats — is a knob the vendor owns.&lt;/p&gt;

&lt;p&gt;The middle column is the one teams romanticise and then abandon. A raw server gives you full control of Beszel and full responsibility for the box it runs on, which is fine while the box is one of your hobbies and expensive the moment it becomes a dependency.&lt;/p&gt;

&lt;p&gt;The third column is the bridge: the software stays open source and portable, while provisioning, certificates, restarts and the platform's own monitoring of the instance are absorbed by the platform.&lt;/p&gt;

&lt;p&gt;Two platform features do most of the lifting here. The first is the dedicated, right-sized machine — your Beszel hub gets its own CPU, RAM and disk, so a burst of container metrics from a busy evening never queues behind a noisy neighbour.&lt;/p&gt;

&lt;p&gt;The second is monitoring and uptime alerts on the instance itself. The instrument is instrumented: if the hub stops answering, the platform notices first and tells you, which closes the recursion problem that haunts self-hosted dashboards.&lt;/p&gt;

&lt;p&gt;Add the activity log and overview status — every power action recorded, every restart visible with its outcome — and the audit question "what changed last Tuesday" stops requiring a forensic afternoon.&lt;/p&gt;

&lt;p&gt;For a small team these rows translate into a week that behaves. The morning sweep is one screen, the capacity conversation has receipts, the 2 a.m. page carries its own evidence, and the handover is a login rather than an oral tradition.&lt;/p&gt;

&lt;p&gt;The bridge exists because both extremes are honest and both are expensive. Renting caps what you can know; self-managing taxes every hour you would rather spend on the product.&lt;/p&gt;

&lt;p&gt;A managed deployment keeps the open-source half of the equation — the code, the data, the export path — and gives away the half that never produced value: the undifferentiated keeping-alive.&lt;/p&gt;

&lt;h2&gt;
  
  
  06. The Export Drawer, and Why It Changes Negotiations
&lt;/h2&gt;

&lt;p&gt;Data ownership is abstract until the day it is concrete: a security questionnaire, an acquisition due-diligence call, a regulator asking where the health history of your infrastructure lives.&lt;/p&gt;

&lt;p&gt;With a rented suite the answer has caveats. Retention is the vendor's, export formats are the vendor's, and the window for leaving closes quietly when the contract does.&lt;/p&gt;

&lt;p&gt;With Beszel on your own server the answer is a path. The hub's records live in a database file on a volume you control; copy the volume, point a new install at it, and the history continues as if nothing happened.&lt;/p&gt;

&lt;p&gt;That is what a real exit looks like — not a support ticket and a compressed CSV, but a filesystem operation you have rehearsed once and can repeat under pressure.&lt;/p&gt;

&lt;p&gt;The migration story gets simpler too. Because agents hold no state, moving the hub does not mean visiting every machine in the fleet — repoint the agents at the new address, and the timelines reconnect to the systems they describe.&lt;/p&gt;

&lt;p&gt;Teams that keep a copy of the bundle in their own backup routine can lose the platform entirely and still reconstruct their monitoring history on any host with Docker installed.&lt;/p&gt;

&lt;p&gt;There is a human version of the same freedom. A colleague who inherits the stack finds a compose file, a documented volume and a web UI — artefacts any engineer has seen a hundred times — rather than a proprietary agent with a licence key and a support portal.&lt;/p&gt;

&lt;p&gt;That is the part that shows up in valuations and audits alike. Infrastructure whose state lives in someone else's database is a dependency; infrastructure whose state sits in your volumes is an asset you can hand over, insure, and describe in writing.&lt;/p&gt;

&lt;p&gt;The compliance posture follows the same line. When a questionnaire asks where monitoring data resides, "in our own region, on our own disk, behind our own firewall" is a complete sentence — no addendum about sub-processors required.&lt;/p&gt;

&lt;p&gt;None of this requires rejecting managed infrastructure. It requires choosing software whose exit is a documented operation, and hosting it somewhere the exit is physically possible.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Lock-in is not a feature of the software you pick. It is a property of the exit you never tested.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Beszel's licence is MIT, its hub and agent are standard containers, and its data is a file you can copy. Every one of those facts is a door, and doors are worth having when the room gets crowded.&lt;/p&gt;

&lt;p&gt;The checklist that closes this section is deliberately boring: keep the compose file in version control, copy the volume on a schedule, restore it into a scratch box once a quarter, and write down how long the drill took.&lt;/p&gt;

&lt;p&gt;Teams that run that drill stop treating migration as a hypothetical. The export drawer becomes a maintenance item, not a leap of faith — which is exactly the posture a security review rewards.&lt;/p&gt;

&lt;h2&gt;
  
  
  07. Questions the On-Call Engineer Asks Before Signing
&lt;/h2&gt;

&lt;p&gt;The honest answers below assume a small team with a handful of boxes, a shared on-call phone, and no appetite for a second observability platform to maintain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How small can the hub machine be, and when does it stop being enough?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Beszel's documentation sizes a hub comfortably on a single vCPU with about a gigabyte of memory, and that holds for tens of agents reporting at normal intervals. The pressure points are history retention and query speed, not ingest — when graphs get slow, shorten retention or move the volume to a bigger disk before you move the whole service.&lt;/p&gt;

&lt;p&gt;On a managed deployment the same math applies: pick the right-sized instance once, raise it later from the workspace, and let the platform handle the reprovisioning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does the agent actually cost in resources on the boxes I watch?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The agent is a small Go binary that samples on an interval you choose, so its footprint stays in the noise of almost any machine — including a single-board computer that is also doing something useful.&lt;/p&gt;

&lt;p&gt;If you ever see it matter, lengthen the collection interval for that system rather than uninstalling it; a slower sample is still better than a blind spot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which metrics are available, and which need a native install instead of a container?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CPU, memory, disk, network and container statistics work through Docker or Podman with the right socket path and cgroup delegation. Temperature sensors, fans, battery state, GPU counters, ZFS pools, S.M.A.R.T. attributes and systemd unit health want the binary agent running as a service.&lt;/p&gt;

&lt;p&gt;Missing sensors appear as absent rather than as zeros, so a partial install is visible instead of quietly misleading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do alerts reach a human at two in the morning?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Beszel supports a wide range of notification services — Telegram, Discord, Slack, email, webhooks, ntfy, Pushover and others — configured per system with thresholds you set yourself.&lt;/p&gt;

&lt;p&gt;Because the rules live in your hub, routing a critical alert to a phone and a warning to a channel costs nothing and requires no plan change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can it watch the things that are not servers?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes: laptops, workstations, media boxes and single-board computers all run the agent, and a Home Assistant add-on covers the smart-home case. Network monitors run ICMP, TCP, HTTP and DNS probes from the agent, so external dependencies get response-time and packet-loss history too.&lt;/p&gt;

&lt;p&gt;The hub itself can also be watched by the platform it runs on, which closes the loop for the one system that used to be the exception.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens when a monitored box dies completely?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The agent stops reporting, the hub marks the system as unreachable, and the alert routes through whichever channel you configured — the failure itself becomes a data point with a timestamp.&lt;/p&gt;

&lt;p&gt;Since history lives on the hub, the dead box's last hours are still on the timeline, which is usually what the post-incident review needs first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How hard is it to move the whole setup somewhere else?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Copy the data volume, bring up the compose file on the new host, repoint the agents, and the timelines reconnect. Nothing about the data is proprietary, and no licence server has to agree with the move.&lt;/p&gt;

&lt;p&gt;Teams that rehearse the drill quarterly can usually complete it inside an afternoon — and knowing that changes how nervous the decision to switch providers feels.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where does deployinstant.com fit into all of this?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is the bridge in section five: one click provisions a right-sized server in the region you pick, wires the domain, issues the certificate, and installs Beszel with its hub ready to accept agents — usually in about ninety seconds.&lt;/p&gt;

&lt;p&gt;From there the platform keeps the instance watched, updates stay opt-in behind a snapshot, and the export path stays open. You keep the open-source software and the data; the keeping-alive is the part you stop doing.&lt;/p&gt;

&lt;p&gt;Every answer above points at the same habit: keep the instrument close to the machine, keep the data on your own disk, and keep the exit rehearsed. Do that, and the fleet stops being a mystery that only one person can explain.&lt;/p&gt;




&lt;p&gt;Self-host Beszel in one click on &lt;a href="https://deployinstant.com/install?app=Beszel" rel="noopener noreferrer"&gt;DeployInstant&lt;/a&gt; — right-sized server, free SSL, opt-in updates, and monitoring on the instance itself.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>monitoring</category>
      <category>homelab</category>
      <category>devops</category>
    </item>
    <item>
      <title>Self-Host Jellyfin and Take the Whole Streaming Stack Off Rent</title>
      <dc:creator>Deploy Instant</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:25:44 +0000</pubDate>
      <link>https://dev.to/deployinstant/self-host-jellyfin-and-take-the-whole-streaming-stack-off-rent-3dd4</link>
      <guid>https://dev.to/deployinstant/self-host-jellyfin-and-take-the-whole-streaming-stack-off-rent-3dd4</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Cross-posted from the &lt;a href="https://pickyour.app/blog/self-host-jellyfin?utm_source=devto&amp;amp;utm_campaign=pya-daily" rel="noopener noreferrer"&gt;PickYour.app blog&lt;/a&gt;. Same GPL-2.0 software, same files, one less invoice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Every household now rents its movie library. Three or four streaming bills arrive each month, the catalogs shuffle underneath them, and the box sets you bought on disc a decade ago sit in a cupboard that no screen in the house can reach.&lt;/p&gt;

&lt;p&gt;Jellyfin reverses the direction of that arrangement. It is a free software media system: a server that organizes the files you already own and streams them to every device you own, with no account, no telemetry, and no premium tier waiting behind a login screen.&lt;/p&gt;

&lt;p&gt;This guide runs the full decision. What Jellyfin actually is under the hood, how the transcoding pipeline decides what your hardware must do, four workflows that take a folder of files to a finished living-room experience, what the operation costs over thirty-six months against renting, and the export test that proves nothing is locked in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EXECUTIVE COMMAND CENTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The economics are blunt on purpose. The software costs nothing, the server costs the same whether one person or twelve people stream from it, and the only variable left is how much disk your library needs.&lt;/p&gt;

&lt;p&gt;01&lt;/p&gt;

&lt;h2&gt;
  
  
  The Subscription Creep Nobody Reads Aloud
&lt;/h2&gt;

&lt;p&gt;The friction is not one large invoice. It is a stack of small ones that each reset upward while the thing they sell — access to files — gets thinner.&lt;/p&gt;

&lt;p&gt;A catalog you watched last year can vanish this year, and no notice arrives. Shows you bought digitally can be revoked when a licensing deal ends, which has already happened to purchases on major storefronts. The file was never yours; the permission was.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the rent actually buys
&lt;/h3&gt;

&lt;p&gt;Renting buys convenience and a recommendation engine. It does not buy durability, offline copies, or the right to hand a file to another device you own. For a household with a decade of ripped discs, purchased downloads, and recorded TV, that trade has quietly turned sour.&lt;/p&gt;

&lt;p&gt;The sovereignty shift is simple to state: put the files on hardware you control, run software that does not phone home, and let every screen in your life point at that one server. Jellyfin is built for exactly that arrangement, and it has been maintained by volunteers under the GNU GPL since the project forked in 2018.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A library you cannot export is not a library. It is a lease with artwork.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Notice what the right-hand column never mentions: seats, tiers, or renewal dates. Those are properties of the rental market, not of software that runs on your own machine.&lt;/p&gt;

&lt;p&gt;02&lt;/p&gt;

&lt;h2&gt;
  
  
  What Jellyfin Actually Is, Down to the Process
&lt;/h2&gt;

&lt;p&gt;Jellyfin is a server, a web client, and a metadata pipeline wearing one name. Understanding the three parts separately makes every later decision easier.&lt;/p&gt;

&lt;p&gt;The server is a C# application that indexes your media folders, stores its database beside them, and answers playback requests. The bundled web client is the interface you reach at the server address, and the official apps for phones, TVs and consoles speak the same HTTP and WebSocket API the browser does.&lt;/p&gt;

&lt;h3&gt;
  
  
  The index is where the magic lives
&lt;/h3&gt;

&lt;p&gt;Point a library at a folder and Jellyfin walks it, parses filenames, and matches them against metadata providers to attach posters, cast lists, summaries and ratings. It then writes everything into a local database file, so the second scan of a 4,000-file library is fast and offline.&lt;/p&gt;

&lt;p&gt;That database is the reason self-hosting feels different from streaming. Your watch history, your resume points, your subtitle preferences and your artwork all sit in one directory you can copy with a file manager.&lt;/p&gt;

&lt;h3&gt;
  
  
  Licensing, stated plainly
&lt;/h3&gt;

&lt;p&gt;Jellyfin is free software under the GNU GPL, and the project’s own words are that you can use it, study it, modify it, build it and distribute it for free. There is no premium edition, no unlock code, and no feature held back for paying customers.&lt;/p&gt;

&lt;p&gt;That matters operationally, not just philosophically. It means the plugin ecosystem, the client apps and the server are all inspectable, and no upstream company can flip a switch and turn your library into a trial.&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting it running: ninety seconds or an afternoon
&lt;/h3&gt;

&lt;p&gt;On pickYour.app the path is the short one: pick Jellyfin from the catalog, choose a domain, and the deploy lands in roughly ninety seconds with the containers up, DNS wired and a certificate issued. The instance panel then gives you Stop, Restart and Open app in one row, plus an activity log of what actually executed.&lt;/p&gt;

&lt;p&gt;The long path is a compose file on your own box, which is worth understanding even if you never take it. The official container exposes port 8096 for HTTP, 7359/udp for client discovery, and three mount points: config, cache and media.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;jellyfin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;jellyfin/jellyfin&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;8096:8096/tcp&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;7359:7359/udp&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;/path/to/config:/config&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;/path/to/cache:/cache&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;bind&lt;/span&gt;
        &lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/path/to/media&lt;/span&gt;
        &lt;span class="na"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/media&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep config and media on separate mounts. The config directory holds the database and users; media stays read-only from Jellyfin’s point of view, which is the correct posture for a library you intend to keep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; If you bring your own domain, point one A record at the instance and the panel finishes issuance for you. If you would rather not touch DNS at all, a free &lt;code&gt;*.pickyour.page&lt;/code&gt; address works from the same deploy screen.&lt;/p&gt;

&lt;p&gt;03&lt;/p&gt;

&lt;h2&gt;
  
  
  Four Workflows, From Bare Folder to Living Room
&lt;/h2&gt;

&lt;p&gt;The gap between installing media software and actually watching something is where most guides go quiet. These four workflows cover it end to end.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow one: the first library
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A folder of files named after whatever the download site used. No posters, no resume, no way to hand a spouse the remote and expect them to find anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard → Libraries → Add, pick the folder and the content type, and the scanner returns with artwork, cast and episode ordering attached.&lt;/p&gt;

&lt;p&gt;During the scan you can keep working; the scheduler runs it in the background and the dashboard shows progress under scheduled tasks. Once it completes, the home screen is a browsable catalog rather than a directory listing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow two: playback that adapts instead of failing
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A 4K REMUX hits a phone on hotel Wi-Fi and stalls at the spinner. The file is compatible with nothing except the desktop it was ripped on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server transcodes on demand to a bitrate the connection can carry, and the client negotiates a compatible codec automatically at the start of playback.&lt;/p&gt;

&lt;p&gt;Transcoding is the server re-encoding video in real time. Jellyfin uses a modified FFmpeg build called &lt;code&gt;jellyfin-ffmpeg&lt;/code&gt;, and the pipeline runs through decoding, optional deinterlacing, scaling, HDR tone-mapping, optional subtitle burn-in and encoding.&lt;/p&gt;

&lt;p&gt;Direct play is the happy path: if the file already matches what the client wants, bytes move untouched and the CPU does nothing. Transcode only when compatibility or bandwidth forces it, and keep your source files in codecs your common devices accept.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow three: one household, separate shelves
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One shared login. Everyone’s resume points overwrite each other, recommendations mix toddler cartoons with true crime, and there is no way to say no to a rating.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard → Users creates accounts with their own watch history, and parental controls restrict content by maximum allowed rating per profile.&lt;/p&gt;

&lt;p&gt;The 10.11 line reworked parental ratings into a &lt;code&gt;ratingScore&lt;/code&gt; property with subscores and added country-specific rating systems, so a restriction set for one region behaves sensibly when the library mixes sources. Each user can also be limited to selected libraries, which is how a media server stops being a single undifferentiated pile.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow four: watching together from two cities
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;“Pause it. I’m not there yet.” Two people count down verbally while the streams drift a few seconds apart for the rest of the film.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SyncPlay puts every viewer in a group where play, pause and seek are shared events, so the room stays in frame even when it is spread across time zones.&lt;/p&gt;

&lt;p&gt;SyncPlay has been part of the server for years and the 10.11 release tightened its group handling over WebSocket. It turns a self-hosted library into something closer to a shared screening than a set of parallel streams.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The feature that changes households is not transcoding. It is that everyone gets their own shelf without anyone getting a new invoice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;04&lt;/p&gt;

&lt;h2&gt;
  
  
  The Transcoding Math, and How Not to Drown in It
&lt;/h2&gt;

&lt;p&gt;Transcoding is the only part of a media server that can genuinely burn CPU. Treat it as a capacity question and it stays boring.&lt;/p&gt;

&lt;p&gt;Jellyfin’s supported acceleration methods are the ones you would expect from FFmpeg: Intel Quick Sync, NVIDIA NVDEC/NVDEC, AMD AMF, VA-API on Linux, Apple VideoToolbox on macOS, and Rockchip RKMPP for the RK3588 class of boards. Each offloads the heavy stages to fixed-function hardware on the chip.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choosing an acceleration method honestly
&lt;/h3&gt;

&lt;p&gt;On Linux, Intel and NVIDIA deliver full acceleration, and AMD Polaris or newer works through VA-API with Vulkan interop. The dashboard exposes the choice under Playback → Transcoding, where you pick the method, the device, and which codecs the card actually handles.&lt;/p&gt;

&lt;p&gt;Two traps are worth naming before you hit them. The official docs warn that FFmpeg binaries fetched elsewhere give you partial acceleration, so use the &lt;code&gt;jellyfin-ffmpeg&lt;/code&gt; build that ships with the packages, Docker images and installers. And H.264/AVC 10-bit High 10 content has no hardware decoder on Intel, NVIDIA or AMD, so it falls back to software unless you re-encode it to HEVC Main 10.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; Inside a container, the GPU must be passed through: the NVIDIA path needs the container toolkit and the &lt;code&gt;nvidia&lt;/code&gt; runtime, while VA-API needs &lt;code&gt;/dev/dri&lt;/code&gt; and the service user in the &lt;code&gt;render&lt;/code&gt; group. Confirm from inside the container with &lt;code&gt;vainfo&lt;/code&gt; rather than trusting the dashboard checkbox.&lt;/p&gt;

&lt;h3&gt;
  
  
  When the answer is a second machine
&lt;/h3&gt;

&lt;p&gt;If your server is a low-power box with no encoder, the project documents &lt;code&gt;rffmpeg&lt;/code&gt;: delegate transcoding to another machine over SSH with shared media storage. It is Linux-only and adds a moving part, but it beats replacing a perfectly good server to satisfy one 4K file.&lt;/p&gt;

&lt;p&gt;The cheaper fix is usually library hygiene. Know which of your files your common clients can direct play, keep those in a well-behaved codec, and reserve transcoding for the odd legacy file rather than every evening’s viewing.&lt;/p&gt;

&lt;p&gt;05&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Curves Say Over Thirty-Six Months
&lt;/h2&gt;

&lt;p&gt;Price comparisons go stale the moment a vendor changes a tier. Shapes hold longer than numbers, so these charts show direction, not quotes.&lt;/p&gt;

&lt;p&gt;The rental curve has two drivers: more viewers means more accounts, and time means another renewal at whatever the current rate is. Neither driver exists on the owned line, where the only input is disk that fills slowly.&lt;/p&gt;

&lt;p&gt;Setup on the owned side is real work: a deploy, a library scan, a decision about remote access. Everything after that is proportional to how often you choose to change things, which for most households is rarely.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Rentals bill you for permission. Ownership bills you once for the shelf.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;06&lt;/p&gt;

&lt;h2&gt;
  
  
  The TCO Bridge: Raw VPS Versus a Managed Instance
&lt;/h2&gt;

&lt;p&gt;Self-hosting media software on an unmanaged box is entirely possible, and the table below is where the unpaid hours show up.&lt;/p&gt;

&lt;p&gt;A raw VPS gives you root and nothing else. The certificate, the reverse proxy, the upgrade routine and the storage growth plan are all yours to maintain.&lt;/p&gt;

&lt;p&gt;A managed instance keeps the same open-source software and takes the operational layer off your calendar.&lt;/p&gt;

&lt;p&gt;DimensionRaw VPS, fully DIYManaged Jellyfin instance&lt;/p&gt;

&lt;p&gt;Time to first streamHours: OS, runtime, proxy, certificate, configAbout ninety seconds from catalog to login&lt;br&gt;
Reverse proxy and certificateHand-installed, renewed by cron you maintainIssued at deploy and renewed automatically&lt;br&gt;
Domain wiringA records and proxy settings by handBring your own record or take a free subdomain&lt;br&gt;
Power actionsSSH and a remembered commandStop, Restart and Open app in one panel row&lt;br&gt;
Audit trailShell history if you are disciplinedActivity log of provider-side executions&lt;br&gt;
Resource sizingGuess, then over-provision “just in case”Right-sized spec matched to the app’s needs&lt;br&gt;
Software updatesScheduled tasks you write and forgetAutomatic updates, opt-in from the panel&lt;br&gt;
Firewall and DDoS postureYour iptables rules, your researchProtected by default with sensible firewall rules&lt;br&gt;
Library growthAttach and mount disks yourselfScale the instance when the shelf outgrows it&lt;br&gt;
Client device coverageIdentical — software is the same upstreamIdentical — software is the same upstream&lt;br&gt;
Plugin and metadata accessIdentical — full catalog and repositoriesIdentical — full catalog and repositories&lt;br&gt;
Data portabilityYours, since you own every pathYours, since the same folders and database sit on the server&lt;br&gt;
Who wakes up at 3 a.m.YouThe platform, for the infrastructure layer&lt;/p&gt;

&lt;p&gt;The last four rows are the point. Everything that changes between the columns is operational labor; nothing that matters to your library changes at all. The media folder, the database and the plugin catalog are the same bytes either way.&lt;/p&gt;

&lt;p&gt;There is also an honest middle path: run it yourself on a raw VPS if operating servers is a skill you want, and move to a managed instance the day it stops being fun. Because the software is GPL and the export is a folder copy, that move costs an evening rather than a migration project.&lt;/p&gt;

&lt;p&gt;07&lt;/p&gt;

&lt;h2&gt;
  
  
  Zero Lock-In: The Export Test You Can Run Tonight
&lt;/h2&gt;

&lt;p&gt;The cleanest way to judge any media platform is to ask what leaves with you if you stop using it tomorrow. For Jellyfin the answer fits in three lines of copy.&lt;/p&gt;

&lt;p&gt;Your watch history lives in the config directory alongside the database. Your media never moved at all. Your plugins are declared by their repository URLs, which any fresh install can re-add in the same three clicks.&lt;/p&gt;

&lt;p&gt;Run the test the practical way: copy the config directory to a second machine, start a server against the same media mount, and log in with the same accounts. If resume points, favorites and user restrictions arrive intact, you have proven portability rather than read it in a brochure.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a real migration looks like
&lt;/h3&gt;

&lt;p&gt;Coming from another media server, the sequence is short. Install Jellyfin, create the administrator, add libraries pointing at the existing media folders, and let the scanner build a fresh index. The files themselves are never re-encoded or moved during a migration.&lt;/p&gt;

&lt;p&gt;Watch history is the one asset most tools do not hand over cleanly. Expect to re-establish resume points by hand for anything currently in progress, and treat the rest — libraries, users, artwork — as a solved problem.&lt;/p&gt;

&lt;p&gt;If you are coming from a subscription service with downloads, note that DRM-protected files stay protected. Self-hosting solves ownership going forward; it does not retroactively unlock purchases made under a rental license.&lt;/p&gt;

&lt;p&gt;08&lt;/p&gt;

&lt;h2&gt;
  
  
  A Rollout Playbook That Survives the First Weekend
&lt;/h2&gt;

&lt;p&gt;Most failed self-hosting attempts are not technical. They are projects that stalled at the fourth decision because nobody wrote the decisions down first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day one: deploy, scan, log in
&lt;/h3&gt;

&lt;p&gt;Start with a single library rather than your entire archive. One folder of the content you watch most proves the pipeline in an evening: deploy, create the admin account, add the library, open a client, press play.&lt;/p&gt;

&lt;p&gt;Resist the urge to configure plugins on day one. The default install already streams, and every hour spent before first playback is an hour where the project feels like homework instead of a better evening.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day two: profiles and remote access
&lt;/h3&gt;

&lt;p&gt;Create the accounts for the people who will actually use it, set maximum ratings where they matter, and decide how the server is reached from outside the house. A reverse proxy with TLS is the standard answer; on a managed instance the certificate is already issued and renewed for you.&lt;/p&gt;

&lt;p&gt;Remote access deserves one deliberate choice about exposure. Keep the server on your own network if you only watch at home, and open it up only when a viewer genuinely needs it from elsewhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day three: the plugins you will actually use
&lt;/h3&gt;

&lt;p&gt;The official repository at &lt;code&gt;repo.jellyfin.org&lt;/code&gt; ships with every install and covers the common cases: metadata providers, subtitle fetching, webhook notifications, LDAP authentication for teams that keep a directory. Community repositories are added by name and manifest URL under Plugins → Manage Repositories.&lt;/p&gt;

&lt;p&gt;Install plugins from sources you can name, restart the server after adding any of them, and treat a plugin you cannot explain as a plugin you do not need. The catalog is optional depth, not a checklist.&lt;/p&gt;

&lt;h3&gt;
  
  
  Week one: back up what you would hate to rebuild
&lt;/h3&gt;

&lt;p&gt;The media files are replaceable in the sense that they came from your own discs. The config directory is not: it holds the database, the user accounts and the accumulated taste of your household.&lt;/p&gt;

&lt;p&gt;Copy it on a schedule you do not have to remember, and keep one copy somewhere that is not the server. The 10.11 release added an internal full system backup feature, which makes the in-app path worth checking before you build anything custom.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One library scanned and playable on three different devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Separate user profiles with sensible rating limits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Config directory copied off the server and verified once.&lt;/p&gt;

&lt;p&gt;09&lt;/p&gt;

&lt;h2&gt;
  
  
  Who This Is For, and Who Should Rent Instead
&lt;/h2&gt;

&lt;p&gt;Self-hosting media is a good decision for some households and a chore for others. The honest version names both.&lt;/p&gt;

&lt;p&gt;You are a strong fit if you already own files: ripped discs, recorded television, purchased downloads, a folder of concerts accumulated over a decade. You are also a strong fit if you run other self-hosted services and like the idea of one more container on hardware you already understand.&lt;/p&gt;

&lt;p&gt;You should keep renting if nobody in the house owns any media files, if the idea of a scheduled backup sounds like a dentist appointment, or if your viewing depends on a live sport package that only exists inside a broadcast deal. Self-hosting amplifies what you own; it cannot manufacture a catalog.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The right question is not whether Jellyfin is good. It is whether you have a shelf worth organizing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For small teams the same logic applies with different words. A studio with a library of recorded sessions, training material or product footage can serve it to clients from one server, with per-user accounts and no per-seat meter running in the background.&lt;/p&gt;

&lt;p&gt;10&lt;/p&gt;

&lt;h2&gt;
  
  
  Library Hygiene: The Boring Habits That Keep Playback Smooth
&lt;/h2&gt;

&lt;p&gt;A media server is only as good as the folder underneath it. The habits below take an afternoon to establish and save you from a year of odd playback bugs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Name files the way the scanner expects
&lt;/h3&gt;

&lt;p&gt;The metadata pipeline parses folder and file names to guess what it is looking at. &lt;code&gt;Show.Name.S02E07.mkv&lt;/code&gt; resolves cleanly; &lt;code&gt;untitled (4).mkv&lt;/code&gt; becomes a mystery that a human has to label by hand.&lt;/p&gt;

&lt;p&gt;Keep one folder per show, one season folder per season, and movies in a flat directory with their year attached. That structure is what lets a fresh scan rebuild your entire catalog without supervision.&lt;/p&gt;

&lt;h3&gt;
  
  
  Separate the four directories
&lt;/h3&gt;

&lt;p&gt;Config, cache, plugins and media want different lifetimes. Config is precious and small, cache is disposable and large, media is yours and enormous, and plugins are declared rather than stored.&lt;/p&gt;

&lt;p&gt;Mounting them separately is what makes the export test a folder copy instead of a tape measure. It also means a corrupted cache never threatens a watch history you spent years accumulating.&lt;/p&gt;

&lt;h3&gt;
  
  
  Know your codecs before you blame the server
&lt;/h3&gt;

&lt;p&gt;When a client stalls, the first question is whether the file is being direct played or transcoded. The dashboard shows the playback method on the active session, which separates a network problem from a compute problem in one look.&lt;/p&gt;

&lt;p&gt;Files that constantly trigger transcoding are telling you something about the library, not the hardware. Re-encode the repeat offenders once and the server goes quiet for good.&lt;/p&gt;

&lt;p&gt;Write the manifest once: a list of library paths, their content types and their providers. With that list and a config copy, a replacement server can be rebuilt on any host in an afternoon, which is the difference between a backup and a hope.&lt;/p&gt;

&lt;p&gt;11&lt;/p&gt;

&lt;h2&gt;
  
  
  Hardening Notes for the Person Holding the Keys
&lt;/h2&gt;

&lt;p&gt;A media server is a low-sensitivity target compared to a password vault, and it still deserves the five minutes of setup that keep it uninteresting to attackers.&lt;/p&gt;

&lt;p&gt;Create individual accounts rather than sharing one login. Every user gets their own password, and disabling one account during a house-sitting visit does not require rotating a credential everyone knows.&lt;/p&gt;

&lt;p&gt;Keep the server behind TLS, and prefer the panel’s managed certificate over a hand-rolled one that will quietly expire on a holiday. Renewal failures are the most common way a home server becomes unreachable at the worst moment.&lt;/p&gt;

&lt;p&gt;Apply updates deliberately rather than never. The Jellyfin project ships fixes to every channel at once, and the opt-in automatic update setting on the instance panel exists so the routine path is the default path.&lt;/p&gt;

&lt;p&gt;Finally, treat plugin repositories as software you are installing, because they are. The official catalog ships with the server; anything else arrives from a manifest URL you typed, and the trust decision is yours to make.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; If the server is only ever used at home, do not expose it at all. Local-network-only is a legitimate configuration, and it removes an entire category of maintenance from your life.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The most secure media server is the one nobody outside the house knows exists.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;12&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions Households Actually Ask
&lt;/h2&gt;

&lt;p&gt;There is also a middle setting worth knowing about: watch at home over the local network, and open the server only to the viewers who genuinely need it from elsewhere. Remote access is a decision you make once, not a default you inherit.&lt;/p&gt;

&lt;p&gt;The plugin catalog follows the same logic. Start with nothing, add the subtitle fetcher when a film arrives without captions, add a webhook when you want playback events piped somewhere else. Depth earns its place by solving a problem you actually hit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need a powerful server to run Jellyfin?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For direct play, almost anything from the last decade handles it, because the server is moving bytes rather than computing them. Transcoding is the only demanding case, and hardware acceleration moves that work onto a GPU instead of the CPU.&lt;/p&gt;

&lt;p&gt;A modest instance sized for the app’s minimum specification is enough for a household that keeps its files in client-friendly codecs. Upgrade when your library or your viewer count says so, not before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is Jellyfin really free, or free until I need the good features?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Really free. The project is licensed under the GNU GPL and describes itself as free software you can use, study, modify, build and distribute. There is no premium tier, and the official clients do not require a subscription.&lt;/p&gt;

&lt;p&gt;One note worth knowing: the Roku store may display wording about a cable or satellite subscription because of a platform limitation. The project states plainly that no subscription of any form is required to use the server or any official client.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens to my library if I stop using Jellyfin?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Nothing happens to it. The media files stay where they are, in formats your other players can read, and the config directory holds a plain database you can copy at any time.&lt;/p&gt;

&lt;p&gt;That is the practical meaning of zero lock-in: the software is interchangeable, the files are yours, and leaving is a copy rather than a negotiation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I watch from outside my home network?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, and you choose the exposure. The standard setup puts a reverse proxy with TLS in front of the server; on a managed instance the certificate is issued at deploy and renewed automatically.&lt;/p&gt;

&lt;p&gt;If you prefer not to open anything, keep the server on your local network and use it at home. Remote access is a decision, not a requirement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do the official apps differ from the web client?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They speak the same API, so libraries, users and watch state are shared. The apps exist because a browser is the wrong interface for a television remote, and because phones want offline-aware players with native controls.&lt;/p&gt;

&lt;p&gt;The official list covers Android, iOS, Android TV and Fire TV, Roku, webOS, Tizen, Xbox, desktop media players and Kodi add-ons. Community clients like Swiftfin and Streamyfin fill in the gaps between them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Jellyfin work with my existing Kodi setup?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It does, in two shapes. JellyCon browses and plays files from the server inside the Kodi interface, while the Jellyfin for Kodi add-on syncs metadata into Kodi’s local database so the library looks native.&lt;/p&gt;

&lt;p&gt;Either way your watch state stays in one place, and Kodi stops being a separate pile of scrapers pointing at the same folders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What about Live TV and recordings?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server has Live TV and DVR support built in, fed by tuner software through plugins such as NextPVR. Channels, the program guide and recordings all appear alongside your own files.&lt;/p&gt;

&lt;p&gt;You will need the tuner hardware and someone willing to wire it up, which puts this firmly in the enthusiast column rather than the default path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is it safe to expose a media server to the internet?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With TLS, strong account passwords and updates applied, the exposure is the same class of risk as any other web application you run deliberately. Jellyfin has no premium tier gating security fixes, and updates arrive through the same channel for everyone.&lt;/p&gt;

&lt;p&gt;On a managed instance the firewall and DDoS defaults are applied for you, and the panel’s activity log shows what actually executed on the box.&lt;/p&gt;

&lt;p&gt;13&lt;/p&gt;

&lt;h2&gt;
  
  
  The Alternatives, Weighed Honestly
&lt;/h2&gt;

&lt;p&gt;Jellyfin is not the only way to serve your own files, and pretending otherwise wastes your weekend.&lt;/p&gt;

&lt;p&gt;Plex is the mainstream option, with a polished client ecosystem and a commercial company behind it. The trade is that parts of the experience sit behind a paid pass and some features depend on their account system, which is exactly the coupling this guide is trying to avoid.&lt;/p&gt;

&lt;p&gt;Emby shares Jellyfin’s ancestry and offers similar capability under a different licensing arrangement. Navidrome and the music-focused servers do one job superbly for audio libraries, at the cost of the video side.&lt;/p&gt;

&lt;p&gt;The honest summary: if you want a turnkey commercial product with a support contract, rent one. If you want the files, the database and the server to be unambiguously yours, Jellyfin is the most direct route with the largest volunteer community behind it.&lt;/p&gt;

&lt;p&gt;14&lt;/p&gt;

&lt;h2&gt;
  
  
  Start With the One Folder You Miss Most
&lt;/h2&gt;

&lt;p&gt;Do not migrate the archive this weekend. Migrate the shelf you actually reach for.&lt;/p&gt;

&lt;p&gt;Deploy the server, point one library at one folder, and watch something you love on the biggest screen in the house. The rest of the archive will still be there next weekend, and by then the server will already have proven itself.&lt;/p&gt;

&lt;p&gt;The bills keep arriving either way. The difference is that from tonight, something on your network belongs to you — the files, the history, the accounts and the server itself, with a GPL license that no one can reinterpret on your behalf.&lt;/p&gt;

&lt;p&gt;PickYour.app hosts Jellyfin as a one-click install on a right-sized server, with a certificate issued at deploy, power actions in the panel and an activity log of what ran. Bring a domain or take a free subdomain, and cancel whenever the experiment stops being interesting.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>media</category>
      <category>jellyfin</category>
      <category>homelab</category>
    </item>
    <item>
      <title>Self-Host Vaultwarden on a $7 VPS: The Password Vault You Actually Own</title>
      <dc:creator>Deploy Instant</dc:creator>
      <pubDate>Thu, 26 Nov 2026 02:09:42 +0000</pubDate>
      <link>https://dev.to/deployinstant/self-host-vaultwarden-on-a-7-vps-the-password-vault-you-actually-own-idm</link>
      <guid>https://dev.to/deployinstant/self-host-vaultwarden-on-a-7-vps-the-password-vault-you-actually-own-idm</guid>
      <description>&lt;p&gt;&lt;em&gt;Cross-posted from the &lt;a href="https://pickyour.app/blog/self-host-vaultwarden?utm_source=devto" rel="noopener noreferrer"&gt;Pick Your App blog&lt;/a&gt; — one-click self-hosting for 2,700+ open-source apps.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every password manager quote starts the same way: a price per person, per month, forever. For a five-person team that sounds like coffee money. For a fifty-person company it is a line item that grows every time HR sends an offer letter, and the thing being rented is the single most sensitive database the company owns.&lt;/p&gt;

&lt;p&gt;Vaultwarden breaks that shape. It is an unofficial, Bitwarden-compatible server written in Rust, built specifically for self-hosting on modest hardware — the project’s own positioning is that it exists for deployments where the official .NET-based server is too resource-heavy, down to something as small as a Raspberry Pi. You keep using the official Bitwarden apps: browser extensions, mobile apps, desktop apps, and the web vault that ships bundled inside the container.&lt;/p&gt;

&lt;p&gt;This guide walks the whole decision: what Vaultwarden is and what it honestly is not, the deployment from zero to first login, the hardening that matters on a password vault specifically, the 36-month cost picture against per-seat pricing, and the exit test that proves nobody locked you in. One number anchors the money side throughout: a small VPS running Vaultwarden costs roughly $7 a month, flat, regardless of headcount.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[Animated Hero Scene: a stack of per-seat price tags breathing on the left collapses into one flat server tile on the right — the counter ticks from "15 seats" to "1 server" and stops]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;01&lt;/p&gt;

&lt;h2&gt;
  
  
  The Per-Seat Meter, and What It Actually Measures
&lt;/h2&gt;

&lt;p&gt;Per-seat pricing feels fair until you notice what it taxes: growth, collaboration, and the exact behavior a password manager is supposed to encourage — sharing credentials properly instead of pasting them into a group chat.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three invoices, one pattern
&lt;/h3&gt;

&lt;p&gt;THE SEAT METER&lt;/p&gt;

&lt;p&gt;Official Bitwarden cloud paid tiers are priced per user, per month. Every hire adds a line; every contractor needs one for six weeks; every agency client wants access during a project. The bill tracks your org chart, not your usage.&lt;/p&gt;

&lt;p&gt;THE RENEWAL REPRICE&lt;/p&gt;

&lt;p&gt;Cloud pricing is a contract you do not write. Tier names change, seat minimums move, and the premium features your team quietly adopted last quarter are the ones that moved up a plan. You find out at renewal, when the decision is already made.&lt;/p&gt;

&lt;p&gt;THE TRUST SURFACE&lt;/p&gt;

&lt;p&gt;A hosted vault means every production secret your company owns lives on someone else’s infrastructure, governed by their retention policies and their incident history. Most teams never read those terms; they just accept the checkout screen.&lt;/p&gt;

&lt;p&gt;None of this makes cloud password managers bad products. It makes them a specific trade: convenience now in exchange for a recurring bill and a trust relationship that never gets renegotiated. For a solo user the trade is usually fine. For a team whose vault holds database credentials, payment portal logins, and code-signing certificates, the trade deserves a second look.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A password vault is the one system where the vendor can see exactly what your trust is worth, because they price it per person, per month, and the invoice grows with your org chart.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The self-hosting counter-argument is equally specific: the server itself is trivial to run, the data format is yours, and the software that touches it — the clients your team actually sees every day — is identical to what they would use on the cloud plan. What changes is who holds the database, who pays the meter, and what happens when you want to leave.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a seat actually costs a growing team
&lt;/h3&gt;

&lt;p&gt;Do the arithmetic in headcount, not dollars, because the dollar number is the vendor’s to change. If your chosen cloud tier costs P dollars per user per month and your team has N people, your annual spend is 12×P×N — and N is the number that never shrinks for long. Add the contractors, the agency clients, the service accounts you honestly should not be sharing through personal logins, and N drifts upward every quarter.&lt;/p&gt;

&lt;p&gt;Against that, a Vaultwarden host is one machine. The same $7-class VPS that serves a five-person studio serves a forty-person company, because the server only stores encrypted blobs and the heavy work happens on the clients. The cost curve is flat in exactly the place the cloud curve is steepest.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[UI Wireframe Callout: two growth curves on one canvas — the cloud lane steps upward at every hire, the self-hosted lane runs flat; a marker at the org-chart growth point where the gap becomes visible]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There is a second, quieter cost in the cloud lane: sharing. Most paid tiers meter sharing by organization membership, so the correct way to give a subcontractor access to three credentials is a seat. On a self-hosted Vaultwarden, organization sharing, collections, and member roles are part of the server — a guest is a row in your own database, not a line on an invoice.&lt;/p&gt;

&lt;p&gt;02&lt;/p&gt;

&lt;h2&gt;
  
  
  What Vaultwarden Actually Is — and What It Honestly Is Not
&lt;/h2&gt;

&lt;p&gt;Vaultwarden used to be called bitwarden_rs, which tells you most of its story: it started as a community reimplementation of the Bitwarden server API and grew into the default answer for self-hosters who found the official .NET server heavier than their hardware.&lt;/p&gt;

&lt;p&gt;The compatibility contract is the whole product. Official Bitwarden clients — the browser extensions your team already has installed, the iOS and Android apps, the desktop applications, the web vault — talk to Vaultwarden exactly as they talk to Bitwarden’s own infrastructure. The containers bundle a modified web vault so the browser interface comes with the deployment. Nobody on the team installs anything unusual or learns a new interface.&lt;/p&gt;

&lt;p&gt;OFFICIAL CLIENTS&lt;/p&gt;

&lt;p&gt;Browser extensions, mobile apps, desktop apps, and the bundled web vault all work against a Vaultwarden server. The team’s daily experience is Bitwarden’s, because it is Bitwarden.&lt;/p&gt;

&lt;p&gt;TEAMS &amp;amp; SHARING&lt;/p&gt;

&lt;p&gt;Organizations ship with collections, sharing, member roles, groups, event logs, admin password reset, directory connector support, and policies. The team features are in the self-hosted box, not behind its paywall.&lt;/p&gt;

&lt;p&gt;SMALL FOOTPRINT&lt;/p&gt;

&lt;p&gt;Written in Rust and designed for low-power hardware. The project targets exactly the deployments where the official .NET-based server is too resource-heavy — a $7-class VPS is comfortably above its floor.&lt;/p&gt;

&lt;h3&gt;
  
  
  The feature inventory, checked against the project’s own docs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Personal vault with the full Bitwarden client experience, including file attachments and website icons.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bitwarden Send for timed, encrypted sharing of text and files — useful for one-off credential hand-offs that should not live in email.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A personal API key for scripting against your own vault.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Organizations with collections, sharing, member roles, groups, event logs, admin password reset, directory connector support, and policies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Emergency access, so a designated trusted contact can request your vault under conditions you define in advance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;An admin backend for day-two server management.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SSO, with configuration, for teams that want logins flowing from their identity provider.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two-factor authentication covers the options that matter in practice: Bitwarden’s own authenticator for TOTP codes, email-based codes, FIDO2 WebAuthn security keys — including Nitrokeys and Solokeys — YubiKey, and Duo. For a vault holding production secrets, hardware-key 2FA on admin and owner accounts is the single highest-value ten minutes of setup in this entire guide.&lt;/p&gt;

&lt;h3&gt;
  
  
  The honest column of the ledger
&lt;/h3&gt;

&lt;p&gt;What Vaultwarden does not do — from the project’s own documentation&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;No login with passkeys yet. The feature is tracked upstream in issue #5929 and may arrive, but today you authenticate to clients the traditional ways.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Bitwarden public API is only partially implemented — the parts Directory Connector needs — so tooling that expects the full official API will not find it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No new-device login protection, the cloud feature that extra-verifies sign-ins from hardware the server has never seen.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read that list against your actual requirements instead of a feature checklist. A team that authenticates with TOTP or hardware keys, and does not depend on the full public API, loses nothing they use. A team whose security policy mandates passkey-based login or new-device verification knows, precisely, where the boundary sits — and can weigh it against a flat $7 a month instead of discovering it during an audit.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The right question is never “does the free server have every feature?” It is “which of these features does my team actually trip over in a normal month?” The honest list is usually short.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One more property matters more than any checkbox: encryption never leaves the client. Bitwarden clients encrypt and decrypt vault data on the device, and the server stores encrypted blobs. That is true of Bitwarden’s cloud too, but self-hosting it means the blobs — and nothing else — are what sit on your infrastructure. The next section turns that property into a deployment.&lt;/p&gt;

&lt;p&gt;03&lt;/p&gt;

&lt;h2&gt;
  
  
  From Zero to First Login: The Deployment, Honestly Sized
&lt;/h2&gt;

&lt;p&gt;The entire server is one container with one data directory. If you have ever run any Docker service, you already know how to run this one; the only Vaultwarden-specific decisions are about hardening, and they are all in the environment block.&lt;/p&gt;

&lt;p&gt;Provision a small VPS — the ~$7/month class is genuinely sufficient, and the project explicitly targets hardware as small as a Raspberry Pi — point a DNS record at it, and put a TLS-terminating reverse proxy in front. The &lt;code&gt;DOMAIN&lt;/code&gt; environment variable must match the URL clients will use, because the server stamps it into the payloads clients receive. Getting DNS and TLS right before first login saves you from re-joining every device later.&lt;/p&gt;

&lt;p&gt;The compose file below is the whole deployment. The server listens on port 80 inside the container — that is &lt;code&gt;ROCKET_PORT&lt;/code&gt;’s default, and the only reason you would touch it is a custom setup — and everything persistent lives under &lt;code&gt;/data&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  vaultwarden:
    image: vaultwarden/server:latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:8222:80"
    volumes:
      - ./vw-data:/data
    environment:
      DOMAIN: "https://vault.example.com"
      SIGNUPS_ALLOWED: "false"
      ADMIN_TOKEN: "$ARGON2_HASH_HERE"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three environment variables carry all the judgment in this file. &lt;code&gt;DOMAIN&lt;/code&gt; is the public URL. &lt;code&gt;SIGNUPS_ALLOWED=false&lt;/code&gt; closes registration to the internet — on a password vault, an open signup page is an invitation, and the project itself recommends turning it off for private deployments. Accounts after that point are created by the admin, which is exactly the amount of friction a team vault wants.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ADMIN_TOKEN&lt;/code&gt; unlocks the admin backend at &lt;code&gt;/admin&lt;/code&gt;. The documented recommendation is to store it argon2-hashed rather than in plaintext, so a config-file leak does not hand over a working password. Generate a strong secret, hash it with argon2, and paste the PHC-format string into the environment. If you will never use the admin panel day-to-day, the stricter habit is to leave the token unset entirely and set it only when you need the panel.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day two: the tasks that actually recur
&lt;/h3&gt;

&lt;p&gt;Running the software is not the recurring cost; operating it is. Here is the honest list of what recurs on a raw self-managed box, because the 36-month math in the next section is built from exactly these items.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Updates: pulling a new &lt;code&gt;vaultwarden/server:latest&lt;/code&gt; image and restarting the container, on a cadence you must actually remember.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Backups: copying one SQLite file plus the attachments folder, and — the part everyone skips — storing the copy off the same machine and restoring from it at least once to prove it works.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TLS and proxy upkeep: certificate renewal is automatic, but proxy config changes, security patches to the host OS, and the occasional port or firewall adjustment are not.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Watching the thing: a password vault that is silently down for a week is worse than no vault, because nobody notices until they are off the VPN with a phone and no passwords.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;A backup you have never restored from is a rumor, not a backup. On a vault holding every production credential the company owns, the restore test is the difference between a disaster-recovery plan and a folder of false confidence.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;None of those tasks is hard, and that is precisely the trap: four small jobs, each deferrable, none automagic. Teams with a real ops person on staff absorb them into the weekly routine without pain. Teams where “the person who set it up” is a role, not a job title, end up with an unpatched, unbacked-up vault holding the company’s most critical secrets — which is the failure mode the managed lane in the next section exists to close.&lt;/p&gt;

&lt;p&gt;One structural habit pays off regardless of which lane you pick: keep the deployment declarative from day one. The compose file, the env file, and the backup script belong in a small private repository, so the server can be rebuilt from description instead of memory. That repository, plus one SQLite file and one attachments folder, is the complete material inventory of your password infrastructure.&lt;/p&gt;

&lt;p&gt;04&lt;/p&gt;

&lt;h2&gt;
  
  
  The 36-Month Ledger: Where the Meter Sits in Each Lane
&lt;/h2&gt;

&lt;p&gt;Password manager economics are a three-lane comparison: the official cloud, priced per user per month; a raw VPS you run yourself; and a managed self-hosted instance where the operating hours are someone else’s problem. Two of those lanes can be priced precisely. The third is priced by your vendor, which is exactly why it deserves scrutiny.&lt;/p&gt;

&lt;p&gt;What this model includes — and what it refuses to fudge&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Official cloud lane: paid tiers are priced per user, per month. Your annual figure is 12×seat-price×headcount, and both factors are the vendor’s to move. No specific vendor prices are quoted here — run your own quote against your real headcount, including the contractors and agency seats.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Raw VPS lane: $6.40 VPS plus a $2.60 offsite backup slot, $9 of infrastructure a month; a 4-hour setup at $50/hour ($200, month one); 1.5 maintenance hours a month for the first 18 months, dropping to 0.75 once patching becomes routine.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Managed lane: a flat ~$7/month instance covering updates, backups, and uptime, plus about 15 minutes a month of application administration (inviting users, checking backups) at the same $50/hour rate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Excluded everywhere: the value of the secrets themselves, and the cost of the incident that never happens because the vault was actually patched and actually backed up.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Run the raw and managed lanes forward and the cumulative curves look like this. The managed lane starts cheaper because it skips the setup hours; the raw lane’s maintenance hours are the line that never quite flattens to zero.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Checkpoint&lt;/th&gt;
&lt;th&gt;Raw VPS, self-managed&lt;/th&gt;
&lt;th&gt;Managed instance (~$7/mo)&lt;/th&gt;
&lt;th&gt;Managed advantage&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Month 3&lt;/td&gt;
&lt;td&gt;$452&lt;/td&gt;
&lt;td&gt;$58&lt;/td&gt;
&lt;td&gt;$394&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Month 6&lt;/td&gt;
&lt;td&gt;$704&lt;/td&gt;
&lt;td&gt;$117&lt;/td&gt;
&lt;td&gt;$587&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Month 12&lt;/td&gt;
&lt;td&gt;$1,208&lt;/td&gt;
&lt;td&gt;$234&lt;/td&gt;
&lt;td&gt;$974&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Month 24&lt;/td&gt;
&lt;td&gt;$1,991&lt;/td&gt;
&lt;td&gt;$468&lt;/td&gt;
&lt;td&gt;$1,523&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Month 36&lt;/td&gt;
&lt;td&gt;$2,549&lt;/td&gt;
&lt;td&gt;$702&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$1,847&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;CUMULATIVE COST · 36 MONTHS · ONE PASSWORD VAULT&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;raw VPS: $2,549
managed: $702
per-seat cloud: grows with headcount
month 0
month 36&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The dashed line is deliberately unlabeled in dollars: it is your vendor’s quote multiplied by your headcount, and it is the only lane whose price you do not control. Every hire extends it; nothing about your usage bends it.&lt;/p&gt;

&lt;p&gt;Reading the three curves together&lt;br&gt;
The raw lane’s early steepness is setup labor, not infrastructure — $200 of hours in month one against $27 of server spend. From month 18 the raw lane settles to roughly $46 a month, and its slope is maintenance attention, which is the resource that is hardest to budget because it comes out of whoever’s evening the pager finds.&lt;br&gt;
The managed lane’s whole story is that slope. At roughly $19.50 a month all-in — instance plus a quarter-hour of admin — it is not the cheapest possible number, but it is a number that does not depend on a specific person staying interested in patch Tuesday. Over 36 months the modeled gap against raw self-management is about $1,847, and the gap against any per-seat cloud lane is your seat price times headcount times 36 minus $702.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Raw iron is only cheaper if your hours are free. Managed iron is only cheaper if the backups actually run. The per-seat cloud is only cheaper if your headcount never grows — and headcount is the one forecast every company gets wrong in the same direction.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is also the honest place to name the trade the managed lane makes. Your encrypted vault data sits on a provider’s server instead of your own, behind their operational controls instead of yours. Because the clients encrypt everything before it leaves the device, what the provider can ever see is encrypted blobs — but “who holds the blobs” is a governance decision, not a technical footnote, and teams under formal compliance obligations should answer it deliberately.&lt;br&gt;
If the raw lane’s slope is the problem, this is where the managed option enters the story rather than a sales pitch: &lt;a href="https://dev.to/app/vaultwarden"&gt;pickYour.app installs Vaultwarden on a $7-class VPS in one click&lt;/a&gt;, with updates, offsite backups, and the boring half of operations included, so the ledger above reads as rent instead of labor. The rest of this guide assumes you can run either lane; the decision table in section 06 prices the difference explicitly.&lt;/p&gt;

&lt;p&gt;05The Security Model, Stated Plainly&lt;br&gt;
A password vault is the one server where a breach story gets retold for years, so the security section comes before the convenience features, not after.&lt;br&gt;
The foundation is client-side encryption. Bitwarden clients encrypt and decrypt vault data on the device with keys derived from your master password; the server — Vaultwarden, Bitwarden’s cloud, any compatible backend — receives and stores encrypted blobs it cannot read. A compromise of the server exposes ciphertext, not credentials. That property is inherited from the client software your team already runs, not added by the server implementation.&lt;br&gt;
What a server compromise does expose is the attack surface around the ciphertext: account email addresses, organization membership, and the ability to attempt master-password guessing offline. This is why the hardening list below is short but non-negotiable, and why it maps one-to-one onto things Vaultwarden gives you controls for.&lt;br&gt;
The hardening checklist, in priority order&lt;/p&gt;

&lt;p&gt;Close registration: &lt;code&gt;SIGNUPS_ALLOWED=false&lt;/code&gt; from the first boot, with accounts created by the admin. A public signup page on a vault server is a mailbox waiting for spam.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Hardware-key 2FA on every admin and owner account — FIDO2 WebAuthn works with Nitrokeys and Solokeys, YubiKey is supported natively, and Duo integrates for teams already running it. TOTP and email codes are available for the remaining accounts.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Argon2-hash the &lt;code&gt;ADMIN_TOKEN&lt;/code&gt;, or leave the admin backend disabled except during planned maintenance windows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TLS in front of everything; the &lt;code&gt;DOMAIN&lt;/code&gt; variable matches reality; the container port binds to localhost only, with the proxy doing the public-facing work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Organizational policies and event logs for team vaults: the server supports both, and the event log is what turns “something happened” into “this account exported this collection on this date.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Emergency access configured while nothing is on fire — it is a recovery path for the person who holds the master password, and it only works if it was set up in advance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The server cannot read your passwords. Everything else in this section exists to protect the metadata around them and the recovery paths that lead back to them.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;SSO deserves its own paragraph because it changes the trust model: with SSO configured, vault access rides on your identity provider’s controls — offboarding an employee disables their vault login the moment their directory account dies, instead of whenever someone remembers to rotate credentials. For teams over a dozen people, that property alone justifies the configuration effort.&lt;/p&gt;

&lt;h3&gt;
  
  
  GDPR and the location question
&lt;/h3&gt;

&lt;p&gt;For EU teams, self-hosting converts the vault from a sub-processor relationship into infrastructure you control. The data — encrypted blobs and account metadata — lives in a region you chose, under retention and access rules you wrote, and a vendor’s policy change cannot relocate it. That is not automatic compliance; it is the precondition that makes your compliance documentation describe reality.&lt;/p&gt;

&lt;p&gt;The compliance win is real but bounded, and honesty requires the boundary: the server still processes account emails, device information, and timestamps, so a data-processing inventory still needs a Vaultwarden row. What changes is that every field in that row is data you can enumerate, export, and delete yourself, rather than promises in someone else’s terms of service.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[Scroll-Triggered Diagram: a vault record shows its envelope — ciphertext body marked unreadable, metadata fields marked governable; the reader scrolls and each metadata field gains a small owner tag]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;06&lt;/p&gt;

&lt;h2&gt;
  
  
  The Decision Table: Twelve Parameters, Three Lanes, No Spin
&lt;/h2&gt;

&lt;p&gt;Everything above compresses into one table. Read it as a procurement document: each row is a question a CFO, an auditor, or a future ex-employee would ask, and each cell is the honest answer for that lane.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Official Bitwarden cloud&lt;/th&gt;
&lt;th&gt;Raw VPS, self-managed&lt;/th&gt;
&lt;th&gt;Managed Vaultwarden instance&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Time-to-market&lt;/td&gt;
&lt;td&gt;Minutes — signup and invite the team&lt;/td&gt;
&lt;td&gt;Half a day to a day — server, DNS, TLS, hardening&lt;/td&gt;
&lt;td&gt;Minutes — one-click install, then invite the team&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DevOps overhead&lt;/td&gt;
&lt;td&gt;None; the vendor’s job&lt;/td&gt;
&lt;td&gt;1–1.5 hours a month, ongoing, on someone specific&lt;/td&gt;
&lt;td&gt;~15 minutes a month of application admin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Business continuity &amp;amp; auto-healing&lt;/td&gt;
&lt;td&gt;Vendor-grade; not your problem&lt;/td&gt;
&lt;td&gt;Whatever you build yourself — restarts, monitoring, alerts&lt;/td&gt;
&lt;td&gt;Included; restart and recovery handled by the platform&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Offsite backups &amp;amp; DR&lt;/td&gt;
&lt;td&gt;Vendor-managed; restore options are the vendor’s&lt;/td&gt;
&lt;td&gt;Your script, your schedule, your restore test&lt;/td&gt;
&lt;td&gt;Automated offsite backups; restore on request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GDPR / compliance posture&lt;/td&gt;
&lt;td&gt;Sub-processor agreements with a US-based vendor&lt;/td&gt;
&lt;td&gt;Full control of region, retention, and access — and full responsibility&lt;/td&gt;
&lt;td&gt;EU-region choice available; data stays on your instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpEx predictability&lt;/td&gt;
&lt;td&gt;Tracks headcount and tier changes at renewal&lt;/td&gt;
&lt;td&gt;~$9/mo infra, but hours vary with incidents&lt;/td&gt;
&lt;td&gt;Flat ~$7/mo; the invoice never reads the org chart&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Team self-service onboarding&lt;/td&gt;
&lt;td&gt;Email invite flows, vendor docs&lt;/td&gt;
&lt;td&gt;Admin creates each account; you write the onboarding doc&lt;/td&gt;
&lt;td&gt;Admin creates accounts; familiar Bitwarden clients remove training load&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Upgrade friction&lt;/td&gt;
&lt;td&gt;None visible; changes arrive on the vendor’s schedule&lt;/td&gt;
&lt;td&gt;Image pull + restart on your cadence — your discipline decides&lt;/td&gt;
&lt;td&gt;Handled by the platform; no maintenance windows to schedule&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor independence &amp;amp; export&lt;/td&gt;
&lt;td&gt;Encrypted JSON/CSV exports; account stays with vendor&lt;/td&gt;
&lt;td&gt;Total — SQLite file plus attachments folder is the whole system&lt;/td&gt;
&lt;td&gt;Total — same files, and the provider hands them over on request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12-month TCO (modeled)&lt;/td&gt;
&lt;td&gt;12 × seat price × headcount (your quote)&lt;/td&gt;
&lt;td&gt;~$1,208 including setup labor&lt;/td&gt;
&lt;td&gt;~$234 including admin labor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recovery speed after an incident&lt;/td&gt;
&lt;td&gt;Depends on vendor status page and support tier&lt;/td&gt;
&lt;td&gt;As fast as your restore discipline; untested backups fail here&lt;/td&gt;
&lt;td&gt;Platform restores from offsite backups; you re-issue logins&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit trail &amp;amp; event logs&lt;/td&gt;
&lt;td&gt;Organization event logs on paid tiers&lt;/td&gt;
&lt;td&gt;Full event logs, on hardware you control&lt;/td&gt;
&lt;td&gt;Same feature set, same ownership of the log data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  How to argue with this table
&lt;/h3&gt;

&lt;p&gt;The cloud lane wins two rows outright — time-to-market and DevOps overhead — and if those are the only rows that matter to you, stop reading and subscribe. The self-hosted lanes win the rows that compound: cost trajectory, vendor independence, and the compliance posture that comes from owning the region and the logs.&lt;/p&gt;

&lt;p&gt;The managed lane exists because the two sets of wins used to be mutually exclusive. It keeps the flat invoice and the data ownership of self-hosting while moving the 1.5 hours a month — and the 3 a.m. failure mode — onto a platform whose whole job is that hour. The TCO row is where it shows: the raw lane’s $1,208 is mostly hours; the managed lane’s $234 is mostly rent.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Choose by the row that would hurt most in your worst month, not the row that looks best in a demo. For most teams that row is backups, and the second row is whoever holds the pager.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One caveat belongs in print: the 12-month TCO figures are the model from section 04, not a promise. Your labor rate, your incident rate, and your vendor quote move all three numbers. What does not move is the shape — the cloud lane scales with heads, the raw lane scales with attention, and the managed lane stays flat.&lt;/p&gt;

&lt;p&gt;07&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lock-In Test: Two Files and a Directory, No Permission Slips
&lt;/h2&gt;

&lt;p&gt;Vendor independence claims are cheap. This one is testable in an afternoon, and the test doubles as your disaster-recovery drill.&lt;/p&gt;

&lt;p&gt;The complete state of a Vaultwarden deployment is one SQLite file, the attachments folder, and the compose configuration. Copy those off the machine and you have copied the entire system — every vault, every organization, every collection, in the encrypted form the clients themselves produced. Nothing in the stack is proprietary to the machine it runs on, because the machine was never more than a place the container happened to sit.&lt;/p&gt;

&lt;p&gt;The migration directions all work, which is the actual definition of zero lock-in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Small VPS to bigger VPS: stop the container, copy the data directory, start it on the new host. An hour including DNS propagation patience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-hosted to managed: the same copy, handed to the platform. Because the data format does not change, the migration is file transport, not re-engineering.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Vaultwarden to the official Bitwarden server: the clients speak the same protocol, so the vendor-agnostic path exists even at the extreme end of the exit map.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Anything to anything, per-user: every client can export the individual vault to encrypted or plaintext formats at any time, without asking the server for permission.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Lock-in is not a feeling about a vendor. It is the set of steps between “we want to leave” and “we have left” — and here that set is a file copy the intern can run from a runbook.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Run the exit test annually as a restore drill: spin the copied files up on a spare machine, log in with a client, confirm a login and an attachment survived. That single exercise validates the backup, documents the exit, and — if you are on the managed lane — verifies the provider’s export promise is real rather than rhetorical. Cost of the drill: one afternoon a year. Price of skipping it: discovering the truth during an outage.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[Custom Vector Diagram: one server tile with two arrows leaving it — one to a bigger server tile, one to a hand holding a USB drive; both arrows carry the same label, "sqlite + attachments", and neither arrow passes through a lock]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is also the quiet argument for the unofficial-compatible design itself. Because Vaultwarden implements Bitwarden’s client protocol rather than inventing its own, every client feature — including the exports — works unchanged across the whole ecosystem. The community server lowered the barrier to entry without building a wall around it, and your data is the proof.&lt;/p&gt;

&lt;p&gt;08&lt;/p&gt;

&lt;h2&gt;
  
  
  Eight Questions From the Teams Who Already Moved
&lt;/h2&gt;

&lt;p&gt;Answers are short because the questions are specific. Where a number comes from the cost model in section 04, it says so.&lt;/p&gt;

&lt;p&gt;What is the actual ROI of self-hosting Vaultwarden on a small VPS?&lt;br&gt;
The direct arithmetic: a flat ~$7/month instance against a per-seat cloud subscription, so the break-even question is whether 12 × your seat price × your headcount exceeds roughly $84 a year. For any team over a handful of people on any paid tier, it does — usually in the first quarter of the year.&lt;/p&gt;

&lt;p&gt;The modeled 12-month TCO comparison is starker because it includes labor: ~$234 all-in for a managed instance against ~$1,208 for raw self-management, where the difference is your hours priced at $50/hour. Against the official cloud lane, add your own quote; the result only favors the cloud below very small headcounts.&lt;/p&gt;

&lt;p&gt;The indirect return is the one auditors price: no per-seat barrier to putting every shared credential into the vault properly, which is the behavior password managers exist to buy in the first place.&lt;/p&gt;

&lt;p&gt;How many users can one small server actually handle?&lt;br&gt;
More than you are planning. The server stores encrypted blobs and does no heavy cryptography itself — clients handle encryption and decryption on their own devices — and the project explicitly targets low-power hardware down to a Raspberry Pi. A $7-class VPS is a roomy host for a team-sized deployment.&lt;/p&gt;

&lt;p&gt;The practical scaling limits are mundane: attachment storage in the data directory, backup transfer size, and the number of concurrent admin operations. Growth in users is the axis the server shrugs at; growth in attachments is the axis you provision for.&lt;/p&gt;

&lt;p&gt;If you outgrow the box, the migration test in section 07 is the scale-up plan: copy two files and a directory to the bigger host. Scaling is a file copy, not a redesign.&lt;/p&gt;

&lt;p&gt;What exactly is exposed if the server is compromised?&lt;br&gt;
Vault data is encrypted and decrypted client-side; the server stores encrypted blobs it cannot read. A server-side compromise exposes ciphertext, account emails, and metadata — not passwords — provided master passwords are strong, which is the assumption the whole model rests on.&lt;/p&gt;

&lt;p&gt;The defense against the exposed surface is the hardening list in section 05: closed signup, hardware-key 2FA on admin accounts, an argon2-hashed or disabled admin backend, and TLS everywhere. Each item closes a specific door the ciphertext-adjacent attack surface would otherwise use.&lt;/p&gt;

&lt;p&gt;Honest caveat, same as any vault: a weak master password converts offline ciphertext-guessing into a real risk. The vault’s strength is the product of the server’s hygiene and your weakest master password.&lt;/p&gt;

&lt;p&gt;What does the team need to learn when we switch?&lt;br&gt;
Nothing, if they already use a password manager: the clients are the official Bitwarden browser extensions, mobile apps, and desktop apps, identical to what the official cloud serves. Vaultwarden is invisible to end users except in the server URL field during first login.&lt;/p&gt;

&lt;p&gt;For teams new to password managers entirely, the training budget buys Bitwarden skills — a transferable skill with millions of existing tutorials, not a niche product’s idiosyncrasies. The org-side concepts worth one internal doc are collections, sharing, and member roles.&lt;/p&gt;

&lt;p&gt;The one behavioral rule to actually enforce: enable 2FA on every account before it holds real credentials, and make hardware keys the norm on admin and owner accounts from day one.&lt;/p&gt;

&lt;p&gt;How do backups work, and what is the restore procedure?&lt;br&gt;
The complete backup is one SQLite file plus the attachments folder — copy those off the server on a schedule and you have everything, in the encrypted form the clients produced. Add the compose file and env configuration to the same archive so the rebuild is describable, not archaeological.&lt;/p&gt;

&lt;p&gt;The restore is the reverse: a fresh container, the data directory in place, start. Budget the first one at under an hour including the DNS switch, and rehearse it annually on a spare machine so the real one is boring.&lt;/p&gt;

&lt;p&gt;The offsite requirement is the part self-managed setups skip, and it is the part that matters: a backup on the same disk as the database is a coincidence, not a recovery path. On the managed lane this line item is the provider’s job, which is what the ~$7/month actually buys.&lt;/p&gt;

&lt;p&gt;How do we migrate from the official cloud — and can we ever go back?&lt;br&gt;
Inbound: each user exports their individual vault from the cloud web vault and imports it on the Vaultwarden server, and organization items move the same way by an organization admin. Plan it as an afternoon per team, with 2FA re-enrollment as the main chore.&lt;/p&gt;

&lt;p&gt;Outbound exists in both directions, which is why the move is low-regret: clients export at any time without server permission, and because Vaultwarden speaks the Bitwarden client protocol, the official server remains a live option if your requirements ever outgrow the community implementation — say, a hard mandate for passkey login or the full public API.&lt;/p&gt;

&lt;p&gt;Run the section 07 exit test before you commit to any lane. Thirty minutes of rehearsal turns the migration question from a leap into a checklist.&lt;/p&gt;

&lt;p&gt;Does Vaultwarden work with SSO and our existing identity provider?&lt;br&gt;
Yes, with configuration: SSO is a supported feature, so vault authentication can ride your existing identity provider and inherit its offboarding — the moment a directory account is disabled, vault access goes with it. The server also supports directory connector flows, though the Bitwarden public API coverage there is partial rather than complete.&lt;/p&gt;

&lt;p&gt;Below a dozen people, SSO is usually more setup than it saves. Past that size, it converts “who still has vault access” from an audit question into a directory fact, and the configuration cost pays for itself at the first offboarding.&lt;/p&gt;

&lt;p&gt;What features are we giving up versus the official cloud, precisely?&lt;br&gt;
Three, per the project’s own documentation: no login with passkeys (tracked upstream in issue #5929, so it may come), a partially implemented Bitwarden public API — the Directory Connector portions only — and no new-device login protection. Everything else covered in this guide, from organizations and event logs to emergency access and Bitwarden Send, is present.&lt;/p&gt;

&lt;p&gt;Weigh those three against your written requirements rather than a features page. Teams authenticating with TOTP or hardware keys, not depending on the full public API, give up nothing they use; teams with mandates in those exact areas now know the boundary before the migration, not after.&lt;/p&gt;

&lt;p&gt;And the trade’s other side, for balance: the server runs on a $7-class VPS instead of the resource-heavy official deployment the project was written to avoid, which is how the flat invoice exists at all.&lt;/p&gt;

&lt;p&gt;The pattern across all eight answers: the decisions that look risky are reversible, testable in an afternoon, and priced in hours rather than vendor contracts. A vault the team actually owns, on hardware whose bill never reads the org chart, with an exit path rehearsed annually — that is the whole pitch, and it fits on one server the size of a paperback.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>security</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
    <item>
      <title>How to Self-Host n8n in 2026: The Manual Way vs One-Click Deploy</title>
      <dc:creator>Deploy Instant</dc:creator>
      <pubDate>Wed, 25 Nov 2026 16:36:13 +0000</pubDate>
      <link>https://dev.to/deployinstant/how-to-self-host-n8n-in-2026-the-manual-way-vs-one-click-deploy-10dn</link>
      <guid>https://dev.to/deployinstant/how-to-self-host-n8n-in-2026-the-manual-way-vs-one-click-deploy-10dn</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Cross-posted from the PickYourApp blog. This tutorial is app-agnostic — it works with any VPS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you've been building automations with n8n, you already know the pain: n8n Cloud starts at roughly $20/month for 2.5k executions, and your workflows — your actual business logic — live on someone else's servers. Self-hosting n8n fixes both problems. You pay for a VPS instead of per-seat SaaS pricing, and your data stays on hardware you control.&lt;/p&gt;

&lt;p&gt;This guide walks through what self-hosting n8n actually involves in 2026: the honest manual setup path, the real costs, and the shortcuts available if you just want it running today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why self-host n8n at all?
&lt;/h2&gt;

&lt;p&gt;Three reasons keep coming up in the self-hosted community:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cost.&lt;/strong&gt; n8n Cloud charges per execution tier. A $7–15/month VPS runs n8n (and a handful of other apps — more on that later) with effectively unlimited executions. For most solo builders and small teams, the VPS wins by a wide margin within the first month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data ownership.&lt;/strong&gt; Workflows frequently touch customer data: CRM records, emails, payment webhooks. Self-hosting keeps that traffic inside infrastructure you govern.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No execution anxiety.&lt;/strong&gt; When you're not counting executions against a quota, you build differently. You automate the small annoying things too — that's where most of the value hides.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What you need before starting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A VPS with at least &lt;strong&gt;2 GB RAM&lt;/strong&gt; (4 GB is comfortable once you add databases and other apps)&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;domain name&lt;/strong&gt; pointed at your server&lt;/li&gt;
&lt;li&gt;Docker installed (that's the standard n8n deployment method)&lt;/li&gt;
&lt;li&gt;30–90 minutes of your time, depending on your Linux comfort level&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The manual setup: what it really takes
&lt;/h2&gt;

&lt;p&gt;Here's the honest version of the process most tutorials gloss over.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Get a server and Docker
&lt;/h3&gt;

&lt;p&gt;Provision your VPS, SSH in, and install Docker plus the compose plugin:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://get.docker.com &lt;span class="o"&gt;|&lt;/span&gt; sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Create the compose file
&lt;/h3&gt;

&lt;p&gt;n8n's official Docker image is well-maintained, but a production-ready compose file needs more than the bare minimum. You'll want persistent volumes, health checks, and a dedicated Docker network:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;n8n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;docker.n8n.io/n8nio/n8n&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"5678:5678"&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;n8n_data:/home/node/.n8n&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;GENERIC_TIMEZONE=UTC&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;N8N_HOST=n8n.yourdomain.com&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;N8N_PROTOCOL=https&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;WEBHOOK_URL=https://n8n.yourdomain.com/&lt;/span&gt;

&lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;n8n_data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Configure environment variables properly
&lt;/h3&gt;

&lt;p&gt;This is where most self-hosters get burned. n8n has hundreds of environment variables, and a few are security-critical for production: webhook URLs (&lt;code&gt;N8N_HOST&lt;/code&gt;, &lt;code&gt;WEBHOOK_URL&lt;/code&gt;), encryption keys (&lt;code&gt;N8N_ENCRYPTION_KEY&lt;/code&gt; — lose this and your stored credentials become unreadable), and basic auth settings. Miss one and you'll discover it later as mysterious webhook failures or, worse, an unauthenticated instance exposed to the internet.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Put it behind HTTPS
&lt;/h3&gt;

&lt;p&gt;n8n must never run bare on port 5678 facing the internet. You need a reverse proxy — Caddy or Traefik are the common choices — with automatic Let's Encrypt certificates. That's another container, another config file, another set of DNS records.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Wire up updates and backups
&lt;/h3&gt;

&lt;p&gt;Self-hosting is a commitment, not a weekend. You're now on the hook for: pulling new n8n images without losing credentials, backing up the data volume (workflows, credentials, execution history), and having an answer when the disk fills up with execution logs.&lt;/p&gt;

&lt;p&gt;Realistically, steps 1–5 take &lt;strong&gt;30–90 minutes&lt;/strong&gt; if everything goes smoothly, and a few hours the first time it doesn't. None of it is exotic — it's just DevOps, and DevOps done at 11pm when your webhook integration silently broke is nobody's idea of fun.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one-click path
&lt;/h2&gt;

&lt;p&gt;If your goal is &lt;em&gt;using&lt;/em&gt; n8n rather than &lt;em&gt;administering&lt;/em&gt; it, there's a middle ground between n8n Cloud's pricing and full manual ops.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pickyour.app?utm_source=devto&amp;amp;utm_campaign=w1-n8n" rel="noopener noreferrer"&gt;PickYourApp&lt;/a&gt; is a one-click installer for open-source apps: you pick n8n from a catalog of 2,748 apps, it sizes the VPS, points your domain, handles HTTPS, and hands you a running instance. Plans start at &lt;strong&gt;$7.15/month&lt;/strong&gt; — metered hourly at $0.013/hr, so you can test an instance for pennies and stop it whenever you like.&lt;/p&gt;

&lt;p&gt;The setup that takes an evening above becomes about a minute: choose app, click deploy, log in. The same applies to the rest of your stack — Uptime Kuma for monitoring, Gitea for git, Ghost for a blog — so you're not repeating the reverse-proxy dance per app.&lt;/p&gt;

&lt;p&gt;Full disclosure: that link goes to our own product. The manual tutorial above is genuinely complete — use it if you enjoy the process or want maximum control. The one-click option exists for everyone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is self-hosted n8n really free?&lt;/strong&gt;&lt;br&gt;
Yes. The Community Edition is free to run for internal business use (it's released under a sustainable-use license, so you can't resell it as-is — but running your own automations on it costs nothing but the server).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How much RAM does n8n need?&lt;/strong&gt;&lt;br&gt;
n8n doesn't publish a hard minimum. Light, single-user setups run happily on 2 GB; give it 4 GB once you add production workloads, AI nodes, or other apps on the same box.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I move my workflows from n8n Cloud to self-hosted?&lt;/strong&gt;&lt;br&gt;
Yes — export workflows as JSON from the Cloud UI and import them on your instance. You'll re-enter credentials (those are encrypted with your instance's &lt;code&gt;N8N_ENCRYPTION_KEY&lt;/code&gt;, which is exactly why backing that key up matters).&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick checklist either way
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] VPS with 2+ GB RAM&lt;/li&gt;
&lt;li&gt;[ ] Domain DNS pointed at the server&lt;/li&gt;
&lt;li&gt;[ ] HTTPS via reverse proxy (never expose port 5678 directly)&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;N8N_ENCRYPTION_KEY&lt;/code&gt; generated, stored in a password manager&lt;/li&gt;
&lt;li&gt;[ ] Data volume backed up on a schedule&lt;/li&gt;
&lt;li&gt;[ ] Update routine: pull image, check release notes, restart&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;Self-hosting n8n is one of the highest-ROI moves for builders in 2026: a few dollars of VPS replaces a growing SaaS line item, and your workflows become portable infrastructure you actually own. The only real cost is the setup and maintenance time.&lt;/p&gt;

&lt;p&gt;Pay the time, or pay a few dollars to skip it — either way, own your automation stack.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Ready to skip the DevOps? &lt;a href="https://pickyour.app?utm_source=devto&amp;amp;utm_campaign=w1-n8n" rel="noopener noreferrer"&gt;Deploy n8n in one click →&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>automation</category>
      <category>docker</category>
    </item>
  </channel>
</rss>
