The project model

How PodStack will organise your apps: four levels from the platform down to the single app, clear rules for who may talk to whom, and addresses that read like a path.

Addresses that read like a path

Planned

Read from right to left, every address follows the same path as the interface: domain, area, organisation, project, app. It never changes, not even when a project moves to another cluster.

main · App

The environment that answers – main for production, test for testing. Every app has its own fixed address; your own domains point to it via CNAME. A component only gets its own address if you want it, otherwise it uses a path such as /api.

  • main.shop.northwind.project.example.net
  • test.shop.northwind.project.example.net
  • api-main.shop.northwind.project.example.net

shop · Project

Brings the apps together; all apps of a project live in the same cluster. Without the app part, the address leads to main. Each project gets one wildcard certificate for all its apps.

  • shop.northwind.project.example.net
  • *.shop.northwind.project.example.net

northwind · Organisation

Your organisation's identifier. It never changes and separates you from everyone else – including cookies and certificate limits. Clusters, VPN and servers carry it too.

  • main.shop.northwind.project.example.net
  • prod.northwind.cluster.example.net

project · Area

Says what kind of address it is: project for apps, cluster for the healthy edge servers of a cluster, vpn for the VPN entry and node for a single server.

  • prod.northwind.cluster.example.net
  • prod.northwind.vpn.example.net
  • mgmt-01.prod.northwind.node.example.net

example.net · Your app domain

The domain of your installation for apps – kept apart from the management domain. Inside the cluster the same place is called podstack.internal; databases are only reachable there.

  • main.shop.northwind.project.example.net
  • db.main.shop.northwind.project.podstack.internal

Four kinds of domain

PodStack strictly separates what a domain is for. That way an app never gets near the management sign-in, and data stays in the internal network.

  • Management domain

    admin.example.com

    The address of the PodStack interface. It is kept apart from all apps so that no app gets near the management sign-in or cookies – reachable only through the VPN if you want.

  • App domain

    example.net

    Your installation's domain for apps. Every app automatically gets a fixed address under it that never changes – not even when it moves to another cluster.

  • Your own domains

    www.northwind.example

    Your domains point to an app's fixed address via CNAME. You can have as many as you like and move them to another app at any time.

  • Internal domain

    podstack.internal

    Reachable only inside the cluster and through the VPN, never from the internet. Databases and other services with data live here. The name before the fixed ending .internal is your choice.

Four levels inside the platform

Every level lies completely inside the one above. A service sits on the lowest level that covers all of its users.

PodStackPlatform

The whole installation: management, Store and all organisations with their clusters.

1Organisation

Services shared by all projects of the organisation – one sign-in and one account for every app, in the same cluster as the projects that use them.

  • Single sign-on
  • Mail relay
  • Monitoring and logs
  • Container registry
2Cluster

Standard tools without customer data, run once per cluster for everyone in it. Saves resources and keeps nothing of yours.

  • Virus scanner
  • Document conversion
  • Text recognition
3Project

The bracket around its apps, always completely in one cluster. Holds the services that production and test share.

  • Image service
  • Search index
  • Headless browser
4Production environmentApp

Components

  • Frontend
  • Backend
  • Worker

Services with data

  • PostgreSQL
  • Redis
  • Bucket
4Test environmentApp

Components

  • Frontend
  • Backend

Services with data

  • PostgreSQL
  • Redis
  • Bucket

The application itself. It runs in environments such as production and test, each with its own namespace, components and data – test never touches production data.

The model is decided; projects, environments and apps are built (plan 2) and are being tried out with our own first apps. The example uses the fictional company Northwind and its online shop.

How it all fits together

Each level contains the next.

  1. PodStackPlatform
  2. 1Organisation
  3. 2Cluster
  4. 3Project
  5. 4App

Connections and releases

Everything is blocked by default. What an app needs is allowed on purpose – and every exception is a deliberate release for a target and port.

InternetmainwebdbtestwebdbProject servicemainwebdbSSOmainmain12345678910Organisation · northwindCluster · eu-1Project · shopProject · blogCluster · eu-2Organisation · fabrikamCluster · eu-3InternetmainwebdbtestwebdbProject servicemainwebdbSSOmainmain12345678910Organisation · northwindCluster · eu-1Project · shopProject · blogCluster · eu-2Organisation · fabrikamCluster · eu-3
AllowedWith releaseBlocked
From → toRule
1Inside one app Components and their data services talk freely.Allowed
2App → service of its project Allowed – that is what the project service is for.Allowed
3Project service → app Only with a release.With release
4Project → organisation or cluster Through a connection you set up, only in the same cluster.With release
5App ↔ app (test ↔ main) Blocked; a release for one target and port is possible.Blocked
6Project ↔ project Only with a release, only in the same cluster.With release
7Cluster ↔ cluster Never directly – only through the public HTTPS address.Blocked
8Organisation ↔ organisation Never – organisations are completely separated from each other.Blocked
9Internet → app Only through the public address of the app or one of its components.Allowed
10App → internet Only with a release for target and port, for example for an API or an outgoing VPN tunnel.With release

Should production and test share a database on purpose, it becomes a project service – and PodStack shows a permanent notice that both share data.

All kinds of address at a glance

WhatPublic addressInternal address
App (fixed, target for your own domains)main.shop.northwind.project.example.netmain.shop.northwind.project.podstack.internal
Component with its own address (only if wanted, otherwise a path such as /api)api-main.shop.northwind.project.example.netapi.main.shop.northwind.project.podstack.internal
Database inside the cluster (within the app simply “db”)never publicdb.main.shop.northwind.project.podstack.internal
Cluster (all healthy edge servers)prod.northwind.cluster.example.net–
Server (public only if needed)mgmt-01.prod.northwind.node.example.netmgmt-01.prod.northwind.node.podstack.internal
Your own domainwww.northwind.example →main.shop.northwind.project.example.net–

Databases stay private

Databases and other services with data are never public. You reach them only through the WireGuard VPN of the cluster, with access data of their own.

Names you can change, identifiers that stay

  • Organisation, cluster, project, app and server each get an identifier, suggested from the name – the display name stays freely changeable.
  • Identifiers use only a–z, 0–9 and hyphens and never change, so addresses and DNS records stay valid.
  • After deletion an identifier stays reserved for good, so nobody can take over an address that old records still point to.

The app isn't ready yet

PodStack is still in development and is currently being tested on our own servers. Signing in will be possible as soon as the first version is released – the roadmap shows where things stand.

View roadmap