zrok/docs/v0.3_public_private_sharing.md
2022-11-15 13:24:13 -05:00

1.1 KiB

v0.3 Public/Private Sharing

The v0.3 series includes support for both "public" and "private" reverse proxies.

Entities (SQL)

v0.3 introduces a new frontends table to allow the zrok controller to track the frontend instances that are available to any account or environment.

The following illustration shows the possibilities available.

v0.3 Frontend Selection

The *.in.zrok.io frontend is a "public" frontend, available to all zrok users. Most zrok installations will want to have at least one public, global frontend for all public, internet-facing ingress traffic for private backend instances. In the underlying data store, the public frontend will have a row in the frontends table with a NULL environment_id, a type of public, and a name set to public (or some other representative name).

The other two "private" frontends are configured with an environment_id and no name label. The ephemeral environment is allocated when a zrok frontend request is made without an account on behalf of a private share.