The Simplest Way to Make Azure App Service and Domino Data Lab Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running azure app service and domino data lab together connects web apps to data models. Your web app takes user inputs and sends them to models for fast scoring. Data teams build and test their models inside the data lab platform. Web teams host their user-facing apps on the cloud app service. Linking the two lets users get real-time answers from trained models. You do not need to move model files into your web app code. How azure app service and domino data lab share data The web app sends

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.

Running azure app service and domino data lab together connects web apps to data models. Your web app takes user inputs and sends them to models for fast scoring.

Data teams build and test their models inside the data lab platform. Web teams host their user-facing apps on the cloud app service. Linking the two lets users get real-time answers from trained models. You do not need to move model files into your web app code.

How azure app service and domino data lab share data

The web app sends an HTTP request to the model endpoint. This request holds the input data formatted as a clean JSON payload. The data lab checks the request and runs the model code. Then the model sends the score back to the web app.

Identity checks keep this traffic safe from outside threats. The web app holds a secret key or token from the identity provider. It puts this token in the header of each model call. The data platform checks the token before it runs any model code.

You should store these keys in a cloud secret store. The web app reads the key at start time using its managed role. This step keeps raw keys out of your source code files. Teams can rotate keys on a set schedule without changing app code.

Common failure modes and how to scope roles

Many teams make the mistake of sharing one static API key across all apps. If that single key leaks, an attacker can call every model. Also, shared keys make it hard to see which app made a call. Your logs will show one user for all traffic across the system.

Broad network paths create another big risk for your data teams. If the model endpoint is open to the public web, anyone can probe it. You should lock down the network path between the two cloud platforms. Use private network links or strict IP rules to block outside traffic.

Service-to-Service Authentication + Azure RBAC: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Give each web app its own service account and tight role rules. A sales app should only have the right to call the sales model. It should never have the right to start jobs or read project files. Check your permission lists each month to drop unused roles.

Logging and data privacy across model calls

Web apps often send user records to models for scoring. These payloads may hold emails, phone numbers, card numbers, or national IDs. If an error happens, the web app might dump the full payload into logs. That puts private data into plain text log files.

You need clear rules for what your apps and models write to logs. Masking rewrites matched fields in results before logs save them to disk. Record the caller identity, the model name, the time, and the status code. Keep private fields out of debug logs to protect user privacy.

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 should the web app store the model API key?

Put the key in a cloud key vault and use a managed app role. The web app reads the key into memory when it starts up. Never put keys in git repos or plain app setting files.

How do we stop public traffic from hitting the model endpoint?

Set up private network peering between your cloud network and the model host. You can also set firewall rules to allow only outbound web app IP addresses. Drop all other inbound traffic at the network edge.

What is the best way to handle slow model responses?

Set a strict timeout on the HTTP client inside your web app. If a model takes too long, use a queue for background scoring. The web app can poll for the result and keep the user interface fast.

The query runs. The emails stay hidden.