Deployment guide

Etherpad

Overview

Etherpad is an open-source, real-time collaborative document editor. Several people can edit the same document at once and see each other's changes instantly. Each author gets colored text, and there is a built-in chat sidebar and a full revision timeslider.

This image installs Etherpad 2.7.3 as a systemd service bound to loopback, behind an nginx reverse proxy on port 80. The database sits on a dedicated Azure data disk, and every VM generates its own admin password on first boot.

What you get:

  • Etherpad 2.7.3 (at /opt/etherpad) with an embedded SQLite database
  • Node.js 22 LTS from the official NodeSource repository
  • nginx on :80 as a reverse proxy to the loopback Etherpad backend, with WebSocket upgrade headers for real-time collaboration over socket.io
  • A per-VM admin password generated on first boot and recorded in a root-only file
  • A dedicated Azure data disk at /var/lib/etherpad for the database (etherpad.db)
  • etherpad.service and nginx.service as systemd units, enabled and active
  • 24/7 SecureAnyCloud support

Prerequisites

You need an active Azure subscription, an SSH key pair, and a VNet and subnet in the target region. Standard_B2ms (2 vCPU / 8 GiB RAM) is a good starting point.

For NSG inbound rules, allow 22/tcp from your management network and 80/tcp. Etherpad serves plain HTTP on port 80. For production, terminate TLS in front of it with your own domain.

Step 1 - Deploy from the Azure Marketplace

Sign in to the Azure Portal. Choose Create a resource, search the Marketplace for Etherpad by SecureAnyCloud, and select Create.

On Basics, pick your subscription, resource group, region and size. Under Administrator account, choose SSH public key and paste your key. Under Inbound port rules, allow SSH (22) and HTTP (80).

Review the dedicated data disk on the Disks tab. Then select Review + create and Create.

Step 2 - Deploy from the Azure CLI

# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn sac1647283583153:etherpad-ubuntu-24-04:default:latest
az vm create \
  --resource-group <your-rg> \
  --name etherpad \
  --image sac1647283583153:etherpad-ubuntu-24-04:default:latest \
  --size Standard_B2ms \
  --admin-username azureuser \
  --ssh-key-values ~/.ssh/id_ed25519.pub \
  --vnet-name <your-vnet> --subnet <your-subnet> \
  --public-ip-sku Standard
az vm open-port --resource-group <your-rg> --name etherpad --port 80 --priority 1010

Step 3 - Connect to your VM

ssh azureuser@<vm-public-ip>

Step 4 - Confirm the services are running

systemctl is-active etherpad.service nginx.service

Both services report active. On first boot, the image generates a per-VM admin password and mounts the data disk at /var/lib/etherpad.

findmnt /var/lib/etherpad

The mount is a separate Azure data disk. It is captured into the image and re-provisioned on every VM.

Step 5 - Retrieve your admin password

Your VM generates a unique admin password on first boot and writes it to a root-only file:

sudo cat /root/etherpad-credentials.txt

The file contains etherpad.admin.user (admin) and etherpad.admin.pass, along with the editor and admin URLs. Store the password somewhere safe.

Step 6 - Confirm the editor is serving

Etherpad answers on port 80. nginx proxies to the loopback backend on 9001:

curl -s -o /dev/null -w '%{http_code}\n' http://localhost/

It returns 200, which is the pad index page. You can also confirm the installed version:

node -e "console.log('Etherpad', require('/opt/etherpad/src/package.json').version)"

It prints Etherpad 2.7.3.

Step 7 - Open a pad and collaborate

Browse to http://<vm-public-ip>/. You land on a new pad. Anyone you share the pad URL with can edit the same document in real time. Changes appear instantly, and each author's text is highlighted in their own color.

The toolbar offers formatting, an authorship view, the revision timeslider, and import and export.

Open the Chat panel at the bottom right of any pad to message everyone editing with you, without leaving the document.

To create a named pad, append a name to the URL, for example http://<vm-public-ip>/p/team-standup. Everyone who opens that link joins the same live document.

Step 8 - Open the admin dashboard

Browse to http://<vm-public-ip>/admin/. The dashboard prompts for the admin credentials from Step 5 (username admin).

After you sign in, you can install plugins, edit the live settings.json, manage pads, configure communication, and view troubleshooting information.

Step 9 - Verify admin authentication from the command line

HTTP Basic authentication protects the admin area at /admin-auth/. It rejects an unauthenticated request and a wrong password, and accepts the per-VM admin password. Read the password into a variable, then test all three cases:

PW=$(sudo grep '^etherpad.admin.pass=' /root/etherpad-credentials.txt | cut -d= -f2-)
curl -s -o /dev/null -w '%{http_code}\n' http://localhost/admin-auth/
curl -s -o /dev/null -w '%{http_code}\n' -u "admin:$PW" http://localhost/admin-auth/
curl -s -o /dev/null -w '%{http_code}\n' -u "admin:wrong-password" http://localhost/admin-auth/

The three responses are 401 (unauthenticated), 200 (correct password) and 401 (wrong password).

Step 10 - Confirm data lives on the dedicated disk

Etherpad stores its database on the dedicated Azure data disk. The database survives OS changes, and you can resize the disk independently:

sudo ls -la /var/lib/etherpad/etherpad.db

The SQLite database file (etherpad.db) lives on the data disk mounted at /var/lib/etherpad. The disk is captured into the image and re-provisioned on every VM.

Working with Etherpad

  • Pads: every URL under /p/<name> is its own live document with a shareable link, colored authorship, chat and a revision timeslider (the clock icon in the toolbar).
  • API: Etherpad exposes an HTTP API for creating pads, setting text, and managing groups and sessions programmatically. The API key is at /opt/etherpad/APIKEY.txt and is rotated per VM on first boot.
  • Plugins: install community plugins from the admin Plugin manager. Examples include PDF export, authentication backends and themes.

See the Etherpad documentation for the API reference, plugins and configuration options.

Maintenance

  • Admin password: the per-VM password is in /root/etherpad-credentials.txt. To change it, edit users.admin.password in /opt/etherpad/settings.json, then run sudo systemctl restart etherpad.
  • Settings: the live configuration is /opt/etherpad/settings.json. Restart the service after edits.
  • Data: the SQLite database lives at /var/lib/etherpad/etherpad.db. Snapshot the /var/lib/etherpad data disk to back it up.
  • TLS: Etherpad serves plain HTTP on port 80. For production, front it with TLS (for example with certbot) and your own domain.
  • Upgrades: pull a newer Etherpad tag into /opt/etherpad. Re-run bin/installDeps.sh and pnpm run build:etherpad, then run sudo systemctl restart etherpad.
  • Security patches: unattended-upgrades stays enabled, so the OS keeps receiving security updates automatically.

Support

SecureAnyCloud provides 24/7 expert support for this image. Contact sales@secureanycloud.com.

Deploy on Azure

Launch Etherpad on Ubuntu 24.04 LTS on Azure with 24/7 support from SecureAnyCloud.

View this image

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com

Deploy on Azure