The Simplest Way to Make Domino Data Lab and YugabyteDB Work Like They Should
Pairing domino data lab and yugabytedb lets data teams train models on live transactional data. Notebooks and batch jobs pull distributed SQL rows and write model scores back. Data scientists get fresh records for training without waiting on slow file exports. The database handles heavy read and write traffic across nodes while models run. How domino data lab and yugabytedb share data and roles Domino runs workspaces and scheduled jobs inside isolated containers on your cluster. Each workspa
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Pairing domino data lab and yugabytedb lets data teams train models on live transactional data. Notebooks and batch jobs pull distributed SQL rows and write model scores back.
Data scientists get fresh records for training without waiting on slow file exports. The database handles heavy read and write traffic across nodes while models run.
How domino data lab and yugabytedb share data and roles
Domino runs workspaces and scheduled jobs inside isolated containers on your cluster. Each workspace needs a standard Postgres client driver to talk to YugabyteDB.
The workspace opens a network socket to the database cluster over the configured port. A user or job presents a database username, password, or client certificate.
YugabyteDB checks those credentials against its internal role table before running any query. Once checked, the database routes SQL reads and writes across its storage tablets.
Analysts pull training sets into memory and push batch predictions back into tables. Network rules between the compute cluster and database nodes keep traffic inside private subnets.
Teams store database keys as environment variables inside their workspace settings. When a job starts, the container reads those variables to log in.
Common failure modes and how to scope roles
Many teams share one strong database account across every notebook and scheduled job. When ten people use the same login, audit logs lose all personal detail.
You cannot tell which notebook ran a bad query or dropped a table. Broad permissions also let a test script change production rows by mistake.
Static passwords stored in user settings often stay unchanged for many months. If a contractor leaves the team, rotating that shared key breaks active jobs.
Unlogged queries create another big blind spot for security and platform engineers. Raw customer emails, phone numbers, and card numbers flow straight into notebook memory.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Local workspace disks can cache those results without a clear audit trail. To fix this, split database roles by task and by user group.
Give interactive notebooks read-only roles that only reach specific training schemas and views. Give automated scoring jobs a separate role that only writes to output tables.
Block workspaces from reaching admin tables or system views inside the database. Set query timeouts on analytic roles so one large join cannot starve transactions.
Use private network peering so database ports never sit open on public networks. Require TLS encryption on every link between compute pods and database nodes.
Protecting sensitive columns during model training
Training jobs rarely need raw personal data to build a good predictive model. Yet standard SQL roles grant access to whole tables rather than safe columns.
When a scientist runs a broad select statement, private fields enter the workspace. Data masking rewrites matched fields like national IDs and phone numbers in results.
The notebook still gets the schema shape and row counts it needs. Engineers also gain a clear log of every query sent from a workspace.
Centralizing identity checks and query logs removes the need to share static database passwords. Teams spend less time fixing broken keys and more time shipping models.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
How do notebooks in Domino talk to YugabyteDB?
Notebooks use standard Postgres drivers to reach the YugabyteDB SQL port over your network. The driver sends credentials and runs SQL queries to read or write rows.
Why should teams avoid shared database logins in workspaces?
Shared logins hide who ran which query in the database logs. They also make key rotation hard because changing one password breaks every active job.
How can we protect private fields during feature engineering?
Scope roles to limited views and apply data masking to rewrite emails or card numbers. This keeps sensitive strings out of notebook files while keeping tables usable.
Short role checks help teams work fast. Simple rules make each review clear. Good logs keep every team safe. Scoped keys stop bad changes early.
Related guides
In this post