Dograh

Self Hosted Private Cloud: What It Is and How to Choose

Self Hosted Private Cloud: What It Is and How to Choose
TechnicalDecember 4, 2026·18 min read

Self Hosted Private Cloud: What It Is and How to Choose

Pritesh Kumar
Pritesh Kumar·Co-founder, Dograh AI

Building Dograh, the open-source alternative to Vapi. OSS and Voice AI. Exit founder and YC alum.

A self hosted private cloud is infrastructure provisioned for one organization's exclusive use, with automated provisioning and metering, in your data center, your own cloud account or a provider's environment. Choose what your team can patch and recover. Dograh, the open-source AI voice agent platform, fits more than one, since you can self-host it or run it on Dograh Cloud.

Key Takeaways

  • Exclusive use plus automated provisioning defines a private cloud, whoever owns the hardware.
  • Name who takes the overnight pager before you choose a deployment model.
  • Price on-call hours and staffing, since hardware is rarely the deciding cost.

A compliance rule that keeps call recordings inside your perimeter often starts the private cloud question, and a growing cloud bill sharpens it. Below we define the term, compare four deployment models, set security and recovery targets, price the staffing, and map Dograh onto each model.

What counts as a self hosted private cloud

Picture a dental group with several offices that rolls out an AI phone agent to book appointments and confirm insurance details. The calls carry protected health information, so the compliance officer blocks any shared SaaS platform from storing the audio or transcripts. The IT manager answers by provisioning two virtual machines on an office server and calling it a private cloud. What he has built is a private server. Think of it like real estate. Buying an apartment building gives you the bricks and the boiler, while leasing a private unit in a managed building gives you your own lock and metered utilities without fixing the boiler yourself. Exclusive use matters more than who holds the deed.

In September 2011 the US National Institute of Standards and Technology drew that line in NIST Special Publication 800-145. It defines a private cloud as infrastructure provisioned for the exclusive use of a single organization, even one with several business units. The organization does not have to own the racks. A private cloud may be owned, managed and operated by the organization, by a third party or by both, and it may sit on or off premises.

Virtualization alone does not turn a box in a closet into a cloud. The same definition asks for five essential characteristics, and each one shows up as daily work.

CharacteristicWhat it looks like in practice
On-demand self-serviceTeams spin up compute, storage or a new voice agent environment through automation instead of a ticket
Broad network accessServices are reached over standard, controlled network paths
Resource poolingCompute, memory and storage sit in one pool shared across workloads
Rapid elasticityCapacity grows for the Monday morning booking rush and shrinks after it
Measured serviceUsage is metered per workload, so you know which service uses the GPUs and disk throughput

Without repeatable provisioning and metering, a virtualized host is an ordinary application server with a pricier label. Teams usually build the exclusive boundary in one of three ways. A self-managed data center keeps owned hardware and operations in your own racks. A dedicated cloud account under your control rents isolated infrastructure inside your own VPC while your engineers run the software. A provider-managed private environment dedicates infrastructure to you while an outside vendor runs daily operations. Before you sign off on any of them, confirm it gives you an exclusive security boundary and automated provisioning, because without both you are building something else.

Four deployment models by control and responsibility

The choice gets clearer once the private models sit beside shared public tenancy, where most engineering teams start. Each column below is a job somebody has to do.

ModelWho owns the hardwareWho operates itWhere data and inference runWho applies upgrades
Self-managed on premisesYour organizationYour teamYour data centerYour team
Customer-controlled cloud accountCloud provider, inside your accountYour teamYour cloud perimeterYour team
Managed private cloudProvider, dedicated to youProvider, with your oversightDedicated environment, location set by contractProvider
Public cloud shared tenancy (reference)ProviderProvider and your teamProvider regionsShared responsibility

Hardware ownership decides who replaces failed drives. Operations decides whose phone buzzes during an outage. Data and inference location sets your regulatory perimeter, and upgrade responsibility decides who tests breaking releases and patches a zero-day before attackers probe it.

In a self-managed on-premises build, your organization owns the servers, keeps every call recording in its own facility and staffs every layer. You get full say over hardware and network design, and you absorb every firmware bug, rack outage and overnight maintenance window. A customer-controlled cloud account moves the metal to a hyperscaler inside a perimeter you own. You stop swapping dead disks, yet your engineers still run Kubernetes, databases, telemetry and rollouts, so every step toward direct control adds work you must staff.

A managed private cloud keeps the infrastructure dedicated to you and hands routine platform operations to the vendor. That split suits a team whose residency rules are strict and whose engineering headcount is lean, a trade-off covered in our breakdown of self-hosted versus managed voice AI deployments. Public cloud shared tenancy stays in the table as the reference point. You share physical hosts with other tenants under a shared-responsibility model and trade dedicated isolation for the lightest operations and the fastest launch. For a wider look at how shared and dedicated environments compare on compliance and governance, F1Group's private cloud comparison guide sets out the core trade-offs.

I would never pick a row off a feature matrix alone. Write two names on a whiteboard, the person who wakes up at 3 a.m. when call routing drops during a database failover, and the person who schedules and validates the next hypervisor security patch. The right row is the one whose pager and patching answers match the engineers already on your payroll.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

Isolation and security boundaries to design

Owning servers inside a locked cage does not create isolation by itself. A flat internal network with loose credentials can recreate every multi-tenant attack path inside your own rack, and now no cloud provider security team is watching the control plane for you.

NIST's guidelines on security and privacy in public cloud computing treat the hypervisor as extra attack surface, because a compromised hypervisor can compromise every system it hosts. The same guidance points to virtual firewalls that isolate groups of virtual machines, such as production from development, and to private subnets for traffic between machines on one host. Those points apply just as much when the host sits in your own building. Four controls carry most of that work, and each belongs in place before go-live.

ControlWhat to buildWhat it prevents
Network zonesSeparate VLANs or subnets for hypervisor management, storage, live inference and application traffic, and backup replicationAn engineer debugging a call-routing API sitting next to the hypervisor consoles
Default-deny east-west rulesBlock traffic between zones, then open only the ports each voice service needsA compromised telephony webhook scanning the transcript database
Least-privilege identitiesSeparate accounts for orchestration, human admins, workloads and backup jobsOne leaked credential opening the whole archive
Resource quotasHard limits on CPU, RAM, disk IOPS and GPU per virtual machine or namespaceOne guest starving speech inference, databases and collectors during a surge

Identity mistakes are the easiest to make under deadline pressure. Say a recording-processing worker is handed the backup daemon's credentials so a developer can ship faster. One memory bug in an audio decoder now exposes your entire historical archive.

Segmentation only gets you halfway when you store call audio and customer transcripts. Pair encryption at rest and in transit with keys you control, immutable audit logs, timely hypervisor patching and scheduled restore drills. If you are mapping regional storage rules alongside these safeguards, our voice AI data residency checklist lists the perimeter checks to verify before launch.

Before you promote any self-hosted cluster to production, audit the four failure modes that break private isolation most often. Admin consoles, IPMI interfaces or Kubernetes API servers reachable from general office subnets instead of a hardened bastion or VPN come first. Shared read-write storage mounts with no per-workload access control come next, then application pods holding cluster-admin tokens, wildcard storage permissions or static root database passwords. Last are privileged containers with host-network access or elevated Linux capabilities that skip guest isolation altogether.

Data persistence and recovery targets

A reliable private cloud draws a sharp line between what you can destroy on a Tuesday afternoon and what would end the business if it vanished. Stateless services such as API gateways, call workflow engines and audio workers should be disposable, so an upgrade can swap containers without a blink. Stateful parts such as call metadata, recordings, transcripts, vector embeddings, model caches and audit logs need storage that outlives any single node.

NIST Special Publication 800-190, the container security guide, says persistent data belongs in external databases or cluster-aware persistent volumes, never in the container root filesystem. That separation lets your team roll out updates or rebuild a crashed host without wiping customer records along with the old containers.

For a production voice platform, split storage by access pattern instead of putting everything on one SAN volume. Transactional databases go on replicated block or distributed storage, raw call audio goes to object storage with versioning and lifecycle policies, and backups go to an independent backup target whose credentials the production cluster cannot change or delete. That last detail decides how a ransomware incident ends. If a compromised production node can wipe its own backup bucket, you don't have backups.

Three numbered steps in a server room. Step 1, a production server rack is marked compromised. Step 2, it tries to wipe the backups, and its dashed line stops with a cross at the independent backup target, a separate store with its own lock and key, labeled credentials production cannot change. Step 3, a full backup restore runs from that target onto a rebuilt host. A line at the bottom says to force a full backup restore before cutting over live phone traffic.
Backups that share the production cluster's keys fall in the same attack that takes production down, which leaves nothing clean to restore. Give the backup target its own credentials before the first real call lands on the cluster.
ComponentProtection method
Call metadata databaseReplicated storage with backups every 15 minutes or less
Call recordingsObject storage with versioning and lifecycle policies
TranscriptsReplicated database with a separate export to the backup target
Model cachesRebuilt from a versioned model registry
Audit logsImmutable storage with credentials the production cluster cannot change

A storage layout becomes a recovery plan only when business owners attach numbers to two thresholds. The Recovery Point Objective (RPO) caps how much data you can lose, so a 15-minute RPO forces replication or snapshots at least every 15 minutes. The Recovery Time Objective (RTO) sets how fast service must return, and a 60-minute RTO calls for automated runbooks that rebuild dependencies, restore state and reroute phone traffic within the hour. If any row in the table has no signed-off RPO or RTO, pause the deployment until leadership commits to one instead of letting engineers guess.

Kubernetes and enterprise VM orchestrators make deployments repeatable, and they bring fragile parts of their own. Control-plane quorum, TLS certificate rotation, distributed storage drivers and cluster upgrades all fail quietly when nobody monitors them or runs quarterly disaster drills. High availability is never one well-built server with RAID disks. It takes redundant hosts, replicated storage, dual network paths, independent power, monitoring, disciplined patching and failover capacity you have actually tested.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

What a private cloud really costs to operate

Most cloud repatriation debates set the monthly public cloud invoice against the price of owned hardware. That comparison misleads, because it counts compute and storage and hides the payroll that keeps a private environment healthy. Self-hosting often trims variable infrastructure bills while total spend goes up, especially for smaller teams that cannot staff reliable round-the-clock operations.

Buyer research points the same way. In VMware's Private Cloud Outlook 2025, a survey of 1,800 senior IT decision-makers, siloed IT teams were the top challenge to private cloud adoption at 33%, followed by security and compliance at 31% and a lack of in-house skills and expertise at 30%. The hurdles respondents named are about people and process far more than the price of servers. A real budget has to fund every line below, beyond the server quote.

Cost areaWhat it includesWho usually budgets it
Hardware amortizationServers, storage, GPUs and refresh cyclesInfrastructure budget
Colocation and powerRack space, power, cooling and uplinksFacilities budget
NetworkingFirewalls, load balancers, private links and bandwidthNetwork team
Backups and recoveryReplicated storage, offsite copies and restore drillsOperations
ObservabilityLogging, metrics, tracing and retention storagePlatform team
Security engineeringHardening, key management, audit and patchingSecurity team
Upgrades and on-callRelease testing, patch windows and 24/7 coverageEngineering
MigrationMoving workloads in and out, and running systems in parallelProject budget

Published repatriation case studies rarely transfer cleanly to your shop. Their savings depend on sustained utilization, predictable load, multi-year hardware lifecycles and whether the company already employs platform and SRE engineers. If you are also weighing local inference on your own GPUs beside the core platform, our guide to running a self-hosted LLM in production covers the hardware and latency trade-offs.

Before you choose owned hardware over a managed private cloud, collect four numbers from your own operations instead of vendor estimates. You need average and peak concurrent calls, the latency ceiling callers tolerate before a conversation feels broken, the hours per week an engineer must hold the pager, and the loaded hourly cost of platform, security and SRE staff, including benefits, overhead and on-call pay. Then compare the two options with one monthly ratio.

Break-even ratio = (amortized hardware + colocation + networking + loaded on-call and maintenance hours) / managed private monthly fee

Run it twice, once at average call volume and once at peak. Below 1, owned infrastructure beats the managed fee on direct cost at that utilization, and above 1 the managed option wins. Regulated voice workloads with spiky traffic show the catch. Sizing owned racks for peak concurrency pushes amortization up while average utilization stays low, and a managed private environment keeps data residency while your team spends its time on uptime, retention, incident response and failover instead of raw compute rates.

Where self-hosting fits and where it does not

Real private cloud adoption is rarely all or nothing. Four common business profiles show where the staffing boundary falls.

ProfileSituationBetter fit
Dental or medical clinic groupAI appointment calls, patient recordings must stay inside its perimeterSelf-hosting or a customer-controlled cloud account, if IT staff can patch and recover
Lending or collections teamPayment reminders under strict residency rules, no in-house SRE teamA managed private environment in the required jurisdiction
Voice AI agency with many clientsIsolated stacks it can customize per clientSelf-hosting, when an internal platform team spreads operations across clients
Small restaurant or home services businessEvery inbound call answered, no operations staffA managed cloud service or shared public tenancy

Market data matches those mixed verdicts. Flexera's State of the Cloud Report describes most organizations taking a multi-cloud, hybrid approach in which private cloud plays an essential role, built on platforms as different as Microsoft Azure Stack, VMware vSphere and vCenter, OpenStack and bare-metal clouds. Teams split workloads by sensitivity and elasticity, keeping regulated recordings, transcripts and inference inside a private perimeter while non-sensitive analytics and burst capacity run in public cloud.

Self-hosting earns its keep when at least two of four conditions hold. Those are a strict data residency or sovereignty mandate, a platform or SRE team already running 24/7 rotations, steady high call volume that keeps hardware busy, or a rule that bans connections to any outside control plane. A small engineering team, no overnight coverage or very spiky call loads argue against owning the stack. Before you commit capital to pulling workloads back in-house, working through calculating workload break-even before repatriation helps test whether utilization supports owned hardware.

One myth needs a plain correction. Self-hosting a platform takes that platform's vendor out of your audit, and your existing controls then cover the data it holds. Model providers and the phone carrier may still handle the audio, and keeping data inside your perimeter does not by itself make you compliant with HIPAA, PCI DSS or regional privacy laws. Check every technical control against your own audit scope before you treat physical location as compliance.

Confirm your deployment model before you build

Buying hardware or signing a multi-year cloud commitment before mapping who does what is how private cloud projects stall six months in. Work through these decisions in order, since each one sets the inputs for the next.

DecisionWhat to write down
1. Data-location ruleWhere call audio, transcripts, embeddings, logs and inference may legally and contractually live
2. On-call and patching ownersReal names for overnight outages, hypervisor updates and database upgrades
3. RPO and RTO per stateful partWritten targets for metadata, recordings, transcripts and audit logs, with blanks sent to leadership
4. Model matched to headcountThe row from the deployment table your current team can actually carry
5. Break-even at average and peakOwned cost with loaded on-call hours against managed private pricing
6. Failure pilotA full backup restore, a node killed mid-call and an in-place upgrade under load

If nobody can realistically carry the 3 a.m. pager at step 2, drop the self-managed rows right there. Step 6 matters because a fresh install proves almost nothing. Force a full backup restore before cutting over live phone traffic, then kill a compute node during a test call and run a version upgrade while calls are flowing.

The same checklist turns into four questions for any platform vendor or managed private cloud partner. Ask who gets paged when call routing, speech inference or database replication degrades at night, and who tests and applies operating system, container runtime and application security updates, on what schedule. Ask which RPO and RTO are backed by automated failover drills instead of best-effort promises. Finally, ask whether every byte of audio, transcript and inference stays inside your boundary, or whether any metadata leaves it.

How Dograh runs in each deployment model

Dograh is the orchestration layer that runs the call flow, tools and telephony, and the speech and language models are a separate layer you choose. The platform goes into the first two rows of the table the same way. The Docker deployment guide installs two images, dograh-api and dograh-ui, with Postgres, Redis and MinIO under Docker Compose, on a server with at least 8 GB of RAM and 4 vCPUs, whether that server sits in your rack or in your own cloud account. While the models run through provider APIs, the server needs no GPU.

The stateless and stateful split from the recovery section maps straight onto that install. The two app containers keep no call records, so an update pulls new images, with both carrying the same version tag. Call records live in the Postgres database, while recordings and transcripts go to the bundled MinIO object storage, or to an S3 bucket or another S3-compatible server once you set ENABLE_AWS_S3=true. There is no retention setting or automatic deletion, so backups, restore drills and the RPO for each store stay with your team.

With your own model keys, the contract is between you and each provider, and the audio still reaches its servers. Keeping every layer inside the perimeter means open-weight models on your own hardware, with speech-to-text and voices served by a Speaches server and the language model by an OpenAI-compatible endpoint such as Ollama or vLLM. On a closed network, set ENABLE_TELEMETRY=false and build agents on the canvas, since the Agent Builder runs on Dograh's models. A self-hosted install takes 10 concurrent calls by default, and your servers and phone provider set the practical ceiling.

Self-hosting Dograh means no per-minute platform fee. You still pay for servers, model keys and phone minutes, and your team looks after the database and upgrades. Support comes from the open-source community, and the Enterprise plan adds custom SLAs and covers on-premise or private-cloud deployment inside your data perimeter. Dograh Cloud runs it for you for a 1¢-a-minute platform fee. Bring your data-location rule and your on-call names to Dograh, and pick the row your team can carry.

Glossary

Private cloud
NIST's term for cloud infrastructure provisioned for one organization's exclusive use. It may be run by that organization or a third party, on or off premises.
East-west traffic
Traffic between services inside the same environment, as opposed to traffic entering or leaving it. Default-deny rules here stop an attacker moving sideways.
Recovery Point Objective (RPO)
The most data, measured in time, the business accepts losing in an incident. A 15-minute RPO needs copies at least every 15 minutes.
Recovery Time Objective (RTO)
How fast a service must be running again after a failure. It decides how much of the restore has to be automated.

Frequently Asked Questions

Built with Outrank tool

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.