For most sensitive-data workloads, a managed private cloud offers the strongest practical protection, because you keep a dedicated, contractually bound environment while the provider supplies the security engineering, patching and compliance evidence few in-house teams can match. Self-hosted AI wins only when you have a genuine reason to hold full control of the hardware, the model weights and the audit trail — and when you can staff that responsibility properly. The right answer is a decision, not a default, so this guide walks you through making it deliberately instead of drifting into one option by accident.
Before you start, understand that neither option is automatically safer. A poorly run self-hosted stack with an unpatched model server and open dashboard can leak more than a managed service with proper tenant isolation. What follows is a practical comparison process you can run with your own data classification, then step-by-step checks to confirm whichever route you choose actually delivers the protection you expect.
What You'll Need
- A written data classification scheme that separates public, internal, confidential and regulated data, and a list of which AI workloads touch which class.
- Your legal and regulatory obligations: contracts with customers, data residency rules, retention limits and any sector-specific requirements that apply to you.
- An inventory of the AI workloads you intend to run: model sizes, expected request volume, whether prompts contain personal data, and whether you need fine-tuning on your own documents.
- A rough budget envelope covering hardware or subscription, staff time, and the cost of security tooling such as logging, key management and monitoring.
- Someone accountable for security decisions, plus access to a network engineer and, where relevant, a lawyer or compliance lead.
- For the self-hosted path, an isolated network segment or VLAN, a secrets manager, and a backup plan that you have actually restored from at least once.
Step-by-Step
- Classify before you compare. Write down what data each AI workload will touch. Prompts often contain more sensitive material than the model itself, because users paste customer records, contracts or medical notes into chat boxes. If any workload handles regulated data, treat that as your strictest case and evaluate both options against it rather than against an average.
- Map where data actually travels. For each option, trace the full path: user device, network, gateway, model server, logs, caches and backups. Logs are the usual leak. Ask specifically whether prompt and response logging can be disabled or shortened, and whether telemetry leaves your environment. A managed private cloud usually gives you configuration controls for this; in a self-hosted stack, you enforce it yourself and can verify it directly.
- Assess who can reach the data. For a managed private cloud, request the provider's access-control documentation and ask about support staff access to your tenant, break-glass procedures and whether access is logged and shared with you. For self-hosting, list every administrator account, decide who holds root or equivalent access, and confirm that the model server and its dashboard are not reachable from the internet by default.
- Check the isolation model. Managed private cloud should mean a dedicated environment, not a shared cluster with a private-sounding name. Confirm whether compute, storage and network are single-tenant and how the provider enforces boundaries between customers. Self-hosting gives you full isolation by definition, but only if you build it: separate VLANs, no shared credentials between workloads, and outbound filtering so a model container cannot quietly phone home.
- Compare operational security maturity honestly. Ask how quickly the provider patches the serving framework, runtime and model dependencies, and whether those patches apply automatically to your tenant. Self-hosted means you own that permanently, including emergency work at inconvenient hours. If you cannot name who will patch a critical vulnerability within days, that is a real protection gap, not a paperwork detail.
- Review encryption and key custody. Both options should encrypt data at rest and in transit. The decisive question is who holds the keys. A managed private cloud may let you bring your own key or keep keys in a hardware security module inside your control; if the provider holds all keys, they can technically access your data under their procedures. Self-hosting keeps key custody internal, which helps in regulated contexts, but only if keys are stored in a proper secrets manager rather than in config files or environment variables on the model host.
- Test deletion and retention. Ask what happens to a prompt after it is answered, how long logs persist, and how deletion requests are honoured, including in backups and model fine-tuning datasets. Get this in writing for a managed service. For self-hosted, implement a retention policy you can actually enforce, and document that fine-tuning data is deleted from training directories once a job finishes.
- Score the two options against your classification. Build a simple table with rows for data path, staff access, isolation, patching speed, key custody, retention and audit evidence, and score each option for your strictest data class. Weight the rows that carry regulatory consequences heaviest. The winner is usually clear once it is written down.
- Choose the routing model. Many organisations land on a hybrid: sensitive workloads stay in a managed private cloud or on internal self-hosted infrastructure, while lower-risk experimentation uses shared services. Decide the routing rule up front so staff do not make the call per prompt.
- Verify before you trust. Whichever route you take, run a short review of the environment: confirm logging behaviour matches what was promised, check that administrator accounts have multi-factor authentication, confirm the model endpoint is not publicly exposed, and test one deletion request end to end. Re-check after any major version upgrade, because labels and defaults can differ slightly by version, device or region.
Common Mistakes
- Treating the model as the sensitive asset. The prompts, retrieved documents and logs are usually the real exposure.
- Assuming private cloud means single-tenant. Ask for the isolation model in writing rather than trusting the product name.
- Self-hosting but leaving the web dashboard bound to all interfaces, so the admin console is reachable from anywhere.
- Storing keys and database passwords in plain environment variables or committed config files.
- Forgetting backups. An encrypted database is not protected if unencrypted dumps sit on a shared drive.
- Ignoring outbound traffic. A model container with unrestricted internet access can send data out unnoticed.
- Making the decision once and never revisiting it after a workload grows, a regulation changes or a provider updates its terms.
Tips
- Ask providers for audit logs you can export and keep yourself; evidence you hold beats evidence you can only view.
- Keep fine-tuning datasets in a separate, access-restricted store that production workloads cannot read.
- Redact or hash identifiers in prompts at the gateway before they reach the model, where the task allows it.
- Restrict AI endpoints to known networks or a VPN, and treat the model API like any internal database.
- Write the access model down in one page: who can read prompts, who can read logs, who holds keys, who can delete data. Update it when staff change.
Troubleshooting
The provider cannot confirm single-tenant isolation. Ask for security documentation and a specific answer about compute, storage and network boundaries. If you cannot get it, treat the service as shared infrastructure and either keep regulated data out or choose another option.
You self-host and cannot keep up with patches. Reduce the surface: run fewer models, keep the serving stack minimal, subscribe to the vendor's security advisories and set a fixed patching window. If a critical fix will still wait days, move that workload to a managed environment.
Logs contain more than expected. Check the application layer, not just the model server. Gateways and reverse proxies often log full request bodies by default. Disable body logging where possible and shorten retention. Before wiping anything, export what you must keep, then delete the rest deliberately.
Deletion requests fail. Trace the data through caches, backups and any fine-tuning corpus. If a provider's deletion cannot cover backups, get the backup retention period and expiry date in writing.
Performance or access issues after a change. Restart the affected service, confirm the configuration loaded, check the provider's status page if applicable, and re-run your exposure check: endpoint reachability, admin authentication and log behaviour. Before any reset or reinstall, back up configuration and data, because a reset typically erases the environment.
Frequently Asked Questions
Is self-hosted AI always more private?
No. It gives you control, but protection depends on how well you isolate, patch and monitor it. A managed private cloud with documented single-tenant isolation and audited access can be stronger than a neglected self-hosted install.
Can a managed private cloud provider see my prompts?
Potentially yes, through support access or because they hold encryption keys. Ask about staff access procedures, audit logging and whether you can manage keys yourself. Bring-your-own-key options reduce this exposure.
What does private cloud mean in practice?
It should mean dedicated resources and contractual commitments, not merely a private network connection to shared hardware. Confirm isolation at compute, storage and network level.
Where do prompts leak most often?
Application and gateway logs, browser telemetry tools and debugging traces. Review each layer rather than assuming the model server is the only place data is stored.
Is hybrid routing worth the complexity?
Usually yes for mixed estates. Keep regulated data on the stricter path and allow lower-risk work elsewhere, but write the routing rule down so the boundary does not erode over time.