Deployment models
Three ways to run Goni: Goni Cloud for the free trial, Bring Your Own Warehouse on paid plans, and Dedicated.
Deployment models
Goni ships in three shapes. Goni Cloud is the free trial; paid plans connect your own ClickHouse, and a large organization can also have a Dedicated instance. The choice is about where your analytical data lives and how much of the stack you want to run yourself.
You’ll learn:
- The trade-offs between Cloud, Bring Your Own Warehouse, and Dedicated.
- What you configure for each model.
- How to point Goni at a ClickHouse warehouse you already run.
- What Goni creates and changes in a ClickHouse you attach.
- What Goni handles for you in each shape.
The matrix
| Model | Warehouse | Application | Isolation boundary | You configure |
|---|---|---|---|---|
| Goni Cloud (free trial) | Managed by Goni | Managed by Goni | Your workspace’s own databases on Goni’s shared trial ClickHouse server | Sign up, invite your team |
| Bring Your Own Warehouse | Your ClickHouse | Managed by Goni | Your warehouse; Goni holds encrypted credentials and the copies listed in the Privacy Policy | Warehouse connection details |
| Dedicated | Your ClickHouse or a dedicated instance | Dedicated instance for your organization | Isolated environment, no shared surface | Handled during onboarding with Goni support |
In every shape Goni handles application updates, security patching, and the plumbing between the app and your warehouse. The difference is where the data sits and who is on the hook for the warehouse itself.
In the Terms of Service, Goni Cloud is the Goni-provisioned Warehouse and Bring Your Own Warehouse is the Customer-owned Warehouse. A Dedicated deployment is a separate instance of the application for one paying customer, arranged under the supplemental terms in section 3.2.
Goni Cloud (free trial)
Goni Cloud is how the free trial runs. Paid plans connect your own ClickHouse, as described under Bring Your Own Warehouse.
You sign up at goni.paysera.com, confirm your email, and land in a workspace with a demo dataset preloaded and your team ready to invite.
What is included:
- A private workspace for your organization.
- Analytical storage provisioned for you, isolated from every other workspace.
- The demo dataset (SaaS metrics: MRR, churn, NPS) preloaded so you can explore charts and dashboards immediately.
- Magic-link sign-in for you and every teammate you invite.
What you do:
- Sign up.
- Invite your team.
- Connect your first source (Postgres, MySQL, or an upload).
- Build dashboards.
Isolation is enforced at the warehouse layer: each workspace’s rows live in its own databases on Goni’s shared trial ClickHouse server, and the queries that your users run on that data go through a database user that can access only those databases. A query for another workspace’s tables returns a permission error at the warehouse, not a filter in the app. Goni operates the server on its cloud infrastructure provider’s platform in the Netherlands, in the European Union.
You never touch infrastructure.
Bring Your Own Warehouse
If your organization already runs ClickHouse - self-hosted, on ClickHouse Cloud, or on another managed service - you can point Goni at your warehouse instead of ours. Goni continues to host the app; your tables stay in your warehouse, and What leaves your warehouse describes what goes out of it.
Good fit when:
- You already have a ClickHouse investment and want a BI layer on top.
- Your data-residency or compliance policy requires the warehouse in a specific region or account.
- You want to control storage cost and scaling on your side.
Goni has no screen for attaching a warehouse. A workspace attaches its ClickHouse with one call to the Goni API: PATCH /api/settings/warehouse, with a warehouse object in the body. In the onboarding wizard, the Bring your own warehouse option only prepares an email to the Goni team.
The call needs three things:
- A paid plan. The workspace’s subscription must be active. Goni refuses the call during a free trial and for any other subscription status.
- The
allow_savepermission. The user who makes the call must hold it on the workspace. - A signed-in session. The call must carry the JWT bearer token that the Goni web app sends. A personal access token cannot attach a warehouse.
The warehouse object holds these fields:
hostandport: the port is a string, for example"9440"protocol:nativeorhttpsecure:trueorfalse(required, with no default)userandpassworddatabases(optional): your four database names, under the keysraw,staging,marts, andmetatls_ca_pem(optional): the CA certificate that signed your server’s certificatetls_server_name(optional): the name Goni checks on that certificatemax_open_connsandmax_idle_conns(optional): connection limits from 1 to 100. Set both or neither, withmax_idle_connsno higher thanmax_open_conns. Without them, Goni uses 10 open and 5 idle connections.
If you leave out databases, Goni uses goni_raw, goni_staging, goni_marts, and goni_meta. If you include it, give four different names. Goni ignores case when it compares them. Each name may hold letters, digits, and underscores, must not start with a digit, and can be up to 200 characters long.
Goni refuses a host that resolves to a private or internal network address. The only exceptions are a few of Goni’s own internal hosts.
Goni saves the connection only when the attach succeeds. It refuses the attach if it cannot connect, sign in, or read the server version. It also refuses a ClickHouse older than version 22.10. The password is stored encrypted inside Goni, and no response returns it.
If your ClickHouse stops answering later, the requests that need it fail with an error. Sign-in and the pages that do not query it keep working.
To change the connection details, make the same call again. Goni then runs every attach step again and replaces the whole stored connection. An optional field that you leave out goes back to its default.
What Goni creates and changes in your ClickHouse
Goni works in your ClickHouse only as the user named in the attach, so that user’s privileges limit what Goni can change. If the user holds only the privileges listed below, Goni can write only inside its four databases.
When you attach
Goni reads before it writes:
-
It reads the server version and the user it signed in as. It checks which of its four database names already exist.
-
It runs a preflight of statements that only read. On every server, it runs these 11:
- one
SELECTof the server version, the user name, the host name, and the uptime SHOW GRANTSandSHOW GRANTS FOR CURRENT_USER WITH IMPLICIT FINAL- one
SELECTeach fromsystem.databases,system.clusters,system.macros,system.replicas,system.user_directories, andsystem.settings - two
SELECTstatements fromsystem.server_settings
On a server with more than one node, Goni also reads
system.onethroughclusterAllReplicas. From ClickHouse 23.3 on, it readssystem.zookeeper_connectionthere too. - one
Then Goni prepares its databases:
- It creates its four databases with
CREATE DATABASE IF NOT EXISTS, withoutON CLUSTER. - In each of them, it creates a test table named
goni_attach_probe_plus 12 random characters, and then drops it. Before each create and drop, it reads the table’s row insystem.tables. - On a server with more than one node, it runs
CREATE DATABASE IF NOT EXISTSonce more for its meta database. This time it addsON CLUSTERand your cluster’s name. This creates the meta database on every node of that cluster that does not have it yet.
If the user’s profile sets readonly, Goni creates nothing. If one of the four CREATE DATABASE statements in step 3 fails, Goni refuses the attach and does not save the connection. Databases it created before the failure stay in your ClickHouse. If the ON CLUSTER statement in step 5 fails, Goni still saves the connection. The attach response then lists cluster_ddl_refused, and writes stays false. If Goni cannot drop a test table, that table stays, and the attach response names it.
While Goni runs
The attach response holds an acceptance object. While its writes field is false, Goni makes none of the changes below. There is one exception: a pipeline can still add rows to a target table that already exists. Goni sets writes only during an attach. After you fix what the response lists, make the attach call again.
Once writes is true, Goni makes these changes:
- Pipelines. A pipeline writes to the table that its settings name as the target. Goni does not limit that target to its four databases. If the target does not exist, Goni creates it. It runs
CREATE DATABASE IF NOT EXISTSfor the target’s database, thenCREATE TABLE IF NOT EXISTSfor the table. A self-healing window creates its target in its own way, described below. A pipeline from a ClickHouse source on the native protocol never creates its target. Goni loads rows withINSERT. Apart from the copies that run inside your ClickHouse, described below, Goni loads each pipeline itself. It reads the source and sends the rows to the HTTP interface of your ClickHouse, at the host and port of the attach. A pipeline that Goni loads itself works only on a warehouse attached with thehttpprotocol. An incremental run into a table that already exists adds rows to it, even when Goni did not create that table. - New source columns. When a source table gains a column, Goni adds it to the target with
ALTER TABLE ... ADD COLUMN IF NOT EXISTS. This also happens on a target that Goni did not create. A pipeline’s schema-change policy can turn it off. A pipeline set to add audit columns also adds_goni_ingested_atthis way, even when its policy ignores new source columns. Self-healing windows and ClickHouse sources on the native protocol add no columns. - Full reloads. A full reload loads a new copy into a shadow table next to the target, named
<table>__swap_plus a token. Goni then puts the copy in place withEXCHANGE TABLESorRENAME TABLE, and drops the old copy. WithRENAME TABLE, the old copy first gets the shadow’s name plus_retired. Where your server allows neither, the first full reload loads the new copy into a table named<table>__goni_v1. Goni then drops the target table, if there is one, and creates a view with the target’s name over<table>__goni_v1. Between the drop and the create, the target does not exist for a moment. A later full reload either stops with an error and leaves the view as it was, or drops and re-creates<table>__goni_v1and the view. While a reload of the second kind runs, queries on the target can fail or return only part of the rows. If it fails, the target can stay unreadable. Every other later run on such a target stops with an error. Before a full reload, Goni can also drop a shadow table or a<table>__goni_newtable that an earlier failed reload left behind. If the target is a table that Goni did not create, Goni refuses to exchange, rename, or drop it. The full reload then fails, and the target keeps its rows. - Copies that run inside your ClickHouse. Two kinds of pipeline make your ClickHouse copy the data itself, with an
INSERT ... SELECTfrom a table function. A Postgres pipeline with a self-healing window usespostgresql(). A pipeline from a ClickHouse source on the native protocol usesremote()orremoteSecure(). Your ClickHouse then connects to the source with the source’s user and password. Goni puts them in the SQL text that it sends. A self-healing window also reads the source table’s columns and primary key this way. These copies work only if Goni’s user may use that table function. The attach does not check this. - Self-healing windows. A Postgres pipeline with this window creates its target as a
ReplacingMergeTreetable with the columns_goni_versionand_goni_del_flag. Next to it, Goni creates a<table>__goni_currentview withCREATE OR REPLACE VIEW. Goni does not delete rows there: to mark a source row as deleted, it inserts a new version with_goni_del_flag = 1. A rebuild copies the target into a new table and puts it in place, as a full reload does. - Uploads. A file upload creates a table named
up_plus 16 characters in the raw database, and inserts the file’s rows. The name comes from the user’s email, the file name, and the file size. Before it creates the table, Goni drops any earlier table with that name. Uploads work only on a warehouse attached with thenativeprotocol. Overhttp, the upload fails after Goni has created the table, and the empty table stays. Pipelines that Goni loads itself needhttp, so one attach cannot serve both uploads and those pipelines. - Servers with more than one node. There, the statements that create, swap, or drop run on every node of your cluster. Goni adds
ON CLUSTERand the cluster’s name, unless your database engine already sends such statements to every node.
If a load fails after Goni has created a table, the empty table can stay.
Some queries also carry a label, which your ClickHouse records in system.query_log when it logs queries. Queries that a person runs in Goni, such as ad hoc SQL, saved queries, and metrics, carry a log_comment setting. It holds the workspace ID, the person’s email, a request ID, and the item the query serves. Goni also sets the ID of each such query.
Privileges the attach checks
Goni compares the output of SHOW GRANTS with the privileges below. The attach response then lists the GRANT lines that are still missing.
CREATE DATABASEon each of the four databases- on the raw database:
SELECT,INSERT,CREATE TABLE,CREATE VIEW,DROP TABLE,DROP VIEW,ALTER ADD COLUMN,ALTER UPDATE, andALTER DELETE - on the staging and marts databases:
SELECT,INSERT,CREATE TABLE,CREATE VIEW,DROP TABLE, andDROP VIEW - on the meta database:
SELECT,INSERT,CREATE TABLE, andALTER ADD COLUMN SELECTon these system tables:asynchronous_metrics,clusters,errors,events,macros,merge_tree_settings,merges,mutations,part_log,parts,processes,query_log,replicas,server_settings,settings,user_directories, andzookeeper_connectionCLUSTER ON *.*on a server with more than one nodeTABLE ENGINEonMergeTree,ReplacingMergeTree,ReplicatedMergeTree,ReplicatedReplacingMergeTree,View, andMaterializedView, if your server turns ontable_engines_require_grant
The response can also list REMOTE ON *.* and KILL QUERY ON *.* as optional lines, each with its reason.
What Goni does not do
- It does not drop, rename, exchange, empty, or replace a table or view that it did not create. Goni keeps a record of what it created. Before such a statement, it reads the object’s row in
system.tablesand checks that record. If it cannot show that the object is its own, it refuses the statement. - It does not drop databases or users. It does not create or change users, roles, grants, or settings profiles.
- It does not drop or rename a column, and it does not change a column’s type.
- The SQL that you, your dashboards, and the AI run is read-only: Goni refuses any statement that is not a read.
- Detaching the warehouse with
DELETE /api/settings/warehousesends nothing to your ClickHouse, so Goni’s databases stay there.
What leaves your warehouse
Goni does not copy your tables anywhere else. The copies it keeps of warehouse data are listed in the Privacy Policy, section 4. This is what goes out of your warehouse while Goni works with it:
- Query results pass through Goni, and through the CDN in front of it, to the people, embeds, API tokens, and MCP clients you authorise.
- Scheduled reports send each run’s result to the report’s recipients by email, Slack, or webhook: a table of up to its first 20 rows and, except on Slack, the CSV file (up to 1 MB).
- Alerts send the values an alert evaluated (such as the measured value and the threshold, or the previous and current value) to the alert’s channels (email, Slack, Google Chat, PagerDuty, or webhook) when it triggers, and to PagerDuty again when it clears.
- AI features send your question and your metric definitions, never rows, to the model provider your workspace configures. Doctor currently works only for workspaces on Goni’s trial server; there it also sends what it gathers about the query you ask it to diagnose: its SQL text; its query-log entry (time, query ID, database user, duration, rows read, bytes read, memory use, and any error code and message); its
EXPLAINplan; the storage parts of the tables it reads (database, table, partition, marks, row count, and size of up to 50 parts); and your workspace’s ten running queries that use the most memory (query ID, database user, memory use, running time, and the first 400 characters of the query). To check a rewrite it proposes, it also sends the output column names and types of the query and of the rewrite, and theirEXPLAIN ESTIMATEfigures (rows, bytes and parts to read). - Operational messages (pipeline and data-quality notifications, error reports) can carry table names, row counts, and database error text.
Two things travel the other way. Connector syncs stream source rows through Goni into your warehouse; a file that a connector fetches from cloud storage (Dropbox, Google Drive, or OneDrive) is held in a temporary file only while it is read. Files you upload go to Goni first, and Goni loads them into your warehouse from there.
Dedicated
For customers who need their own isolated environment - typically regulated industries, enterprise procurement, or teams with a strict single-tenant requirement.
Dedicated gives you:
- Your own instance of the Goni application, not shared with any other customer.
- Your own control-plane database for users, sessions, and workspace metadata (dashboards, connections, pipelines, policies).
- Warehouse of your choice: your own ClickHouse, or a dedicated instance Goni provisions for you.
- Custom domain and TLS handled during onboarding.
- Direct support channel with the Goni team.
To get started, contact sales. Onboarding is guided: the Goni team walks through the security review, the region and residency requirements, the identity provider integration (OIDC or SCIM if required), and the go-live checklist.
Pricing is contract-based and depends on data volume, seat count, and support tier.
Which one should you pick?
- Just want to try Goni or ship dashboards this week? Start on Goni Cloud.
- Already run ClickHouse or need warehouse-side data residency? Bring Your Own Warehouse.
- Enterprise procurement, single-tenant requirement, or regulated industry? Dedicated.
Moving from Goni Cloud to Bring Your Own Warehouse keeps your workspace, with its dashboards, users and query history. Goni does not copy the data in your trial databases into your warehouse. A move to Dedicated is planned with the Goni team during onboarding.
Related
Last updated