Qyma

Cloud Migration in Saudi Arabia: Getting Data Residency Right

Data classification, the cloud regulatory framework, cybersecurity controls and in-Kingdom regions — how to design a cloud architecture that passes review instead of one you have to unwind.

Cloud migration in the Kingdom has a failure mode that does not exist in most markets: a technically excellent architecture that cannot legally hold the data it was built for. The team lifts workloads to a familiar region, runs a successful pilot, and then discovers during a security review that a class of data in the system was never permitted to leave the country.

Unwinding that is far more expensive than designing for it. The sequence that works puts classification before architecture — always.

Classify before you architect

The Kingdom's data governance framework classifies data by the impact of unauthorised disclosure, running from the most sensitive national-level categories down to data that is genuinely public. Where a given dataset sits determines what hosting options are open to it, and the constraints tighten sharply at the upper levels.

The practical error is treating classification as a whole-system property. It is not. A single application typically holds several classes at once: the customer database, the anonymised analytics extract, the marketing content, the system logs and the support attachments may each fall differently. Architectures that classify at the application level force the entire system to the most restrictive tier, which is expensive and usually unnecessary.

Do this firstBefore evaluating a single provider, build a data inventory: every dataset, its classification, its volume, its growth rate, and which systems touch it. This document determines your architecture. Teams that skip it end up selecting a provider and then discovering the constraint, which is the sequence that produces rework.

The regulatory layers you are working within

Three separate regimes apply, and they are frequently confused with one another:

The cloud computing regulatory framework, administered by the Communications, Space and Technology Commission, governs cloud service provision in the Kingdom — registration of providers, customer rights, and obligations around data handling and location.

Cybersecurity controls issued by the National Cybersecurity Authority, including the essential controls and the cloud-specific controls, set the technical and governance baseline. If you serve government or operate critical national infrastructure, these are contractual obligations rather than guidance, and they will be audited.

The Personal Data Protection Law applies independently to any personal data in the system, including the rules on transfer outside the Kingdom. A workload can be perfectly compliant with the cloud framework and still be in breach on the personal data dimension.

These do not collapse into a single checklist. A useful discipline is to run each design decision past all three separately, because the binding constraint differs by workload.

The hosting options in practice

In-Kingdom hyperscaler regions. Several major cloud providers now operate or have announced regions inside Saudi Arabia. This is the strongest position for most regulated workloads: familiar tooling and managed services with data at rest inside the country. Verify current service availability carefully — a new region typically launches with a subset of the provider's full catalogue, and the specific managed service your architecture assumes may not be there yet. Verify also where support access and control-plane metadata sit, which is a separate question from where your data is stored.

Local providers and sovereign offerings. Saudi providers and sovereign cloud arrangements built specifically for regulated workloads. Strong on residency and often on regulator familiarity. The trade-off is a narrower managed-service catalogue, which means more of the operational burden stays with your team.

Hybrid. Regulated data in-Kingdom, everything else wherever it makes sense. This is where most large organisations land, and it is a reasonable answer — but it is also the hardest to operate. Two environments means two security postures, two operational models, and a data-flow map that has to be actively maintained rather than drawn once.

On-premises retention. Still correct for some workloads. Cloud is not a goal in itself, and a stable system with a hard residency constraint and no scaling pressure may simply not be worth moving.

Where data leaks out of your architecture

Most residency findings in review are not about the primary database. They are about the periphery, which nobody drew on the diagram:

  • Backups and disaster recovery. A cross-region replication policy that was sensible in a global deployment can move regulated data out of the country automatically. Check the replication configuration, not the intent.
  • Logs and telemetry. Application logs routinely contain personal data. If your observability platform is hosted abroad, you are transferring data continuously and nobody wrote it down.
  • Third-party services. Email delivery, SMS gateways, analytics, error tracking, support desks, payment processors, model APIs. Each is a data flow across a border. The sub-processors of those services are flows too.
  • Content delivery and edge caching. A CDN caches responses at edge locations worldwide by design. What is being cached matters.
  • Vendor support access. A provider may store your data in-Kingdom while their support engineers access it from another country. This is a transfer, and it is usually documented deep in the service terms rather than on the pricing page.
  • Non-production environments. Development and test systems populated with a copy of production data — which happens far more often than teams admit — carry exactly the same obligations as production.

A migration sequence that works

  1. Inventory and classify. Every dataset, every system. This is the foundation and it cannot be skipped.
  2. Map the flows. Not just where data rests, but where it moves — including every integration and third-party service. Draw the actual picture, not the intended one.
  3. Set the constraints per workload. Which must be in-Kingdom, which may go abroad with safeguards, which are unrestricted. Get this signed off by legal and security before design, not after.
  4. Design to the constraints. Only now choose providers, regions and services.
  5. Migrate lowest-risk first. Public-facing content, internal tooling, development environments. Build operational competence on workloads where a mistake is survivable.
  6. Instrument residency continuously. Use policy-as-code to prevent resources being created outside permitted regions. A one-time architecture review does not stop a developer spinning up a database in the wrong region eight months later — an enforced policy does.

On the cost argument

Cloud migration is often justified on cost savings that do not materialise, for a well-understood reason: lifting an application unchanged onto cloud infrastructure usually costs more to run than the hardware it replaced. The saving comes from architectural change — scaling to actual demand, retiring idle capacity, replacing self-managed components with managed ones — not from the move itself.

The genuine benefits are usually speed of provisioning, elasticity for variable load, resilience that would be expensive to build yourself, and access to managed services your team would otherwise have to operate. Those are real and worth having. Build the case on them, and treat any cost reduction as a bonus that arrives later, after optimisation.

The principle

In the Kingdom, cloud architecture is downstream of data classification. Establish what you hold and what each class permits, map every flow including the peripheral ones, and enforce the resulting constraints in code rather than in a document. Do it in that order and the compliance review becomes a formality. Do it in the other order and you will pay for the migration twice.

Frequently asked questions

Does all Saudi data have to be stored inside the Kingdom?

No — the requirement depends on the classification of the specific dataset. The national data governance framework classifies data by the impact of unauthorised disclosure, and the constraints tighten sharply at the more sensitive levels while genuinely public data faces few restrictions. This is why classification must precede architecture: a single application typically holds several classes at once, and treating the whole system as one class forces everything to the most restrictive tier unnecessarily.

Can we use international cloud providers for Saudi workloads?

Yes, in many cases. Several major providers now operate or have announced regions inside Saudi Arabia, which is the strongest position for most regulated workloads. Verify current service availability in the local region, since new regions typically launch with a subset of the full catalogue, and separately verify where support access and control-plane metadata sit — that is a different question from where data is stored at rest.

Which regulations apply to cloud deployments in Saudi Arabia?

Three separate regimes, and they are often confused. The cloud computing regulatory framework administered by the Communications, Space and Technology Commission governs cloud service provision. Cybersecurity controls issued by the National Cybersecurity Authority set the technical and governance baseline, and are contractual obligations for government-facing and critical infrastructure work. The Personal Data Protection Law applies independently to any personal data, including rules on transfer outside the Kingdom.

Where do data residency problems usually come from?

Rarely from the primary database, and almost always from the periphery: cross-region backup replication, logs and telemetry sent to observability platforms hosted abroad, third-party services such as email, SMS, analytics and error tracking, CDN edge caching, vendor support engineers accessing data from other countries, and non-production environments populated with copies of production data.

Will migrating to cloud reduce our infrastructure costs?

Usually not immediately. Lifting an application unchanged onto cloud infrastructure typically costs more to run than the hardware it replaced. Savings come from architectural change — scaling to actual demand, retiring idle capacity, replacing self-managed components with managed services — rather than from the migration itself. The reliable benefits are provisioning speed, elasticity, resilience and access to managed services, and the business case is more honest when built on those.