Home  /  Journal  /  AI on OCI  /  Governing AI Workloads on OCI: Data Boundaries and Access
AI on OCI

Governing AI Workloads on OCI: Data Boundaries and Access

Every enterprise AI program eventually meets the same three questions from security review: where does our data go when we call the model, who can reach which corpus, and can you prove both answers six months later. Teams that cannot answer get stuck in pilot purgatory; teams that answer with architecture ship. This is the governance blueprint we use for AI workloads on OCI, the boundaries to draw before launch, the IAM patterns that enforce them, and the audit trail that turns a nervous review into a short one.

Published Jun 7, 2026 · By Morten Andersen · 11 min read · Independent OCI advisory
Glowing padlock symbol representing digital security over an abstract data background

AI governance has a reputation for being a paperwork exercise, and badly done it is one. Done properly it is an architecture exercise: a small set of boundaries, enforced by the platform rather than by promises, that make the safe path the default path. OCI gives you unusually strong raw material for this, tenancy isolation, a policy language that can say precise things, private endpoints for model traffic, and regional control over where processing happens. This article, part of our complete guide to AI on OCI, turns that raw material into a governance baseline you can hand to a security reviewer.

What is actually different about governing AI

Most of AI governance is ordinary cloud governance wearing a new badge: identity, network boundaries, encryption, audit. Three things are new. First, prompts and outputs are data flows that classic data loss controls do not see; a model call can carry customer records out of a governed system into a log nobody classified. Second, retrieval systems break the assumption that the application checks entitlements per record; once documents are embedded into a corpus, the corpus is the unit of access, a problem the application's old permission model never had. Third, models themselves become assets that need lifecycle control: which model, which version, approved for which data class, evaluated by whom. Govern those three deltas explicitly and the rest is the cloud discipline you already run.

Where your data goes: the boundary that decides everything

Start with the question security will ask first. When an application calls the OCI Generative AI service, the request is processed by the service within Oracle's infrastructure, and Oracle's published position is that your prompts, your retrieval corpora, and your fine tuning data are your data, not training material for base models. Customer fine tuned models and dedicated AI clusters are isolated to the tenancy that created them. Those are strong defaults, and your obligations do not end with them. You still decide which regions process which data classes, because a model endpoint in another geography is a cross border transfer whether or not anyone called it that in the design review. You still decide whether prompts may contain regulated data at all, and you still own what gets logged, because the most common AI data leak in practice is not the model, it is the application's own trace logging happily recording personal data into an unclassified bucket.

Self managed models on GPU shapes simplify the story in one direction, nothing leaves your tenancy that you do not send, and complicate it in another: every control the managed service gave you, isolation, patching, endpoint discipline, is now your build. Either way, write the data flow down as a diagram with every hop named: application, retrieval store, model endpoint, logs. If a hop crosses a region or a trust boundary, it gets a decision on record.

A corpus is the unit of access in a retrieval system. If two sensitivity classes share one corpus, the lower clearance reads the higher one, politely and with citations.

The four boundaries, and the OCI controls that hold them

BoundaryThe risk it containsPrimary OCI controls
Data boundaryRegulated or sensitive data reaching models, regions, or logs it should notRegion pinning, compartment design, Object Storage policies, log redaction standards
Identity boundaryPeople or services reaching corpora and models beyond their entitlementIAM policies per compartment, dynamic groups, resource principals, no shared keys
Network boundaryModel and retrieval traffic crossing the public internetPrivate endpoints in the VCN, security lists and NSGs, no public model endpoints
Audit boundaryInability to reconstruct who asked what and what the system answeredOCI Audit, service logs, application traces with retention, shipped to the SIEM

The identity boundary deserves the most design time because AI estates multiply non human identities. Ingestion pipelines, retrieval services, agent runtimes, evaluation jobs: each needs to call something, and the lazy pattern, one broad policy and a shared key in a config file, is how a prototype's permissions become the production attack surface. The OCI pattern that scales is compartments per AI workload, dynamic groups for the services in them, and policy statements that name the narrow verb and the narrow target. Agent systems raise the stakes further, since a tool using agent acts with real permissions on real systems; the access design for those is covered in our article on OCI Generative AI Agents.

Corpus governance: the RAG specific layer

Retrieval estates need three rules that nothing in the default tooling forces on you. One sensitivity class per corpus, because retrieval does not re check per document entitlements unless you build that check yourself. An owner per corpus, named, accountable for what goes in and when it leaves, because unowned corpora accumulate documents the way unowned shared drives always have. And metadata as a contract: source, version, sensitivity, and access scope stamped on every chunk at ingestion, enforced by the pipeline, because every downstream control filters on metadata that has to actually be there. These rules are cheap on day one and nearly unaffordable to retrofit after fifty thousand documents are embedded, which is why they appear in the build sequence of our reference RAG architecture on OCI before the first index is created.

Model governance: the lifecycle layer

Treat models the way you treat software dependencies, with an approval gate and a version history. An approved model list states which models, hosted on the OCI Generative AI service or self managed, may touch which data classes; a model approved for public documentation is not thereby approved for customer records. Version pinning keeps behavior reproducible: applications call an alias behind a gateway, upgrades are deliberate events with evaluation runs attached, and the evaluation results are kept, because the reviewer's question in month six is not whether you tested but whether you can show the test. Fine tuned models add one more entry to the register: the training dataset, its provenance, and its sign off, since a tuned model is, governance wise, a copy of its training data wearing weights.

The audit trail that ends arguments

When something goes wrong in an AI system, the question is never abstract. It is which user asked what, what did retrieval supply, which model and version answered, and what did it say. An estate that can answer in minutes has four logs wired into the same observability stack as everything else: OCI Audit for control plane actions, service logs for the AI and retrieval services, application traces recording query, retrieved sources, model version, and response, and access logs on the corpora themselves. Retention follows your records policy, redaction standards keep the traces themselves from becoming the leak, and a quarterly fire drill, reconstruct one real interaction end to end, proves the chain still holds.

Shadow AI: govern the intake, not just the estate

The boundaries above govern the AI you know about. Every organization also has the AI it does not: the team pasting customer data into a public chatbot, the developer wiring a personal API key into a service, the department buying an AI feature inside a SaaS renewal that nobody security reviewed. Prohibition does not work and surveillance does not scale; what works is making the governed path the easiest path. That means a sanctioned model endpoint that is genuinely convenient, an intake process measured in days rather than quarters, and tenancy level guardrails, egress controls, budget alerts on unexpected AI service usage, quota policies that keep ungoverned compartments at zero GPU, that turn most shadow experiments into a visible request instead of a quiet incident. Treat each discovered case as demand signal rather than misconduct: it tells you which sanctioned capability to build next, and the teams that handle it that way find the shadow estate shrinks on its own.

The governance baseline, in eight steps

  1. Classify the data before the first call. Decide which data classes may reach which models in which regions. Write it as a one page matrix; this document does more work than any other artifact.
  2. Diagram the data flow with every hop named. Application, corpus, endpoint, logs. Cross border hops and trust boundary crossings get explicit sign off.
  3. Compartmentalize per AI workload. Own compartment, own policies, own budgets. Blast radius is a design choice.
  4. Issue identities, not keys. Dynamic groups and resource principals for every pipeline and service. A credential in a config file is a finding waiting for its audit.
  5. Keep model traffic private. Private endpoints inside the VCN for managed services, no public endpoints for self hosted models, NSGs that say so.
  6. Enforce corpus rules at ingestion. One sensitivity class per corpus, a named owner, metadata stamped and validated in the pipeline.
  7. Stand up the model register. Approved models by data class, pinned versions behind a gateway, evaluation evidence attached to every change.
  8. Wire the audit chain and drill it. Four logs to one stack, retention set, redaction standards applied, and a quarterly end to end reconstruction to prove it works.

The independent view

The fastest AI programs we see are not the ones that postponed governance, they are the ones that made it boring early: boundaries drawn in the landing zone, identities issued instead of keys, corpora owned, models registered. After that, every new use case inherits a safe default instead of renegotiating first principles with security. This is platform work, and it is exactly what our OCI security practice builds, on a fixed Project fee, with Managed Monthly retainers keeping the policies, registers, and audit chain current as the estate grows. The pattern above fits a regulated mid size estate; where your regulator or your risk appetite demands more, that calibration is what an assessment is for.

Part of a series
This guide is part of OCI Security & Compliance — our complete pillar guide on the topic.

About the author

Morten Andersen, Co-founder of OCI Specialists — 20 years of enterprise IT experience in OCI migration, security, networking, and 24/7 operations. Full profile · LinkedIn

Moving Oracle workloads to OCI, or already running on OCI and not sure the architecture or the spend is right? Most teams bring in a specialist before they commit to a region, a shape, or a Universal Credits number. OCISpecialists.com plans the landing zone, runs the migration, and manages the estate after go live, on a fixed project fee, a managed monthly retainer, or a cost optimization fee paid only on verified savings.