> For the complete documentation index, see [llms.txt](https://docs.cdpi.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability.md).

# Cloud-Agnostic Deployment of DPI and Data Portability

### Executive Summary

Cloud-agnostic architecture is not merely a technical preference but a strategic imperative for DPI implementations. As infrastructure-as-code and one-click deployment patterns mature, the ability to deploy, migrate, and operate DPI systems across multiple cloud providers or on-premises infrastructure becomes both technically feasible and operationally prudent.

### The Strategic Case for Cloud Agnosticism

#### Sovereign Control, Economic Flexibility, and Risk Mitigation

Digital Public Infrastructure demands architectural decisions that preserve **sovereignty**, maintain **economic flexibility**, and mitigate **concentration risk**. Cloud-agnostic design ensures that country authorities retain the benefits of cloud speed and flexibility whilst preserving the ability to:

* **Migrate workloads** across providers without wholesale re-architecture, reducing switching costs when better alternatives emerge
* **Negotiate from strength** with cloud service providers, leveraging competitive pricing and avoiding cost escalation from vendor lock-in
* **Maintain operational continuity** independent of any single vendor's business decisions, outages, or security incidents
* **Respond to geopolitical and regulatory shifts** that may affect cloud service availability, without disruption to essential services
* **Adopt hybrid strategies** that optimise cost-performance ratios across providers and on-premises infrastructure
* **Evolve incrementally** — adopt new technologies without forced wholesale migration

### Sections in this note

This note is published as a series of short sections. Each can be read on its own:

* [Architectural Principles for Cloud-Agnostic DPI](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/architectural-principles-for-cloud-agnostic-dpi)
* [Design deep dive](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/design-deep-dive)
* [Data Portability as Core Principle](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/data-portability-as-core-principle)
* [Implementation Patterns](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/implementation-patterns)
* [The Role of One-Click Deployment](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/the-role-of-one-click-deployment)
* [Governance and Decision Frameworks](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/governance-and-decision-frameworks)
* [Challenges and Trade-offs](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/challenges-and-trade-offs)
* [Recommendations for DPI Implementations by System Maturity](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/recommendations-for-dpi-implementations-by-system-maturity)
* [Future Directions](https://docs.cdpi.dev/technical-notes/cloud-agnostic-deployment-of-dpi-and-data-portability/future-directions)
