Data Residency vs Data Sovereignty Explained
Primary Guard · December 4, 2026 · 4 min read
Data residency is where your data sits. Data sovereignty is whose laws reach it. Learn how they differ for Malaysian businesses, with a CDN example.
Data residency vs data sovereignty is a question of place versus law. Data residency is where your data is stored. Data sovereignty is whose laws can reach it. For a Malaysian business, the two can point to different countries.
Data kept in Malaysia is not automatically free of foreign law, and data stored abroad can still follow Malaysian rules. Below are a real event and a CDN example.
What is data residency?
Data residency is the physical or regional location where data is stored and processed. It answers one simple question: where does the data sit?
For a CDN, the question has two parts. Where is traffic processed, and where are the logs kept?
What is data sovereignty?
Data sovereignty is about legal control. It asks which country's laws apply to the data, and which authorities can demand access. The two ideas often travel together, but they are not the same. A provider can store your data in one country while being bound by the laws of another.
Why storing data in one country is not enough
In June 2025, a senior Microsoft France executive appeared before a French Senate inquiry on digital sovereignty. He was asked whether he could guarantee, under oath, that French citizens' data would never go to US authorities without French consent. He said he could not. He added that this had never happened before.
The point is not about one company. It shows that the location of a server and the law that binds its owner can differ.
Does Malaysian law require data to stay in Malaysia?
No. Malaysia does not ban data from leaving the country. Under section 129 of the Personal Data Protection Act (PDPA), a controller may send personal data abroad if the destination has a substantially similar law. It may also do so if the destination ensures an adequate level of protection.
The regulator issued its Cross Border Personal Data Transfer Guidelines on 29 April 2025. They say a Transfer Impact Assessment is optional but can support compliance. They also expect processor contracts that cover security, plus records of each receiver. Our PDPA guide covers the other conditions.
Data residency vs data sovereignty: a CDN example
A CDN touches traffic, caches and logs, so it makes a good example. bunny.net is an EU-based CDN provider, and its FAQ says traffic logs are stored in the EU. IP anonymisation is on by default. If a customer turns it off, the logs stay in the EU and are stored in Germany.
These are EU controls. For Malaysian data, ask the provider to confirm your region in writing.
Three questions to ask any provider
Question 1: Where are logs and backups stored, and can we change the region?
Question 2: Which country's law binds the provider and its parent company?
Question 3: What does the contract say about government requests?
How Primary Guard helps
Primary Guard is an authorised bunny.net enterprise partner in Southeast Asia. We help Malaysian teams with setup, migration and monitoring. To see why a CDN matters for security, read our guide to the first line of defence.
If you are unsure where your CDN logs sit today, you are welcome to ask for a free bunny.net assessment whenever it suits you.
Frequently asked questions
Can a company meet residency goals but fail on sovereignty?
Yes. Data can sit in Malaysia while the provider belongs to a foreign group that must follow foreign law. Check both the location and the owner.
Does a CDN store my customers' data?
A CDN caches content and keeps request logs. Whether those logs hold personal data depends on your settings, such as IP anonymisation. Review the logging options before you go live.
Who should own this decision?
Share it between legal, IT and the business. Legal reads the rules, IT checks the settings and the business accepts the risk.
Key takeaway
Residency is where your data sits. Sovereignty is whose law reaches it. Ask providers about both, keep your own backups and write the answers down.
Sources
PDP Commissioner Malaysia | Cross Border Personal Data Transfer Guidelines (29 Apr 2025) | The Register | Microsoft admits it cannot guarantee data sovereignty (25 Jul 2025) | bunny.net | Frequently Asked Questions
This article is general information, not legal advice. Check the current PDPA text and any sector rules with your legal adviser.