andamio

Your VPS, secure by default. Your apps, with a git push.

andamio makes your server production-ready (own user, SSH, firewall, VPN, backups) and deploys each app isolated, in any language, with its database, its encrypted secrets and HTTPS.

Install it on your machine (Linux, macOS or WSL)

$ curl -fsSL https://raw.githubusercontent.com/andamio-me/andamio/main/install.sh | sh
Register an app and ship it
$ andamio app create shop --repo you/shop --public --db
✓Python Dockerfile (no root), database, secrets and deploy key
$ git push
✓secrets, tests, scan, image and zero-downtime deploy
→ https://shop.yourdomain.com

From an empty VPS to your first app

Four commands, once. Each one asks what it needs and is safe to repeat: it resumes where it stopped.

  1. Your machine

    andamio setup

    Installs git, gh, sops, age and Ansible, and creates your private copy of andamio.

  2. Your configuration

    andamio init

    Guided questions: domain, user, HTTPS. Secrets stay encrypted in your repo.

  3. Your server

    andamio server

    Own user, SSH on another port, firewall, VPN, automatic patches and the platform.

  4. Your app

    andamio app create

    From a repo of yours, in any language. If it has no Dockerfile, it suggests one.

Just want to lock down your VPS, without the platform? andamio security gives you your key, your user, password-less SSH on another port, a firewall and fail2ban. No GitHub account; the rest, whenever you want.

What your server looks like

A single VPS. Public traffic comes in over HTTPS; private traffic, only through your VPN. Databases never leave their internal network.

Entry

  • Internetanyone reaches the public apps
  • WireGuardyour devices, through a tunnel, to the private ones
  • Traefikautomatic HTTPS with Let's Encrypt
  • GitHub Actionstests each app and deploys it

Public

  • shopweb + worker
  • apifor your frontend

VPN only

  • panelyour internal tool
  • Grafanaoptional

Internal network

  • PostgreSQLa database per app
  • Redisa user per app

Across the server

  • Observabilitymetrics; logs and alerts if you want
  • Daily backupsencrypted, off the server
  • OperationsAnsible and encrypted secrets

An example with three apps. You choose which are public and which are VPN-only.

What happens on a git push

Seven steps, in order. If one fails, the next ones don't happen and what was already in production stays there.

  1. Secrets

    Looks for keys and tokens that slipped into the code. If there's one, it stops.

  2. Tests

    Builds the test stage of your Dockerfile, in whatever language.

  3. Image and scan

    Builds the image and checks it against known vulnerabilities before publishing it.

  4. Its own key

    Reaches your server with a key that can only deploy that app.

  5. Migrations

    If your app has them, the database is updated before what runs changes.

  6. New version alongside

    Starts next to the current one and has to pass its health check.

  7. The switch

    Only then is the old one stopped. If something failed, the old one keeps running and tells you why.

What your apps look like

Three common shapes. Each app is a subdomain of yours, with its certificate, its database and its permissions.

  • A full app

    https://shop.yourdomain.com

    A public web app with its own PostgreSQL and Redis. No other app can read its data, and its database isn't exposed to the internet.

    Public, over HTTPS.

    $ andamio app create shop --repo you/shop --public --db --redis
    visitorshopits PostgreSQLits Redis
  • Backend only

    https://api.yourdomain.com

    Your frontend stays on Vercel (or wherever you like) and talks to your API. Traefik answers CORS only for that origin; other sites are blocked.

    Public, only for your frontend.

    $ andamio app create api --repo you/backend --public --db --host api --cors https://shop.vercel.app
    frontendVercelapiits PostgreSQLCORS: your frontend only
  • An internal tool

    https://panel.yourdomain.com

    Without --public, the app only answers inside your VPN. From the internet it doesn't even load: ideal for dashboards, admins and team tools.

    VPN only.

    $ andamio app create panel --repo you/panel
    your devicesWireGuardpanelinternetdoesn't load

Where each app lives

Two DNS records, once: yourdomain.com and *.yourdomain.com. From then on, every new app already points to your server.

When you create itIts address
app create blogblog.yourdomain.com
--host apiapi.yourdomain.com
--host @yourdomain.com
--domain app.yourcompany.comapp.yourcompany.com, too

Each address with its own Let's Encrypt certificate, renewed on its own.

When something fails

A broken deploy doesn't take your app down, and the message tells you what to fix. This is what it really looks like:

  1. Something fails

    The new version of shop doesn't start: it's missing a variable. It never gets a visitor.

  2. It tells you why

    On top of the GitHub run, with the last logs below:

    GitHub Actions · Deploy

    The new version didn't become healthy. The previous version keeps running.

    Variable STRIPE_KEY is missing. Add it: andamio app secret set shop STRIPE_KEY

  3. You fix it

    You add the variable (encrypted, never in plain text) and andamio retries that deploy:

    $ andamio app secret set shop STRIPE_KEY

    shop's last deploy failed. Retry it now, with the changes? [Y/n]

  4. Or you go back

    If the bug was already in production, the previous version is back with one command:

    $ andamio app rollback shop

And if the whole server disappears: everything is described in Ansible, and your backups come with a restore test that runs before they count as good.

Secure by default

Your server and every new app are born this way, without asking: private things aren't visible from the internet and public ones have no more permissions than they need.

  1. Minimal surface

    A firewall that only lets in HTTPS and the VPN, key-only SSH on another port, no root login and security patches that install themselves.

  2. Private stays private

    Your dashboards and tools only answer inside your WireGuard tunnel. From the internet they don't even load.

  3. Each app, its own permissions

    Its own user in the database and in Redis, which only sees its own tables and keys. If one is compromised, it can't read another's data.

  4. Encrypted secrets

    Passwords and tokens live encrypted in your repo. The key to decrypt them is on your machine, not on the server.

  5. Keys that only deploy

    The key GitHub uses to reach your server can only deploy its app. It doesn't open a shell.

  6. Tested backups

    Daily, encrypted and off the server (B2 or S3). andamio restores a test one to prove they work.

Why andamio

What you save compared to the usual options. It isn't for everyone: if you don't want your own server, a managed PaaS is simpler.

Before: Paying per use on a managed PaaS

With andamio: Your VPS, at a fixed cost

Your apps on your server, with your data

You pay for a VPS, not per app or per GB. Your data lives on your server and nothing ties you to a vendor: it's Docker, Traefik and Ansible, in a repo you own.

Before: One more web panel to protect

With andamio: Your terminal, git and a VPN

Nothing new exposed to the internet

andamio doesn't add a public admin panel. Everything is managed from your terminal and your repo, and private things only answer through the VPN.

Before: Hardening the server yourself

With andamio: Secure from the first command

The boring part, already done

SSH, firewall, patches, VPN, tested backups and a security check (andamio status) that tells you what to fix and how.

The panel, in its own window

The desktop app opens the andamio panel without a terminal and updates itself, checking each version's signature. It uses the andamio on your machine: install that first.

  • Windows

    With andamio inside WSL. SmartScreen warns the first time: “More info” → “Run anyway”.

    Download
  • macOS

    Apple Silicon and Intel. The first time: System Settings → Privacy & Security → “Open Anyway”.

    Download
  • Linux

    Updates itself (chmod +x to open it). Rather have a package? The .deb is in the release.

    Download
All versions →

Open source

MIT. Read the code before trusting it, use it and improve it. Every important decision is written down in the repo, with its context.

Status: tested end to end on fresh VPSs. Supports GitHub today; GitLab is on the roadmap.