For BookStack
BookStack on Edge, docs people actually update
Free to sign up. No egress fees on any product.
Why BookStack on Edge
Confluence-style docs without the per-user bill
Books, chapters, pages
A three-level structure that matches how teams really organise documentation. WYSIWYG or Markdown, your call.Images in Edge Storage
Set STORAGE_TYPE=s3 and uploads go to a bucket. Serve them from the CDN by pointing STORAGE_URL at a storage-origin domain.SAML, OIDC and LDAP
Microsoft Entra, Google Workspace, Okta or Keycloak, all built in. No paid SSO tier to upgrade to.Per-page permissions
Role-based access at shelf, book, chapter and page level, for when finance and engineering share one wiki.Search included
Built-in full-text search across every book and page, backed by the same MySQL database.Flat, not per-seat
Confluence charges per user. BookStack on Edge is one small VM, whether ten or a thousand people read it.
Reference architecture
How BookStack maps to Edge
Readers and editors
browsers, SSO sign-in
docs.acme.com
caches /dist CSS, JS and fonts
img.docs.acme.com
storage origin for images
bookstack · Apache
PHP 8.3 · s-2vcpu-4gb
mysql 8
books, pages, search index
bookstack-images
uploads and nightly mysqldump
- Compute
Runs BookStack, Apache, PHP 8.3 and MySQL, installed by BookStack's own Ubuntu script.
- Storage
Holds image uploads (STORAGE_TYPE=s3) and nightly mysqldump backups.
- CDN
Terminates TLS, caches static assets and serves images straight from the bucket.
- DNS
Anycast DNS for docs.acme.com and the image subdomain.
- Shield
Scores registration and login posts before they reach Laravel.
- Assist
One script tag in Custom HTML Head Content gives readers answers grounded in your books.
Deploy
BookStack live in five steps
- 01
Create the VM and a bucket
The hardened-ssh library script disables password logins and turns on fail2ban and UFW before you connect.
shell$ edge compute create --name docs --size s-2vcpu-4gb \ --image ubuntu-24 --region london --script hardened-ssh $ edge storage create bookstack-images - 02
Run the official installer
It installs Apache, PHP 8.3 and MySQL, creates the database and asks for your domain.
shell$ ssh root@<vm-ip> $ BASE=https://raw.githubusercontent.com/BookStackApp/devops/main $ curl -sLO $BASE/scripts/installation-ubuntu-24.04.sh $ chmod +x installation-ubuntu-24.04.sh $ ./installation-ubuntu-24.04.sh - 03
Move images to Edge Storage
New uploads go straight to the bucket. STORAGE_URL makes BookStack link images through the CDN domain you add in step five.
/var/www/bookstack/.envAPP_URL=https://docs.acme.com STORAGE_TYPE=s3 STORAGE_S3_KEY=<edge-access-key> STORAGE_S3_SECRET=<edge-secret-key> STORAGE_S3_BUCKET=bookstack-images STORAGE_S3_REGION=us-east-1 STORAGE_S3_ENDPOINT=https://storage.edge.network STORAGE_URL=https://img.docs.acme.com - 04
Turn on single sign-on
OIDC shown with Microsoft Entra. SAML 2.0 and LDAP work the same way, set in the same file.
/var/www/bookstack/.envAUTH_METHOD=oidc OIDC_NAME="Microsoft" OIDC_DISPLAY_NAME_CLAIMS=name OIDC_CLIENT_ID=<client-id> OIDC_CLIENT_SECRET=<client-secret> OIDC_ISSUER=https://login.microsoftonline.com/<tenant-id>/v2.0 OIDC_ISSUER_DISCOVER=true - 05
Put the CDN in front
One deployment, two domains: the app from the VM and images straight from the bucket.
shell$ edge cdn create --name docs $ edge cdn domains add cdn-a1b2c3 \ --domain docs.acme.com --origin https://<vm-ip> $ edge cdn domains add cdn-a1b2c3 \ --domain img.docs.acme.com \ --origin-type storage --storage-bucket bookstack-images
Prefer to hand it off? Give the job to your AI agent or have our engineers do it.
What it costs
Company docs for the price of one small VM
- One price for every reader and editor
- SSO and per-page permissions at no extra cost
- Small team? The $9.62 Starter size is enough
- Hourly billing, optional hard caps, zero egress
Estimated monthly bill on Edge
Company docs · 200 readers · 25 GB of images
- Compute$19.24Standard VM · 2 vCPU · 4 GiB · 80 GB NVMe
- Storage$0.3025 GB of images and dumps, first 5 GB free
- CDN$0.10900k requests, first 500k free, then $0.25 per million
- DNS$0.00Zone plus docs and image subdomains
- Egress$0.00
FAQ
BookStack on Edge, answered
How does this compare to Confluence?
How do I set up SSO?
Why doesn't the CDN cache my pages?
How do I back it up?
Can I run several BookStack instances?
Drop-in services
Add these without touching the stack
- Edge ShieldBot protection
POST /siteverify → score: 94Score BookStack's registration and login posts server-side and turn away credential-stuffing bots without a CAPTCHA.
Free for most sites. No puzzles, no widget to style.Explore - Edge AssistAI answers
<script src="…/assist.js">Paste one script tag into Custom HTML Head Content and readers get answers grounded in your books.
Free tier: 250 answered questions a monthExplore
Stand up your docs
Start free. Move off Confluence, or begin with a clean shelf.
Free tiers hard-cap. Nothing bills until you add a card.