Why Companies Are Leaving the Public Cloud
In this article
Yes, a growing number of companies are deliberately moving workloads off the public cloud and back to private data centers or on-premises infrastructure. The main reasons are cost unpredictability, data governance concerns, and performance latency. This guide explains the rationale and outlines a practical step-by-step approach for evaluating and executing a partial or full exit from public cloud services.
What You'll Need
- An inventory of your current cloud workloads, including dependencies and data flows.
- Cost reports from your cloud provider (e.g., AWS, Azure, Google Cloud) for the last 6–12 months.
- Access to your organization's security and compliance policies.
- A clear list of business objectives (e.g., reduce costs, improve latency, meet regulatory requirements).
- Approval from stakeholders (finance, IT, legal) before starting any migration.
Step-by-Step
- Audit your current cloud usage. List every application, database, storage bucket, and serverless function. Note which ones are critical, which are test/dev, and which are already deprecated. Use your cloud provider's cost explorer or billing dashboard to see monthly spend per service.
- Identify the “why” for each workload. For each item in your inventory, write down the primary reason it might leave the cloud: cost, data sovereignty, latency, or vendor lock-in. Be honest—some workloads may actually be cheaper and more reliable in the cloud.
- Calculate total cost of ownership (TCO). Compare the cloud's all-in cost (compute, storage, egress, support, and administrative overhead) against the cost of running the same workload on-premises or in a colocation facility. Include hardware depreciation, power, cooling, and staffing. Use a simple spreadsheet or a TCO calculator from a vendor (e.g., VMware, Dell) but verify assumptions.
- Assess data gravity and dependencies. For each workload, map out what talks to it: APIs, databases, authentication services, and external partners. If a workload depends on cloud-native services (like AWS Lambda or Azure Active Directory), you'll need to replace those with equivalents or run them yourself.
- Check compliance and regulatory requirements. If your industry (finance, healthcare, government) has strict data residency or privacy rules, review those against your cloud provider's regions and data handling. If the cloud cannot meet a specific requirement, that's a strong reason to move.
- Prioritize workloads for migration. Start with the easiest and least risky: stateless applications, test environments, or workloads with low data transfer volumes. Save the most complex (e.g., large databases, real-time streaming) for later or keep them in the cloud if the risk is too high.
- Design your target environment. Choose a private cloud platform (e.g., OpenStack, VMware vSphere) or a colocation provider. Plan for compute, storage, networking, and backup. Ensure you have the skills in-house or hire consultants—this is not a weekend project.
- Plan the migration in phases. For each workload, create a migration plan: freeze changes, export data, set up the new environment, test, and cut over. Use a phased approach (e.g., move 10% of workloads first) to minimize disruption.
- Execute the migration. Use standard tools like database dumps, rsync for files, and configuration management (Ansible, Terraform) to replicate the environment. For large databases, plan for downtime or use replication tools if available. Test thoroughly after each move.
- Monitor and optimize. After moving, track performance, costs, and error rates. Compare against the cloud baseline. Adjust resources and configurations as needed. Document lessons learned for the next wave.
- Decommission cloud resources. Once you're confident the new environment is stable, delete the cloud resources to stop billing. Double-check that you've exported all logs and data you need, then remove them from the cloud provider's console.
Common Mistakes
- Underestimating operational overhead. Running your own infrastructure means patching, monitoring, and scaling are your responsibility. Many companies find the cloud's “managed” aspects were worth the premium.
- Ignoring egress fees. Moving data out of the cloud can incur significant charges. Budget for these before you start.
- Migrating everything at once. A big-bang approach usually leads to failures. Phase it.
- Not accounting for hidden dependencies. A simple app may rely on cloud-specific services like managed databases or message queues. Rebuilding those on-prem can be costly.
- Forgetting security. On-prem environments need the same security controls (firewalls, encryption, access management) as the cloud. Don't assume you can skip them.
Tips
- Start with a small, non-critical workload to prove the process works before attempting anything big.
- Negotiate with your cloud provider for reduced egress fees or a migration credit—many offer incentives to keep you.
- Use containerization (Docker, Kubernetes) to make workloads portable. That way, you can move them back and forth with less pain.
- Involve your legal and compliance teams early to avoid surprises.
- Keep a “cloud exit” runbook updated even if you never use it—it forces you to understand your own architecture.
Troubleshooting
If the migration fails or costs spiral:
- First, check if the failure is due to a missing dependency. Review logs and network traffic to see what's not connecting.
- If performance is poor, check your new environment's resources (CPU, memory, disk I/O) and compare with the cloud's specs. You may need to add more.
- If costs are higher than expected, look for hidden fees: licensing, support, or hardware refresh cycles. Revisit your TCO model.
- If you're stuck, consider a hybrid approach: keep the most complex workloads in the cloud and move only the ones that are straightforward.
- If you've already deleted cloud resources and find you need them again, you can restore from backups—but that adds time and cost. Always keep backups for at least 30 days after migration.
Frequently Asked Questions
Is it cheaper to run your own data center?
Not always. For steady, predictable workloads, on-prem can be cheaper, but for spiky or growing workloads, the cloud's elasticity often wins. You need to do a detailed TCO analysis for your specific case.
Can I move back to the cloud later?
Yes, but it's not trivial. If you design for portability (using containers and standard APIs), you can move back if needed. Just be aware of the costs and effort.
What about data security? Is on-prem more secure?
Not inherently. Security depends on your team's expertise and processes. Cloud providers offer strong security, but you still share responsibility. On-prem gives you full control, but you must manage everything.
How long does a typical migration take?
It varies widely—weeks for a few small apps, months for large enterprise systems. Plan for at least double your initial estimate.
Do I need to hire new staff?
Likely yes, or train existing staff. Running your own infrastructure requires skills in networking, storage, virtualization, and security. Many companies underestimate this.
What if I only want to move some workloads?
That's common. A hybrid approach—keeping some things in the cloud and moving others—is often the best balance. Just ensure you have clear criteria for what stays and what goes.