Why
This section is Sam’s text, lightly cleaned up from dictation.
This path is more involved than the hosted service
The hosted service needs an account and nothing else. Running your own node means you provision a server, own a domain, keep two secrets safe, take your own backups and run your own upgrades. Nobody does those for you. TinyCloud’s hosted service and free tier stay available. If you want your data and your node under your control, keep reading.The three parts
Sovereignty in TinyCloud is three abilities:- Run your own node on your own server.
- Replicate your data to that node.
- Use your own Ethereum key as your identity.
Run a node
The node is the same Rust binary and image that TinyCloud’s hosted service runs. Its source and container image are public, and the source is licensed under EGPL-1.5. Everything in this section is the personal-node guide in thetinycloud-node repository, deploy/personal-node. A GitHub Actions job runs the same node.sh operations on a clean runner on every change to that guide. That job is the evidence for every step here.
What you need
- An ordinary Linux VPS with Docker Engine and Compose v2,
bash,curl,jq,openssl,tar,sudo, Node.js 22 and npm. - A domain you own, with its A/AAAA record pointing at the VPS. Ports 80 and 443 are free and reachable, so Caddy can get a certificate and serve HTTPS.
- A persistent local disk with room for your live data and a full backup.
- A clone of the
tinycloud-noderepository at the revision that carries the guide. Run every command below from its root.
What this node is, and is not
- It runs one node with local SQLite and local blocks. Caddy terminates HTTPS.
- It uses a digest-pinned published image (1.20.6) and a digest-pinned Caddy (2.10.2). Do not use
latestor any other tag. - There is no hosted billing or quota service in this setup. CI checks that the node reports no quota URL.
- It is not a TEE. You, the server operator, can read its filesystem and its key. The guide makes no attestation claim, and neither does this page. TLS proves your domain to clients; it does not prove the machine.
- The node still depends on DNS and a certificate authority to be reachable over public HTTPS.
Provision and launch
node.example.com with your domain.
initwrites a unique random node key to a privatenode.env(mode0600) inNODE_HOME. It never prints it.check-missing-keymust run beforestart. It proves the node refuses to start with no key, rather than falling back to a shared default.check-versionconfirms the node is running the pinned version, with no hosted quota URL and not inside a TEE.
Stop and restart
stop ends the node’s containers and keeps its data.
Your Ethereum key
In TinyCloud your identity is an Ethereum address. This guide proves the plainest form of it: an externally owned account (EOA), a wallet key you hold, signing directly to your node. Put your wallet’s 32-byte hexadecimal private key (no0x) in its own file, mode 0600, outside NODE_HOME. Then:
seed signs in to your node with that key, creates a space the key owns, writes a key-value object and a SQL row. verify runs after the restart. It checks the exact KV and SQL values and checks that the node’s public identity (its DID) is unchanged. Only the key file’s path is passed on the command line, never the key.
Two keys matter, and they are different:
What CI proves is signing with a private key read from a file. Signing through a browser wallet, a hardware wallet or a contract wallet is not in this guide’s steps.
Back up, and what happens if you lose your node key
Take an offline backup.backup stops the node, archives its whole data directory, encrypts node.env as a separate file, and restarts the node.
verify fails rather than quietly giving you a new identity. A changed key can leave encrypted or sealed state unreadable: if the node key is lost, treat the node and its data as gone. So back up node.env independently of the data, every time you change anything.
If you lose your Ethereum key, nothing in the node backup recovers it. It is not in the backup.
Deleting your data
Today, on a node you run, your data is in thedata directory under your NODE_HOME, on your own disk. You delete it the way you delete any files on your own machine.
A protocol cannot reach into someone else’s hardware: the owner of a machine decides whether the bytes are really gone.