Data Localization in Vietnam: What Foreign SaaS Companies Actually Need to Do

If your SaaS collects personal data from users in Vietnam, you may already be in scope of Decree 53/2022/ND-CP, Vietnam's data localization regulation. The good news: compliance does not require a local office, a data center build-out, or hiring a Vietnamese legal team full time. For most foreign companies, the cheapest compliant footprint is a single VPS located inside Vietnam, configured for storage and retention. This article explains exactly what you need to do, step by step.
越南数据本地化只要求越南用户数据留在境内,无需搬迁整套系统。
Data localization in Vietnam only requires Vietnamese user data to stay in-country, not your whole stack.
Does Your Service Fall Under Data Localization in Vietnam?
The first question is not "how do I store data in Vietnam?" but "am I required to?" Decree 53 applies to foreign companies that provide telecom, internet, or value-added services on a domestic network that collect personal data or user relationship information from people in Vietnam. The trigger is not a user count or revenue threshold, if your service processes Vietnamese user data and operates through a domestic network path, you are in scope.
Types of services typically covered include social networks, messaging platforms, online gaming, e-commerce platforms, cloud storage, VPNs, and SaaS platforms that store user-generated content or personal profiles. If your users in Vietnam create an account, upload files, submit forms, or exchange messages through your service, you likely fall under the requirement.
The key point: data localization in Vietnam is not optional if you are in scope. The regulation requires you to store certain data inside Vietnam for a minimum of 24 months and to have a representative or technical infrastructure inside the country. Many foreign companies initially assume they can ignore this, but the legal risk of non-compliance, including service disruption orders, is real.
Step 1, Assess Your Data Types and Retention Requirements
Once you confirm you are in scope, the next step is mapping what data must stay in Vietnam. The regulation covers two categories: personal data (name, phone, email, location, payment info, behavioral data) and user relationship information (interactions, times, IP logs, friend connections, content metadata). Practically, this means any database table that contains user profiles, activity logs, and communication records falls under retention.
The retention period is 24 months from the date the data was collected or updated. You are not required to store it forever, after 24 months, you may delete or anonymize it. However, you must be able to demonstrate that the data was stored inside Vietnam during that window. This is where a VPS in Vietnam with local storage becomes the simplest solution: a leased server with a Vietnam IPv4 and domestic routing, running a retention-compliant database, satisfies the physical storage requirement.
What does not need to be stored locally: transient processing data, temporary caches, or data that has been fully anonymized and cannot be re-linked to a specific user. Keep clear documentation of your data classification, it will matter if you are audited.
Step 2, Set Up a Vietnam Storage Infrastructure
You do not need a full data center or colocation space. For most SaaS companies, a single VPS inside Vietnam suffices. The key requirements are:
- An IPv4 from Vietnam's address range, this proves the server is physically and logically inside the country's network.
- Domestic routing, traffic between the VPS and Vietnamese users stays on domestic backbones (operated by Viettel IDC, VNPT IDC, or FPT Telecom, the three major telecom carriers in Vietnam).
- NVMe storage for the retention database, with snapshot and backup capabilities for audit readiness.
A typical compliant setup: a VPS with 2 vCPUs, 4 GB RAM, 50 GB NVMe storage, running PostgreSQL or MariaDB on Ubuntu 24.04. This VPS receives replicated data from your main application servers, only the data that falls under Vietnam's scope, and stores it with a retention timestamp. Because the VPS sits on a Vietnam network with a local IP, it satisfies the "infrastructure inside Vietnam" requirement without needing a physical office or a local legal entity.
If you need more capacity, plans scale to 8 vCPUs, 16 GB RAM, and 100 GB NVMe storage. Dedicated servers are also available for companies handling larger volumes, with unlimited bandwidth, a dedicated IPv4, free rDNS, and free IPKVM for remote management. Colocation exists at Tier 3 datacenters (Viettel IDC and VNPT IDC) with 100 Mbps commit on a 1 Gbps port, but for most foreign SaaS companies, a VPS is the pragmatic entry point.
Step 3, Configure Data Retention and Auditing
Having the storage is only half the solution. You must also implement a process that ensures data is retained for exactly 24 months, then properly removed. Set up a retention cron job or database event that:
- Tags each record with a collection timestamp.
- Deletes or anonymizes records older than 24 months.
- Logs every deletion event for audit purposes.
Use systemd timers or a simple Python/Node.js script that runs daily, queries the retention database, and purges expired rows. The log output should include which records were removed and when, this is your proof of compliance. Store the logs on the same VPS or push them to a write-once object storage bucket if your auditor requires longer retention of deletion records.
Do not forget access control: the retention VPS should only be reachable from your application servers, not from the public internet. A restrictive nftables firewall rule set that allows inbound only on a specific port from your main server's IP is sufficient. Full root access on the VPS means you control every layer of the stack.
What About a Representative in Vietnam?
Decree 53 also requires foreign companies to designate a representative in Vietnam for regulatory contact. This can be a local service provider, a lawyer, or an employee. You do not need to incorporate a subsidiary, a contractual relationship with a Vietnamese firm that accepts service of documents is acceptable. This is separate from the technical infrastructure requirement, but both must be in place.
Many foreign companies combine the VPS solution with a local legal representative service. The VPS handles the data storage and domestic routing; the representative handles the paperwork and regulatory communication. Neither requires you to rent office space or hire full-time staff locally.
Common Mistakes Foreign SaaS Companies Make
The most frequent error is overcomplicating the solution. Some companies attempt to build a mirrored replica of their entire production environment inside Vietnam, which multiplies cost and complexity. The regulation only requires storage of the regulated data types, not your entire application stack. A lean VPS with a replica of the relevant tables and a retention script is sufficient.
Another mistake: assuming that cloud providers in Singapore, Hong Kong, or Japan can satisfy the localization requirement because they offer edge nodes near Vietnam. Data localization in Vietnam specifically requires the server's IPv4 to be from the Vietnam address range and the storage hardware to be physically located within the country. No regional cloud edge meets this, only a server inside Vietnam with a local IP qualifies.
A third error is neglecting the verification step. After setting up the VPS, run a simple test: use a tool like curl ifconfig.me or ip addr show on the server to confirm the IPv4 is from the Vietnam range. Check the carrier (Viettel, VNPT, or FPT). Confirm the server is reachable from your main infrastructure. Document the setup in case you need to demonstrate compliance to regulators.
FAQ
Does my company need to open a legal entity in Vietnam for data localization?
No. You can satisfy the regulation with a leased VPS inside Vietnam for the technical side and a local representative (service provider or lawyer) for the administrative side. No subsidiary or office is required.
What happens if I do not comply with Vietnam's data localization rules?
Regulators can issue orders to block or restrict your service in Vietnam, impose fines, and require public correction. The enforcement track is active, particularly for social networks, e-commerce, and communication platforms.
How do I verify that my VPS is truly inside Vietnam?
Check the server's public IPv4 against the Vietnam address range using a geo-IP lookup tool. Confirm the carrier, the upstream ASN should belong to Viettel, VNPT, FPT, or another Vietnam-based provider. The server's routing table will show domestic routes to Vietnam ISPs.
Can I use a CDN or cloud edge node instead of a VPS?
No. A CDN or cloud edge node does not provide local storage with a Vietnam IPv4 and domestic backbone routing. The regulation requires the data to be stored inside Vietnam on infrastructure that sits on the domestic network.
What is the minimum VPS spec I need for compliance?
1 vCPU, 2 GB RAM, 20 GB NVMe storage is the smallest entry point. For most SaaS companies with a few thousand Vietnamese users, 2 vCPUs and 4 GB RAM with 50 GB storage is a safe baseline. You need only enough capacity to store the regulated data and run the retention script.
How long do I need to keep data under Decree 53?
24 months from the date of collection or last update. After that, you must delete or anonymize it. You are required to demonstrate compliant deletion, so log all removal operations.
Related articles
- Does Decree 53 require my company to host data in Vietnam
- What happens after A05 issues a written storage request
- Vietnam VPS vs Singapore VPS for serving Vietnamese users
Disclaimer: This article provides general guidance on data localization requirements in Vietnam and is not a substitute for professional legal advice. Regulations may change and their application depends on your specific circumstances. Consult a Vietnamese lawyer for a compliance assessment of your service.
外国SaaS公司如何做越南数据本地化
数据本地化只要求越南用户的数据留在越南境内,并不要求整套系统搬迁。实际做法是:先判断业务是否在管辖范围内,再准备一台越南境内的存储节点,并满足24个月留存。租用一台越南VPS通常是成本最低的合规方案。


