Cortado Group · Infrastructure

A dedicated home for our data

This server exists for one reason: to keep the data behind Cortado's internal services safe, fast, and easy to reason about. Here's the thinking behind it.

1 Why a dedicated database machine

Instead of tucking a database inside each application's own server, we run it on its own machine. That separation buys us a few things that matter as we grow:

2 Why Postgres

PostgreSQL is the default choice for internal, production-grade data for reasons that go beyond "it's popular":

3 A private tunnel in, not an open door

The database doesn't listen to "the internet" the way a normal website does. It only accepts connections from machines we've explicitly approved in advance — every other computer on the planet is refused a connection before it ever reaches the database software.

Think of it like a private tunnel with a guest list at the door: only pre-approved office and service IP addresses are allowed to even knock, and every connection still has to prove itself with a password on top of that. It's the same instinct behind a VPN — restrict who can reach the resource at all — applied directly at the network's front gate.

The connection itself is encrypted end-to-end with TLS (the same kind of certificate that secures this page), so credentials and query results can't be read in transit either. Getting in requires both halves at once: the pinhole (being on an approved IP) and the key (a valid password) — one without the other gets you nowhere. Formalizing this into a full VPN tunnel is the natural next step as more services connect.