Links

Databases

This section contains hands-on examples that use Ockam to create encrypted portals to various databases running in various environments.
In each example, we connect a nodejs app in one private network with a database in another private network. To understand how end-to-end trust is established, and how the portal works even though the two networks are isolated with no exposed ports, please read: “How does Ockam work?
Please select an example to dig in:
The examples below use Postgres, however, the same setup works for any database: MySQL, MongoDB, ClickHouse, Cassandra, InfluxDB, SQL Server, etc.
We connect a nodejs app in one virtual private network with a postgres database in another virtual private network. The example uses docker and docker compose to create these virtual networks.
We connect a nodejs app in one private kubernetes cluster with a postgres database in another private kubernetes cluster. The example uses docker and kind to create these kubernetes clusters.