Wagtail on Docker vs Kubernetes vs VMs

Choose Docker, Kubernetes or virtual machines for Wagtail by team size, availability target and the operating skills you already have. Each model changes who patches the host, runs upgrades and restores backups.

On this page

Wagtail deployment options: when Docker, Kubernetes or VMs fits

The choice depends mainly on your team's existing operating skills, the availability target you must meet and the number of Wagtail sites you run. Wagtail itself carries little weight in that decision, because all three models run the same Django application. Start by naming who patches the operating system, rebuilds the image for each Wagtail release and answers the on-call page. Wagtail ships a feature release every three months and typically an LTS release once every four feature releases, per the Wagtail release schedule, so version changes will recur. Test whether each model can move one site to the next supported version, pinned to a supported Django line (5.2.x, 6.0.x or 6.1.x), and roll back within your change window.

Docker on a few hosts fits a team with container skills but no cluster operations, running one or a few Wagtail sites. The advantage matters when identical images must move from build to production and a rollback means redeploying the previous tag. It holds only if a single host outage fits your availability target or a standby host can take over. Kubernetes fits when you run many sites, need automated restarts and rolling updates across nodes, and already have a platform team that runs clusters, upgrades and storage. Without that team, the cluster becomes another system to patch and audit. Virtual machines fit when your organization already patches, backs up and evidences VM baselines centrally. Their advantage is familiar change control. The cost is slower, more manual failover and configuration drift between hosts, which a restore drill will expose.

A fourth path is a managed service. Torchbox, Wagtail's primary sponsor, offers commercial support and hosting, so you can weigh a vendor-run deployment alongside the three self-run models. That option matters most when your team lacks the operating skills described above or when on-call coverage must come from a contracted party. Before comparing it, confirm in writing where hosting runs, who holds the database and media backups, which Wagtail versions and LTS lines the service supports, how you exit with your data and configuration, and whether security testing of your instance is permitted. Whichever model you choose, run one tabletop exercise: restore the database and media files to a fresh environment and time an upgrade across an LTS boundary. That test separates the options more clearly than any feature list.

How Docker, Kubernetes and VMs compare on the factors that matter

This table compares running Wagtail on Docker, Kubernetes and virtual machines across architecture, sizing, availability, upgrades, backups, skills, cost and switching. Read each row for the condition that changes the answer, and treat the confirm notes as questions for your own environment. Most teams decide on the skills they already have and the hosting platform their organization already runs.

FactorDocker on hostsKubernetesVirtual machines
ArchitectureWagtail container plus separate PostgreSQL and media storage, usually on one or a few hosts.Wagtail pods behind an ingress, with PostgreSQL and media storage external or run through an operator.Wagtail app server behind a reverse proxy, with process management on each server.
SizingSet CPU and memory per container and per host. Confirm limits with load tests on your own traffic.Scale replicas and set resource requests. Confirm database connection limits across all pods.Size each server up front, then add servers behind a load balancer. Confirm headroom with your own load tests.
High availabilityRestarts recover crashed containers. One host is still a single point of failure.Replicas across nodes give redundancy. Confirm the database and media storage are also highly available.Two or more servers behind a load balancer. Confirm database failover and how often it is tested.
UpgradesBuild a new image per release and redeploy each host. Confirm how you handle downtime during restarts.Rolling updates by image tag, with Django migrations run as a separate step. Confirm migrations are safe before pods switch.Update packages and the Python environment in place or by replacing the server. Confirm your rollback path.
BackupsBack up PostgreSQL, media storage and deployment config. Confirm volumes are included, since containers are disposable.Back up the external database, object storage and manifests. Confirm restore tests cover secrets and persistent volumes.Snapshots or file backups of the server, plus database dumps. Confirm snapshots and dumps are taken at consistent points.
Operating skillsImage builds, registry access and host patching. Suits teams already running containers on a few hosts.Cluster administration, networking, storage and upgrades. Confirm who holds on-call cover for the cluster.Linux administration, web server and Python environment management. Suits teams already running Django on servers.
Cost driversHost count, registry storage, monitoring and admin time. Costs recur with each host you run.Nodes, load balancers, storage and platform staff time. Confirm who owns the cluster before you request a quote.Server count, storage, OS patching and admin time. Costs recur with each server you keep running.
Cost of switching laterMoving to Kubernetes later reuses the image. Confirm config and storage can move without a data migration.Leaving the cluster means rewriting deployment and storage config. Keep manifests in version control to lower the cost.Moving to containers means packaging the app. Keep the database and media in standard formats to ease a move.

What each model runs: components and topology

All three models run the same Wagtail application: a Django process serving the site and admin, a database, media files, a search backend and a load balancer in front. The models differ in who builds and patches each layer. The cards below show what the team must own in each model and which items to confirm against current Wagtail deployment guidance before sizing the platform.

Docker on a small host set

Containers on a few hosts run the Wagtail image, usually behind a reverse proxy or load balancer, with the database and media storage kept outside the containers. The team owns the Docker engine on each host, image builds and tagging, proxy configuration and any failover between hosts. For Wagtail, confirm whether current deployment guidance covers container images, which process server to run inside the container, and how static files are served. Illustrative: a two-host setup with one proxy only fails over if the team scripts that failover itself.

Kubernetes control plane and workers

The control plane schedules Wagtail pods onto worker nodes, so the team owns both layers unless a managed Kubernetes service runs the control plane. Plan for an ingress controller as the load balancer entry point, secrets for database and storage credentials, and storage classes for anything that writes to disk. Confirm with current Wagtail deployment guidance which processes (web, background workers, scheduled jobs) need their own deployments and whether the site can run without writable local storage. Upgrade effort adds cluster version upgrades on top of Wagtail upgrades.

Virtual machines and guest OS

Each virtual machine carries its own guest OS, web server, application process and, if chosen, the database. The team patches the OS, configures the web server and a process manager for the Django application, and decides whether the database shares the VM or runs on a separate one. A separate database VM isolates failover and backup more cleanly but adds a network hop and another machine to patch. Confirm the supported web server and application server pairing in current Wagtail deployment guidance, and where the load balancer sits in front of two or more VMs.

Database placement and ownership

The database holds page content, revisions and workflow state, so it is often the item teams underestimate. Whether it runs on a managed service, a VM or a Kubernetes cluster, the team owns backups, point-in-time recovery, failover, minor version patching and capacity planning. Confirm which database engines and versions the current Wagtail release supports, and which Django version your chosen Wagtail line supports. The Wagtail repository lists the Django versions in its supported range.

Wagtail repository

Object storage for media

Uploaded images and documents are media files, so they should not live inside the application image or a single VM's disk in any of the three models. The team owns the bucket, access keys, lifecycle rules, backup policy and the rules for who can read originals and generated renditions. Storage placed in a different region or on-premises changes latency for editors and visitors. Confirm the media storage backend that current Wagtail deployment guidance documents, and whether your build needs an additional storage adapter.

Search backend choice

Wagtail's integrated search can use Elasticsearch or PostgreSQL. Elasticsearch is a separate cluster the team must size, patch, back up and keep in step with the site. PostgreSQL search keeps the index in the database the team already runs, which reduces moving parts but ties search load to database capacity. Choose the backend before sizing any cluster or VM. Confirm in current Wagtail deployment guidance which Elasticsearch versions are supported and how indexing is triggered in each deployment model.

Decision path from team constraints to a deployment model

The flow starts from four team constraints: whether you need automated scaling or multi-node scheduling, your existing container skills, how many Wagtail sites you run, and how much host patching your team can carry. The scaling question decides the first split. A yes leads to Kubernetes only when you already have container skills and platform staff to run it, otherwise to the managed path. A no moves to the site count: many sites with container skills lead to Docker on VMs, and many sites without them lead to plain VMs. One or a few sites lead to the managed path or plain VMs, depending on patching appetite. Confirm high availability, backup and upgrade needs with your own operations team before you commit.

The scaling question decides the first split, and the site count settles the rest.

How the Wagtail release cadence sets upgrade work for every model

Wagtail sets the pace of upgrade work before you choose a runtime. The project ships a feature release every three months, and an LTS release typically comes once every four feature releases, with eighteen months of support. Wagtail 8.0 was released on August 25, 2026. Wagtail 7.4 LTS has security support until November 2, 2027, and Wagtail 8.3 LTS is scheduled for May 4, 2027, with support until November 6, 2028. Whichever model you pick, this quarterly rhythm means your platform team must be able to rebuild and redeploy Wagtail on short notice. Decide which line you will run, feature releases or an LTS line, and record the date each line leaves security support. Check the dates against the Wagtail release schedule before you commit to a model.

Django sets a second clock. Wagtail supports Django 5.2.x, 6.0.x and 6.1.x, so the Django version pinned in your lock file or base image must fall inside the set supported by the Wagtail release you run. A Django bump forces a rebuild whatever the hosting model. On Docker or Kubernetes, that means a new image built from the updated lock file, a new tag and a rolling rollout. On virtual machines, it means building a new release bundle or virtual environment on the host and restarting the application process. Before scheduling the work, read the Wagtail release notes for the target version, confirm which Django versions it supports, and run your test suite and database migrations against a copy of production-sized data. Treat that rehearsal as a required step in every upgrade plan, not an optional extra.

The practical difference between the models is who carries the rebuild and how quickly it can happen. Container images and VM images both need a pipeline that rebuilds from a pinned base, runs tests and produces an artifact you can roll back to. Ask whether your team can build a patched artifact within the window your security policy requires, and whether a failed upgrade can be reversed without restoring the content database from backup. Schedule a dry run on a staging copy that includes Wagtail's migrations and, if you use Elasticsearch or PostgreSQL for search, the search index rebuild. Record how long each step took in that dry run, because that measured figure, not a vendor estimate, is what your next release window should be planned around.

Who runs upgrades, backups, monitoring and skills in each model

This table compares who performs upgrades, backups, restores, monitoring, rollbacks and daily operating work under Docker, Kubernetes and virtual machine deployments of Wagtail. Read each row across the three model columns, then check the partner and client staff rows to see which tasks a retainer can take over. Restore tests are the step most often skipped in every model, so confirm one is scheduled before go-live.

TaskWagtail on DockerWagtail on KubernetesWagtail on VMs
Version planningTrack LTS dates, such as 7.4 LTS security support to November 2, 2027 (Wagtail release schedule).Same Wagtail tracking, plus Kubernetes version support to plan cluster upgrades alongside.Same Wagtail tracking, plus OS release support that can force a host rebuild.
Upgrade stepsBuild a new image for each Wagtail or Django change, test it, then redeploy the container.Build a new image, update the Helm chart or manifests, then roll out with readiness checks.Patch the OS, update the Python environment and app code in place, then restart services.
Backup and restoreClient staff back up PostgreSQL, media files and the image registry. Restores go to a new host.Client staff back up the database, media store and any persistent volumes. Confirm operator tooling choices.Client staff snapshot or back up whole VMs and the database. Whole-machine restores are simpler to reason about.
Monitoring and alertingContainer health checks, host metrics and log shipping. Usually fewer components to watch.Cluster, node, pod and ingress metrics. Expect a larger monitoring stack to run and tune.Host agents, service checks and log forwarding. Each VM needs its own agent configuration.
Rollback methodRedeploy the previous image tag. Database migrations usually need a restore, so plan for them.Roll back the Deployment revision. Schema changes still need a database restore or a forward fix.Restore the VM snapshot or reinstall the previous release. Snapshot age sets how much data is lost.
Skills needed in-houseLinux, container runtime, reverse proxy, PostgreSQL administration and Django deployment.Cluster administration, Helm, networking, storage, access control plus Django and PostgreSQL.Linux administration, configuration management, patching, PostgreSQL and Django deployment.
Shifts to a partner under retainerScheduled Wagtail and Django upgrades, backup job checks, monitoring tuning and escalation support.Cluster upgrades, chart maintenance, observability tuning and incident support alongside app upgrades.OS patch cycles, configuration drift checks, backup verification and app upgrades.
Stays with client staffProduction change approvals, data retention decisions, access reviews and final release sign-off.Production change approvals, data retention decisions, access reviews and final release sign-off.Production change approvals, data retention decisions, access reviews and final release sign-off.

Which team should run Wagtail on each model

A small web team with no container platform usually carries the least operating risk on virtual machines, with one Wagtail application, one PostgreSQL database and a written backup routine. The team likely already knows Linux, web servers and Django deployment, so the main gap is operational discipline: patching the operating system, rotating secrets and testing restores.

  • Model that fits: One VM or a small pair behind a load balancer, with the database on the same private network. Illustrative example: a three-person marketing site team can explain this layout to a new hire in an afternoon.
  • Skill gap to close first: Scheduled OS patching, Django upgrade habits, and a tested restore of both the database and the media files. Run the restore before launch.
  • Upgrade rhythm: Wagtail 7.4 LTS has security support until November 2, 2027, and the Wagtail release schedule lists 8.3 LTS for May 4, 2027, so the team has a planned window to move between LTS lines.
  • Condition that would change the answer: A second product team that needs shared hosting, or a requirement for automated scaling under load, shifts the decision toward containers.

Confirm that your hosting provider's patch cadence and backup tooling match the restore test you plan to run.

What to confirm before choosing a model and writing a quote

This sequence settles the Wagtail deployment decisions before any quote is requested. Each step produces one decision or one written input, so partners price the same scope your team needs to run. Start with official guidance and your own skills, then set recovery targets and choose a release line.

  1. Confirm current Wagtail deployment guidance

    Read the Wagtail project's current documentation on deployment, database setup, static files and search configuration, and note which options it presents as the supported path. The platform or security engineering lead owns this step. It is done when the team has a written list of official recommendations, each with the date it was checked, so later decisions do not rest on old tutorials or blog posts. Ask any partner to confirm the same list in writing before it quotes.

  2. Inventory existing skills and container platforms

    List who on your team already runs Django applications, Docker images, Kubernetes clusters and virtual machine fleets, and which of those platforms your organization already operates, patches and monitors. Include on-call coverage and who holds database administration duties. The engineering manager and infrastructure lead own this step. It is done when you have a one-page inventory showing which model your team can run without new hires or outside help, and which gaps a partner or managed service would need to close.

  3. Set availability and recovery targets

    Agree with the business owner how long the site can be unavailable, how much recent content can be lost, and which content must be restorable separately, such as records under legal hold or regulatory retention. Write each target with a named owner. High availability, backup and restore design all depend on these numbers, so make this decision before choosing a model. It is done when the business owner signs the targets and the infrastructure team either confirms that each model meets them or documents the gap.

  4. Choose the Wagtail release line

    Decide whether to deploy a feature release or an LTS line, and confirm which supported Django version it runs on. Wagtail supports Django 5.2.x, 6.0.x and 6.1.x. Wagtail 7.4 LTS has security support until November 2, 2027, and Wagtail 8.3 LTS is scheduled for May 4, 2027 with support until November 6, 2028, according to the Wagtail release schedule. Confirm those dates are still current. The technical lead decides with the business owner. It is done when the release line and Django version appear in the written scope, along with the end-of-support date that will trigger the next upgrade.

  5. Request a fixed-scope quote per model

    Send each shortlisted partner the same written brief covering your availability targets, release line, skills gap and recovery targets. Ask for a separate fixed-scope quote for each model you are considering: Docker, Kubernetes and virtual machines. Each quote should list what is included for hosting setup, high availability, backup and restore testing, upgrade work, documentation and handover, and what the client must provide. Procurement and the platform lead own this step. It is done when every quote lists covered items per model in writing, with exclusions and any ongoing support shown separately, so the options compare on the same basis.

Questions teams ask before choosing a Wagtail deployment model

How much does a Kubernetes setup cost compared with virtual machines?

A Kubernetes setup usually costs more to run than a VM setup for the same Wagtail site, because it adds a cluster layer on top of the compute, storage and database you would need anyway. The VM side is mostly instances or hosts, the operating system, the database, backups and load balancing. The Kubernetes side adds control plane or managed cluster charges, worker node pools, an ingress and certificate layer, a container registry and the platform skills to operate them. Wagtail is BSD-3-Clause licensed and free for open and closed-source use, so the difference sits in infrastructure and people. Build work such as pipelines, cluster hardening and data migration is one-time, while cloud charges, patching, on-call and upgrades recur. In a written quote, ask for each component priced separately, who carries it, and which parts recur.

How long does it take to move Wagtail between deployment models?

The move usually takes longer than the configuration suggests, because the work covers packaging the application for its new runtime, moving the database and media files, rebuilding search indexes and rehearsing the cutover. Ask for the duration in the written scope, broken into discovery, build, data migration, cutover rehearsal and a rollback window. Moving from VMs to containers is usually quicker when the team already has build pipelines and images, and slower when background workers, scheduled tasks and media storage have to be reworked. Moving between Docker and Kubernetes carries less application change but adds cluster-specific work such as ingress rules, secrets handling, storage classes and health probes. Also confirm who signs off the cutover and how long the old environment stays available for fallback.

Can our team run Wagtail on Docker or Kubernetes without outside help?

Often yes, if the team already runs Django and has container or cluster operations in production, and less so if Wagtail and the platform are both new to them. Wagtail is free to run, so the real question is whether your engineers can own the Python application, the PostgreSQL database, search configuration, backups and the cluster or VM layer after handover. A VM setup has fewer moving parts, so a small team can often keep it running with standard Linux and Django skills. Docker adds image builds and a runtime to maintain. Kubernetes adds cluster upgrades, networking and scaling rules to learn. If you bring in a partner for part of the work, keep ownership by requiring runbooks, a documented upgrade path and a tested restore as deliverables. Ask any partner for a handover plan that names who runs each component after go-live.

What skills does a Wagtail deployment model require?

The work needs a mix of application, data and platform skills, and the mix shifts with the model you choose. Parallel parts:

  • Python and Django for models, StreamField content structures, workflows and custom code. Wagtail currently supports Django 5.2.x, 6.0.x and 6.1.x, so the team must match the Django line to the Wagtail release.
  • Database and search operations for PostgreSQL, backups, restore testing and the search backend you choose, either Elasticsearch or the PostgreSQL-based integrated search.
  • Platform skills for the chosen model: Linux and VM administration, container image builds for Docker, or cluster administration, ingress, secrets and storage classes for Kubernetes.

Identity integration, monitoring and on-call apply to every model. Check the skill mix against your team's current experience before the scope is signed.

How do upgrades differ between Docker, Kubernetes and VMs?

The Wagtail release rhythm is the same across models, but the mechanics of applying an upgrade differ. Wagtail ships a feature release every three months, and an LTS release typically comes once every four feature releases with eighteen months of support. Wagtail 7.4 LTS has security support until November 2, 2027, and Wagtail 8.3 LTS is scheduled for May 4, 2027, according to the Wagtail release schedule. On VMs, upgrades are usually in-place package and Django changes, so rollback means restoring a snapshot or reinstalling. On Docker, you build a new image, run database migrations once and redeploy, so the image tag becomes your rollback point. On Kubernetes, rolling updates replace pods gradually, which needs readiness checks and a migration job that finishes before traffic shifts. Budget time for each upgrade in your own environment, and ask any partner to document the rollback steps for each model.

What drives Wagtail hosting cost up or down?

Traffic, content volume, search, availability targets and staffing drive most of the cost, while the software license does not. Wagtail is BSD-3-Clause licensed and free for open and closed-source use, so the cost lines are infrastructure, labor and any support contract. Upward pressure comes from more sites and languages, heavy image rendering, a high availability target that needs extra nodes and a replicated database, a dedicated search cluster and a larger on-call rota. Downward pressure comes from a single well-sized VM for modest traffic, PostgreSQL-based search where it meets your needs, automated backups with regular restore tests and one shared platform team. Commercial support and hosting from Torchbox, which sponsors Wagtail, are optional and recurring. In a quote, ask which of these items are in scope and which ones you keep paying for after go-live.

Who gets paid for what in a Wagtail deployment project?

Your cloud provider or data center is paid for compute, storage, networking and backups, and Wagtail itself carries no license fee. Your engineers or an implementation partner are paid for planning, build, data migration, hardening and documentation. Ongoing operations, patching, upgrades and on-call are paid either through your own staff or a retainer. Torchbox offers commercial support and hosting for Wagtail, which is a separate purchase if you choose it. DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support, upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list, so a quote follows from the written scope.

How DeployOpen scopes, delivers and supports Wagtail deployments

DeployOpen approaches Wagtail on Docker, Kubernetes or virtual machines the same way: the deployment model is agreed in a written scope before work starts. We plan, implement, harden, back up and document the self-hosted Wagtail stack inside your own cloud accounts, data centers or air-gapped networks. Ongoing upgrades and testing can follow as a retainer.

How we scope

  • The written scope records whether Docker, Kubernetes or VMs fits your team, and why.
  • Scope covers the Wagtail version, the Django version (5.2.x, 6.0.x or 6.1.x) and the database and search backend.
  • Fixed-scope engagements agree deliverables and timelines in writing before work starts, and a quote follows from that scope.

How we build

  • Implement the chosen topology, configuring Wagtail's database, media files and search backend for your environment.
  • Integrate identity and Wagtail's content workflows and moderation with your approval process.
  • Harden the host or cluster, then test the running site, including access controls and admin exposure, before handover.

How we hand over

  • Document the topology, backup and restore steps, and upgrade runbook for the Docker, Kubernetes or VM setup you chose.
  • Set up backups for the Wagtail database and media files, and document how each restore is performed.
  • Prepare configuration, access and logging evidence for your compliance team; auditors issue any attestation.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Plan Wagtail upgrades around the Wagtail release schedule: 7.4 LTS has security support until November 2, 2027.
  • Ask for continuous testing in the retainer so each Wagtail or Django upgrade is checked before it reaches production.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.