> 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 optimize cost-performance ratios across providers and on-premises infrastructure
* **Evolve incrementally** — adopt new technologies without forced wholesale migration
