Open edX Tutor deployment

A practical guide to deploying Open edX with Tutor on a single server, covering configuration, plugins, HTTPS, backups and the point where a single Docker host is no longer enough.

On this page

Open edX Tutor deployment starts with one server and one decision

A team that needs a self-hosted Open edX LMS and Studio inside infrastructure it controls should start with Tutor on a single Docker host. Tutor is the official Docker-based Open edX distribution for production and local development, and the edx-platform maintainers recommend running Open edX through Tutor or a service provider rather than a bare-metal install, which they describe as complex and thinly supported by the community. A single host is a sound first production target, and it holds until learner numbers, availability requirements or upgrade windows outgrow one machine.

The install looks simple because Tutor packages the services, but the real work sits in decisions around it. Someone has to settle the domain names for LMS and Studio, the HTTPS setup, the identity provider, the mail service, and where the config.yml secrets live and who can read them. Backups of the MySQL and MongoDB data and the media store need a tested restore path, not only a schedule. Confirm which Tutor version maps to which Open edX release before you install, because Open edX states that only the latest named release is supported and that it cannot support more than one release at a time. Plan for the next release cycle now, since every upgrade will need your plugins and theme tested again.

The one decision to make first is which release line and hosting model you will commit to for the next several years, and who will carry the upgrades. Ask your implementation partner, or your own platform team, to show a written plan covering the host size, the backup target and restore test, the plugin list with the version each one pins, and the upgrade rehearsal in a staging copy. Confirm current release dates and support windows directly in the Open edX release notes rather than relying on an older blog post. If any of these answers are missing, the single server is not yet ready for learners.

Which parts of the stack Tutor puts on one host

A single-server Tutor install runs the LMS, Studio, their databases and cache, and the proxy in front of them on one Docker host. Each card below is a part of that stack you need to configure, keep at a supported version, or monitor, because a fault in any one of them takes down the whole course platform.

LMS and Studio containers

The LMS serves learners and Studio is the authoring service where course teams build content. Both come from the same edx-platform codebase, so they must be upgraded together. Check that each container restarts cleanly after a configuration change, and that Studio is reachable only by staff. Watch memory and CPU during enrollment peaks, since both services share the host.

Tutor docs

MySQL 8.0 for relational data

MySQL 8.0 holds enrollments, grades, user accounts and most platform records. It is the database you must back up first and restore first, so confirm that dumps run on a schedule and that a restore has been tested on a separate host. Track disk growth, because learner and grade tables grow with every course run.

MongoDB 7.x for course content

MongoDB 7.x stores the course structure and content modules that Studio writes and the LMS reads. Losing it means losing course content, not only learner records, so it needs its own backup job alongside MySQL. Confirm the exact 7.x patch level Tutor pins for your release and plan to review it at each upgrade.

Memcached and the shared cache

Memcached caches sessions and frequently read data for the LMS and Studio. On one host it is a local dependency, and a restart clears sessions, so learners may be logged out. When you later add a second application node, the cache must be shared, using Redis or Memcached, or users will see inconsistent state across servers. Confirm which backend your Tutor version expects.

Reverse proxy and TLS

The reverse proxy terminates HTTPS and routes requests to the LMS, Studio and media paths. Certificate renewal, redirect rules and the proxy's own logs are the operator's responsibility. Test that learner and staff domains both resolve over TLS and that certificate expiry is monitored, because an expired certificate blocks every learner at once.

Python, Node.js and build dependencies

Tutor builds its images with Python 3.12 and Node.js, and the edx-platform development path names both as requirements. You rarely install them by hand on a Tutor host, but you do need to know which versions each image pins when you plan an upgrade. Ask your Tutor version's documentation which Python and Node.js versions it uses before you change the host OS.

Choosing between a single Docker host, several nodes and Kubernetes

This table compares four ways to run Open edX with Tutor: one Docker host, several Docker hosts with external databases, Kubernetes with tutor k8s, and a service provider. Read each row against your own load tests and your team's operating skills, since the right option depends on your learner numbers, uptime needs and who will be on call.

OptionWhen it fitsOperational costSkills needed
Single Tutor hostPilot programs, small cohorts, or a first production launch where load tests show one server meets peak demand with headroomOne server to patch, one backup routine to verify, and one place where an outage takes down LMS and Studio togetherLinux administration, Docker, Tutor commands, certificate renewal and restore testing
Tutor on several Docker hosts with external databasesLearner peaks that outgrow one host, or a need to separate database and media storage from application nodesShared cache and external MySQL and MongoDB must be configured, monitored and backed up, and each node needs patchingDocker networking, managed database administration, load balancer configuration and cache tuning
Tutor on Kubernetes with tutor k8sSeveral environments, frequent scaling changes, or an existing cluster platform team that already runs stateful workloadsCluster upkeep, ingress, storage classes and rolling upgrades add routine work on top of the platform itselfKubernetes operations, Helm or manifest handling, storage and observability, plus Tutor knowledge
Service providerTeams without spare platform engineers, or organizations that want contractual uptime and upgrade support from a vendorRecurring provider fees and less direct control over hosting, upgrade timing and data locationVendor management, data processing review and integration oversight, with less in-house hosting work

How to deploy Open edX with Tutor on one server, step by step

This sequence takes a single Linux server from bare access to a running Open edX platform with Tutor, with HTTPS, plugins, backups and a tested restore. Each step ends with a check you can run before moving on.

  1. Prepare the server and DNS records

    Provision a Linux server with enough CPU, memory and disk for the LMS, Studio and their supporting services, then confirm the sizing with your Tutor version's documentation and your expected learner load. Create DNS records for the LMS and Studio hostnames pointing to the server's public address, and open inbound ports 80 and 443 along with SSH from approved networks only. Check that the hostnames resolve from outside your network and that SSH login works with key-based authentication. The step is done when both hostnames resolve to the server and you can log in without a password prompt.

  2. Install Docker and Tutor

    Install Docker Engine and the Docker Compose plugin from the vendor's official repository, add the administrator account to the docker group, and then install Tutor using the method described in the Tutor documentation for your operating system. Tutor is the official Docker-based Open edX distribution, so the server needs only Docker and the Tutor command-line tool for a single-host install. Confirm the installed versions and that Docker can run a test container without root. The step is done when docker run hello-world succeeds and tutor --version returns a version number.

  3. Generate and review the configuration

    Run tutor config save to generate the configuration files, then edit config.yml in the Tutor root directory. Set the LMS and CMS host names, the platform name, the contact and support email addresses, and the language and timezone defaults. Review the generated secrets, which Tutor writes into config.yml and env/, and confirm that these files are readable only by the administrator account and are excluded from any shared repository. Run tutor config save again after each change so the rendered environment is current. The step is done when the rendered configuration shows your hostnames and no placeholder values remain.

  4. Initialize the platform and start services

    Run tutor local init to set up the databases and run the platform's initialization jobs, then start the stack with tutor local start -d. The first run pulls several images and can take a while, so watch the logs with tutor local logs for migration errors rather than assuming success. Check the container status with docker ps and confirm that the MySQL, MongoDB, Redis or Memcached, LMS and CMS containers are running and healthy. The step is done when every expected container reports running and the initialization jobs have exited without errors.

  5. Create the first superuser and verify login

    Create the first administrator with tutor local do createuser --staff --superuser and set a strong password through the prompts. Open the LMS and Studio hostnames in a browser, confirm that both respond over the address you configured, and sign in to the LMS and Studio with the new account. Check that the admin dashboard and Studio course list load, since a page that renders without a session can still hide a broken database connection. The step is done when you can sign in to both services with the superuser and reach an authoring screen in Studio.

  6. Enable plugins through the plugin system and hooks

    Install plugins with tutor plugins install and enable them with tutor plugins enable, then run tutor config save and restart the stack. Tutor plugins use hooks to change configuration, images and the rendered templates, so read each plugin's documentation to see which hooks it sets and which Open edX release it supports. Keep a record of every enabled plugin and its version, because plugins can break when the platform is upgraded. Review plugin source before enabling it, since it runs inside your deployment. The step is done when tutor plugins list shows the expected plugins enabled and the LMS and Studio still load after the restart.

  7. Terminate HTTPS and schedule certificate renewal

    Put TLS in front of the LMS and Studio, either by configuring the certificates Tutor supports for your setup or by terminating HTTPS at a reverse proxy on the same host, and force redirects from HTTP to HTTPS. Confirm the certificate chain and expiry date with an external tool, and set up an automated renewal job that reloads the proxy after each renewal. Check whether your certificate authority and tooling need ports 80 or 443 open during renewal. The step is done when both hostnames serve a valid certificate, HTTP redirects to HTTPS, and a dry-run renewal completes without error.

  8. Schedule backups and run a restore test

    Schedule regular backups of the MySQL and MongoDB data, the media and uploaded files, and the Tutor configuration directory, using the backup approach documented for your Tutor version and your storage policy. Store copies off the server, encrypt them, and set a retention period that your compliance and data protection teams have approved. Then restore the backup into a separate test environment and sign in to confirm that courses, learner accounts and enrollments are present. A backup that has never been restored is unproven, so repeat this test after each configuration or version change. The step is done when a restored copy in a separate environment shows the same courses and users as the source.

Where Tutor plugins stop and custom code starts

Tutor's plugin and hooks system is the first place to add behavior without forking the platform. The hooks system is licensed under Apache 2.0, and plugins let you add services, configuration settings and small patches to the Open edX images that Tutor builds. Before you write any code, check whether the need can be met by a plugin that changes settings or adds a service, because that route keeps your changes in a documented extension point. Custom code belongs in your own repository only when the plugin route cannot express the change, such as a patch to LMS behavior that no hook reaches. Each such decision should be recorded, with the reason, so the next person can judge whether it still applies.

Every plugin and patch is another item to retest at each release. Open edX supports only the latest named release, so a plugin that works on today's release may break when you move to the next one, and you will need to move on that schedule rather than waiting for a crisis. A patch that touches platform internals is the highest risk, because it can fail silently after an upgrade. Confirm with your Tutor version and the plugin authors which releases each plugin supports, and ask whether a plugin is maintained by a community or a single individual. Budget test time for each plugin in your upgrade plan, not only for the first install.

Keep the full plugin list, with pinned versions, in version control alongside your Tutor config.yml and any plugin configuration files. Pin the Tutor version and each plugin version, and change them only through a reviewed commit that is tested on a staging copy first. Record which custom patches exist and why, so they can be removed when a plugin or platform release makes them unnecessary. For deeper work on writing custom plugins, managing compatibility across releases and planning upgrades, see the sibling topics on Open edX customization and Open edX upgrades and support in this series. Use the Tutor documentation to confirm plugin and hook behavior for your installed version.

How the Tutor install differs by environment

A single node is the simplest Tutor target: one Linux host, typically a cloud VM or a data center machine, runs the Docker containers for the LMS, Studio, the database and supporting services. Tutor pulls its images from public registries by default, so the first thing to confirm is that the host can reach those registries or that your team has an approved internal copy. DNS usually points one or two public hostnames at the single address, and TLS is terminated on that host or in a reverse proxy in front of it. Backups are commonly written to a separate disk, object store or backup service, because the database and media volumes live on the same machine that can fail.

  • Image sourcing: Confirm that the host can pull the Open edX and dependency images, or that you have pinned copies in an approved registry.
  • DNS and TLS: Point the LMS and Studio hostnames at the host and plan the certificate process before go-live.
  • Backup target: Send database dumps and media copies off the host, since one machine holds all state.
  • Access path: Restrict SSH and Docker management to named administrators and a bastion or VPN path.
  • Ceiling: A single Docker host has finite capacity, so check learner concurrency against the server size with your team before committing.

Confirm with your hosting provider and security team how the host is patched, monitored and recovered if it fails.

Traffic and data flow through a single-host Tutor install

A learner or admin request starts in the browser, crosses the internet boundary into the TLS reverse proxy on the Tutor host, and is routed to the LMS or Studio container. Both services read and write their data in MySQL, MongoDB and Memcached, which all stay on the same host. A backup job copies that data out to storage outside the server, so the second trust boundary is the one to check: confirm the backup copy is encrypted, access-controlled and restorable before go-live.

Requests enter through one TLS proxy, and backups leave the host through a separate boundary.

Securing the Tutor host, HTTPS and secrets

A single Tutor server holds the LMS, Studio, the database and every learner session, so its perimeter matters as much as the platform settings. The cards below cover the controls that sit around Tutor itself: certificates, admin reachability, secret handling, host access and plugin review. Django-level settings and cookie flags are covered in the security hardening topic.

TLS certificates and renewal

Tutor expects public hostnames for the LMS, Studio and any preview or admin domains, and each needs a valid certificate. Confirm how your chosen approach issues and renews certificates, whether that is a reverse proxy, a load balancer or an ACME client, and who owns the renewal alert. Test renewal on a staging host before you rely on it, because an expired certificate on Studio blocks course authors while learners may still be able to log in. Record which hostnames each certificate covers.

Tutor docs

Restricting Studio and admin access

Studio and the Django admin should not be reachable from the open internet unless your policy requires it. Consider restricting them by network range, VPN or an identity-aware proxy, while keeping the learner-facing LMS public. Confirm which Tutor hostname serves Studio and that your firewall or proxy rules apply to it. Review the list of accounts with staff and superuser rights each quarter and remove access that no longer has an owner.

Keeping secrets out of public repositories

Tutor stores generated configuration and secrets in its configuration file, typically under the Tutor root directory, and those values include database and platform credentials. Keep that file out of version control, or store the environment-specific values in a secrets manager and regenerate the file on the host. Rotate credentials after any staff member with server access leaves, and confirm backups of the configuration are encrypted and access-controlled.

Limiting SSH and Docker host access

Anyone who can run Docker commands on the host can read container environments and reach the database volumes, so Docker group membership is effectively root access. Use named accounts with key-based SSH, disable password login, and restrict the Docker group to the people who run Tutor. Confirm that the host firewall exposes only the ports the proxy needs, and log administrative sessions centrally.

Reviewing plugin code before it runs

Tutor plugins execute code during configuration and can add services, change settings and inject templates, so an unreviewed plugin is an unreviewed administrator. Before installing one, check its source, its maintainer and its license, and pin the exact version. Read the hooks it uses and any files it writes into the build, then test the change in a staging environment. Repeat the review whenever you upgrade the plugin or Tutor.

Tutor plugin docs

How to test that the install works and fails safely

Write down the expected result for every check below before the first learner touches the site, and keep the list with the install record. A test without a written expectation tends to pass by default, and a go-live decision needs evidence that the platform behaved as designed. Start with the functional path that a learner and a course author will actually use: log in to the LMS and to Studio with separate accounts, create a short course in Studio, add one unit with a video or text component, publish it, then enroll a test learner and confirm the course appears on the learner dashboard. Upload a file to a course asset or image field and confirm it renders for the learner. Trigger a password reset or enrollment email and confirm it arrives, checking the sending domain and any spam-filter result, since mail delivery is often configured separately from Tutor itself.

Next, test how the single host fails. Stop one service container, such as the LMS or the MySQL container, and confirm the service returns after you restart the stack and that the learner session and course content are intact. Then restore a recent backup onto a separate host, not the production server, and confirm the course content, learner records and media files all come back. A backup that has never been restored is an assumption, so record how long the restore took and which steps needed manual work. Finally, confirm that the HTTPS certificate renews automatically before its expiry date. Check the renewal log and the certificate dates, and run a dry run of the renewal process if your setup supports it. Confirm the exact renewal method and its behavior with your Tutor version and hosting setup in the Tutor documentation before you rely on it.

What to monitor, back up, upgrade and document after go-live

This table lists the recurring operational tasks for a single-host Tutor deployment, with what each one protects and what to watch for. Read it as a starting runbook: each row names a task, the failure it prevents and the evidence you should be able to show. The main takeaway is that a backup only counts once a restore has been tested on a separate host.

TaskWhat to checkWhy it matters for Tutor
Host and container healthContainer status, restart counts, CPU, memory and load on the Docker host for LMS, CMS, workers and databasesA single Docker host has no failover, so a crashed container or exhausted memory takes the whole platform down
Disk growth for databases and mediaFree space on the volumes holding MySQL, MongoDB, uploaded course media and log output, with a growth trendDatabases and course assets grow with enrollments and uploads, and a full disk can corrupt writes or stop the LMS
Certificate expiryExpiry dates of the TLS certificate served for the LMS, Studio and any preview or CMS domains, plus renewal job logsAn expired certificate blocks learners and authors at the browser before any application code runs
Backup successScheduled backup jobs finish without errors, produce files of expected size and are copied off the hostA backup that silently fails leaves no recovery point, and the failure often shows only when someone needs a restore
Restore testsA full restore of databases, media and configuration onto a separate host, followed by a login, course load and test enrollmentA restore test is the only proof that a backup works. Until one succeeds, treat the backup as unverified
Backup scopeDatabases, uploaded media, the Tutor configuration and the secrets it holds, and any custom plugin or theme sourceMissing any one of these leaves a restored platform that cannot start, lacks course assets or cannot decrypt its own settings
Tutor and platform upgradesInstalled Tutor version, the Open edX named release it deploys, and the release notes for the next planned upgradeOpen edX supports only the latest named release, so falling behind leaves the platform without upstream security fixes
Plugin and theme updatesVersion pins for Tutor plugins, custom XBlocks and theme packages, checked against the target release before each upgradePlugins and custom blocks often break on a new release, so each upgrade needs a test run on a staging copy first
RunbookWritten steps for restart, restore, certificate renewal, upgrade and rollback, kept with the configuration in version controlThe runbook lets a second operator recover the platform when the person who built it is unavailable

Questions teams ask before deploying Open edX with Tutor

Can our team deploy Open edX with Tutor ourselves?

Yes, a team with Linux, Docker and DNS experience can deploy a single-server Tutor installation, and the edx-platform maintainers recommend Tutor over a bare-metal install because the bare-metal route is complex and receives limited community support. The harder part is not the first install but the work around it: configuring the domain and HTTPS, choosing identity and data settings, setting up backups, and then keeping the platform on a supported release. Tutor is licensed under the AGPL with its plugin system under Apache 2.0, so the software cost is zero, but your staff time, operations capacity and the knowledge needed to troubleshoot are the real costs. Ask yourself whether someone on the team can own the platform for its whole life, including release upgrades.

What does our team need to provide for a Tutor deployment?

Plan for four groups of input before the server is built:

  • Infrastructure: a Linux host with enough resources for your learner numbers, Docker, a domain name and DNS control, and outbound access for updates.
  • Identity: the owner of your staff and learner directories, who decides how logins work and which identity provider, such as SAML 2.0, Shibboleth or an OAuth2 provider, will be connected.
  • Data: the owner of course content, learner records, retention rules and backup policy, who must approve where data lives.
  • Operations: a named person for backups, monitoring, security patching and upgrades after go-live.

Missing any of these usually delays the project more than the technical installation does.

How does effort grow with plugins, integrations and environments?

Effort grows mainly with the number of decisions that touch other systems and with each additional environment. A bare installation with default settings is the smallest task. Each Tutor plugin adds configuration, testing and an upgrade check, and custom XBlocks or frontend changes add code that must be retested on every named release. Identity integration, analytics, LTI tools and media storage each require their own setup, credentials and verification. Running separate development, staging and production environments multiplies the work because configuration must be kept consistent across them. Ask any provider to list each plugin, integration and environment in the written scope, since that list is the main driver of both duration and cost.

When does a single Docker host stop being enough?

A single Docker host is sufficient while the LMS, Studio, workers, database and cache fit within the host's CPU, memory and disk, and while a short outage during maintenance is acceptable. It becomes insufficient when learner concurrency during peaks slows the LMS, when Studio authors and grading jobs compete for the same resources, when you need redundancy so one failure does not stop teaching, or when your availability commitments cannot tolerate planned downtime. Load testing with realistic course activity, not just page counts, is the reliable way to find the limit. When those signals appear, the usual next step is a multi-node setup or Kubernetes with tutor k8s, a shared cache, and managed or replicated databases, which is a separate and larger project.

How do upgrades affect a single Tutor host?

Upgrades on a single host carry the most risk because the same machine runs everything, so a failed upgrade can take down the whole platform. Open edX states that only the latest named release is supported and that it cannot support more than one release at a time, so you will need to move through named releases over time rather than staying on an old one. Verawood is the current named release, with Willow and Xylon listed for December 2026 and June 2027. Each upgrade should start with a full backup, a test copy of the platform, a check of every plugin and custom XBlock against the target release, and a rollback plan. Plan for upgrades as a recurring cost, not a one-time event.

What should we ask a partner for in a fixed-scope quote?

A fixed-scope quote should state the work in writing before it starts, including the environments to be built, the Tutor version and plugins to be installed, the identity, analytics and LTI integrations in scope, and the HTTPS and backup approach. It should list the deliverables, such as runbooks, configuration files, backup restore tests and a handover session, along with the acceptance criteria and what happens if scope changes. Ask which items are one-time and which recur, such as upgrades, monitoring and support retainers, and how each is priced. DeployOpen agrees scope, deliverables and timelines in writing before work starts and does not publish a price list, so a quote follows from the written scope.

Does running Open edX on our own server create compliance obligations?

Self-hosting gives your organization direct control over where learner data is stored and who can access it, which compliance teams usually want to review. Your obligations depend on your sector and jurisdiction, and they apply to the server, backups, logs and identity settings you choose. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications, which only independent auditors and certification bodies provide. Ask your compliance lead which controls the deployment must demonstrate before the design is fixed, because retrofitting logging, access reviews and backup evidence is harder than building them in.

How DeployOpen scopes, builds and hands over a Tutor deployment

DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Open edX on Tutor, that means agreeing the single-server or multi-host layout, the plugins and identity settings, and the backup and upgrade routine in writing before any server is built.

How we scope

  • Confirm where the server runs, who owns the domain, and how many learners and courses you expect at launch.
  • List the plugins, themes, identity providers and XBlocks the deployment needs, with owners for each.
  • Agree in writing which Tutor version and Open edX named release the deployment will target and who handles later upgrades.

How we build

  • Install Tutor on the agreed host, set configuration values and keep secrets out of shared files.
  • Configure HTTPS certificates, the mail service, and backups to storage you control, then test a restore.
  • Test each plugin and custom block on a staging instance before it reaches the live learner site.

How we hand over

  • Deliver a runbook covering the server layout, configuration files, plugin list, and step-by-step backup and restore procedures.
  • Walk your platform and course operations teams through daily checks, log locations and the upgrade process.
  • Document the point at which a single Docker host should be reviewed against your learner numbers and availability needs.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer, scoped separately from the build.
  • Retest plugins and custom work when a Tutor or Open edX release changes, before your upgrade window.
  • Confirm with us during scoping which support hours, response channels and escalation paths your retainer includes.

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.