Self-hosted TinaCMS on AWS

TinaCMS adapted to run without its cloud service: content in DynamoDB, media in S3, the site on Amplify.

My part
Everything
Period
2026
With
In use at the Digital Oral History Lab, Institute of Archaeology and Ethnography NAS RA
Live
cmdohlab.org (built on it)
TinaCMS, self-hosted
TinaCMS editor running in self-hosted mode

What it is

A Next.js template with TinaCMS running fully self-hosted on AWS. Editors get a visual editor on the live site; the organisation pays for no CMS subscription and keeps its content in its own account.

The problem

Small organisations and research projects publish a few times a month and cannot justify a monthly CMS subscription. TinaCMS can be self-hosted, but it does not come with an adapter for AWS storage, and its documentation assumes other databases.

My part

Everything: the DynamoDB adapter for the TinaCMS data layer, authentication, media storage, deployment, set-up scripts and documentation.

How it works

  • DynamoDB adapterA data-layer adapter I wrote so that TinaCMS stores and indexes content in AWS DynamoDB.
  • Media in S3Uploads from the editor go to a bucket in the same account.
  • Git as the recordEvery edit made in the CMS is also a commit in the repository, so content has a full history.
  • Deployed on AmplifyNext.js with server rendering; access rules and set-up scripts are part of the template.
  • Pinned versionsDependencies are fixed and the risks of each upgrade are written down, so an update does not break the editor.

Result

Runs a bilingual research website where editors have published hundreds of changes through the CMS without a developer. The AWS free tier covers most of the usage: the infrastructure costs $0–1 a month, against $20–50 a month for a typical CMS subscription.

cmdohlab.org (built on it)

Stack

  • Next.js 14
  • TinaCMS 3
  • TypeScript
  • AWS DynamoDB
  • AWS S3
  • AWS Amplify
  • NextAuth
  • next-intl

A project, an audit or an archive to put in order?

I take on new projects alongside my current roles. Write what you need and we will discuss scope and timing.