Sovereign Clouds and Confidential Computing: Securing Data in a Borderless World

I have spent a lot of time arguing with compliance officers who think that selecting a specific AWS region is the same thing as achieving data sovereignty. It is not. If you are running a regulated workload in a region physically located in Germany, but the company managing that hardware is headquartered in the US, you are still subject to the US CLOUD Act. That is the fundamental friction we are dealing with right now. We want the scale of global cloud providers, but the legal reality of a borderless world means that data residency is a legal minefield [1].

The Sovereignty Delusion

Most engineers treat the cloud as an abstract pool of resources. We think in terms of availability zones and latency. But for a bank or a government agency, the cloud is a physical location governed by specific laws. Data sovereignty is the principle that data is subject to the laws and governance structures within the nation it is collected. The problem is that the traditional cloud model relies on a high degree of trust in the provider. You trust the hypervisor, you trust the cloud admin with root access, and you trust the provider not to hand over your keys to a government agency under a secret court order.

That trust is a liability.

When we talk about sovereign clouds, we are usually talking about one of two things. The first is the ‘hard’ approach: building a local cloud with local hardware, managed by local citizens, with no connection to foreign entities. This is expensive, inefficient, and usually results in a platform that is five years behind the rest of the industry. The second is ‘technical sovereignty.’ This is where we use the global cloud but use hardware-level primitives to ensure the provider cannot actually see or touch the data. This is where confidential computing comes in.

Closing the Gap in Data Protection

We have spent decades perfecting encryption at rest and encryption in transit. We use AES-256 for disks and TLS 1.3 for the wire. But there is a massive hole in this strategy: data in use. To process data, the CPU has to decrypt it. For a brief window, your most sensitive PII or trade secrets sit in plaintext in the system RAM. If a malicious actor—or a compromised hypervisor—dumps the memory of your VM, they have everything.

Confidential computing attempts to solve this by introducing Trusted Execution Environments (TEEs). I like to think of a TEE as a ‘black box’ inside the processor. It is a hardware-isolated area of memory that is encrypted with keys managed by the CPU itself, not by the OS or the hypervisor.

To understand why this matters, look at the three states of data:

  • Data at Rest: Encrypted on disk; the threat is physical theft of the drive or unauthorized file access.
  • Data in Transit: Encrypted via TLS; the threat is man-in-the-middle attacks or packet sniffing.
  • Data in Use: Encrypted in RAM via TEEs; the threat is a compromised privileged user, a rogue cloud admin, or a kernel-level exploit.

By encrypting the memory, the CPU ensures that even if the cloud provider has full physical and administrative access to the server, they see nothing but ciphertext when they look at the RAM allocated to the enclave. This effectively decouples the ownership of the hardware from the ownership of the data.

The Mechanics of Hardware Trust

If you are implementing this, you are likely looking at a few different hardware paths. Intel SGX (Software Guard Extensions) is the most granular. It allows you to create small enclaves of code and data. The catch is that you have to rewrite your application to separate the ‘trusted’ code from the ‘untrusted’ code. It is a pain in the neck for developers, but it provides a very small attack surface.

Then you have AMD SEV (Secure Encrypted Virtualization). This is much easier to deploy because it encrypts the entire VM. You do not have to rewrite your app; you just run it in a confidential VM. The trade-off is a larger attack surface because the entire guest OS is inside the TEE. I would argue that for most enterprise use cases, SEV-style encryption is the only pragmatic way forward, even if it is theoretically less secure than a tiny SGX enclave.

The real magic, however, isn’t just the encryption—it is the attestation. Attestation is the process by which the hardware provides a signed cryptographic proof that the enclave was initialized correctly and is running the exact code you think it is. Without attestation, you are just trusting the provider’s word that the VM is encrypted. With attestation, the CPU generates a report, signs it with a hardware-embedded key, and sends it to you. You verify the signature against the chip manufacturer’s root of trust. If the hash of the loaded code doesn’t match your known good build, you don’t send the decryption keys to the VM.

This is the only way to achieve actual technical sovereignty. You aren’t trusting the cloud provider; you are trusting the silicon.

Multi-Cloud Strategies for Regulated Industries

For industries like banking, the move toward SaaS and cloud is inevitable because the speed of innovation on-prem is too slow [1]. But the risk of vendor lock-in combined with the risk of jurisdictional overreach is a nightmare. This is why we see a push toward multi-cloud architectures. If you can run a confidential workload on Azure and move it to GCP or a local sovereign provider without changing your security model, you have solved the lock-in problem.

The more interesting problem is the ‘Sovereign Cloud’ offerings we are seeing from the big three. They are essentially creating a hybrid. They provide the infrastructure, but they partner with a local entity that manages the keys and the physical access. When you layer confidential computing on top of that, you get a defense-in-depth strategy. The local partner handles the legal residency, and the TEE handles the technical isolation.

I’ve seen teams try to do this with software-defined security, using complex layers of proxies and custom encryption libraries. It always fails. Software is too malleable. If the underlying kernel is compromised, your software encryption is just a speed bump. Hardware-level isolation is the only thing that actually holds up under a professional audit.

The Performance Tax and Complexity

Let’s be honest: this isn’t free. There is a performance hit when you encrypt and decrypt memory on the fly. Depending on the workload, you might see a 2% to 10% overhead. For most business applications, that is negligible. For high-frequency trading or real-time analytics, it is a dealbreaker.

Then there is the key management. If you are using TEEs, you cannot let the cloud provider manage your keys. You need an external Key Management Service (KMS) or a Hardware Security Module (HSM) that exists outside the cloud provider’s boundary. This introduces latency and a new point of failure. If your external KMS goes down, your confidential VMs cannot boot because they cannot retrieve the keys needed to decrypt the memory.

I often see architects underestimate the complexity of the attestation pipeline. Setting up a verification service that can handle thousands of attestation requests per second without becoming a bottleneck is a non-trivial engineering task. You have to manage the certificate chains from the hardware vendor, handle rotations, and ensure that the attestation evidence is fresh.

The Future of the Borderless Cloud

We are moving toward a world where ‘trust’ is no longer a contractual agreement but a cryptographic one. The old way was to sign a Business Associate Agreement (BAA) or a Service Level Agreement (SLA) and hope the provider followed their own rules. The new way is to assume the provider is compromised and use hardware to make that compromise irrelevant.

I suspect we will see a rise in ‘Confidential Containers.’ Instead of encrypting the whole VM, we will encrypt the individual container images and their runtime memory. This would allow for a much more efficient use of resources while maintaining the same level of isolation. It would also make the move between different sovereign clouds much faster, as you’d be moving a portable, encrypted unit of execution rather than a massive VM image.

The push for data sovereignty isn’t just about politics; it is about risk management. In a world where data is the most valuable asset, the ability to prove—mathematically—that no one else has access to that data is the only real competitive advantage. If you are still relying on a ‘trust me’ from your cloud provider, you aren’t actually in control of your data.

The goal is to reach a state where the physical location of the server is irrelevant because the security is baked into the silicon, not the geography.

For the engineer on the ground, this means we need to stop thinking about security as a perimeter problem. The perimeter is dead. The network is hostile. The hypervisor is suspect. The only thing we can trust is the hardware root of trust and the code we have cryptographically verified. That is the only way to operate a regulated business in a borderless world [1].

If you are designing a system today, start by asking where your data is ‘naked.’ If there is any point where your data is in plaintext in memory and accessible to a root user on the host, you have a sovereignty gap. Closing that gap requires more than a legal contract; it requires a move to confidential computing. It is a steep learning curve, and the tooling is still maturing, but it is the only path that actually works for high-stakes environments.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.