On this page · 13 min
Why it matters: the questionnaire an EU region can't answer
Picture a payroll software company in Lyon. Production runs in a large US cloud provider's Paris region, CI runs on a US-hosted runner service, and the team's coding agents work in sandboxes from a US startup, set to a European region. A new customer, a regional bank, sends a security questionnaire, and one line reads: is any company that processes our data subject to the US CLOUD Act or FISA Section 702?
The platform lead answers that all data is stored in the EU. The bank's data protection officer (DPO) sends it back, because the question asked which governments can compel the companies involved, and the answer described where the disks are.
The bank's question also covers more machines than production. Engineers pull database extracts onto dev environments to debug, and coding agents copy files onto whatever machine they run on. Some company operates each of those machines, so the question applies to them too.
Providers themselves can't rule it out. At a French Senate hearing in June 2025, Microsoft France's legal chief was asked whether he could guarantee that data would never go to the US government without the consent of French authorities, and under oath he couldn't guarantee it. He added that it had never happened.
What is the CLOUD Act?
The CLOUD Act is a US federal law from March 2018 that says a US order served on a provider covers the data that provider controls, wherever it's stored. The name stands for Clarifying Lawful Overseas Use of Data Act. It amended the Stored Communications Act, the law that sets how US investigators get data from email and hosting providers.
It grew out of one court case. In 2013, US investigators on a drug case served Microsoft with a warrant for a customer's emails, and Microsoft refused because the emails were on a server in Ireland. An appeals court sided with Microsoft in 2016, and the case was before the Supreme Court when the Act passed and made the dispute moot.
The core of the Act is one sentence, now 18 U.S.C. § 2713. It requires a provider to disclose data "within such provider's possession, custody, or control, regardless of whether such communication, record, or other information is located within or outside of the United States." Since then, a US order has depended on whether the company that receives it can get at the data, and the server's location plays no part.
What the US CLOUD Act reaches, and what it doesn't
A US order reaches data under the Act only when three tests are met, and you can check the first two for any vendor you use.
The first test is that the company is a covered provider under US jurisdiction. Covered providers offer communication, storage or processing services to others, and US jurisdiction is wider than "American company". The DOJ white paper says that jurisdiction "is not limited to U.S. corporations, U.S. headquartered companies, or companies owned by U.S. persons", and that for a foreign company it depends on how much business the company does in the United States. So a European provider with a US subsidiary or US operations isn't automatically outside the Act.
The second test is that this company has possession, custody or control of the data. That wording is why a European subsidiary doesn't settle the matter on its own: if the US parent can get at what the subsidiary holds, the order goes to the parent. The Justice Department calls the parent-and-subsidiary question "fact-dependent". Control also has a technical side: a provider that stores only ciphertext and has never had the key can hand over ciphertext and nothing else, and the same white paper says the Act creates no new authority to make providers decrypt.
The third test is a valid order, which is the one you can't influence. For the content of stored data that normally means a warrant, which a judge approves only when investigators show probable cause that a specific crime was committed and that the data named holds evidence of it. The Justice Department states that bulk collection isn't permitted under these warrants. A provider may tell its customer about an order unless a judge has issued a protective order (a gag order), which department policy generally limits to one year.
A provider can challenge an order that conflicts with another country's law, but the Act's own route for that only covers countries with an executive agreement (a deal that lets each country's investigators send orders straight to the other's providers). The United Kingdom and Australia have one, and the EU has been negotiating since 2019 and has none. For a clash with EU law, a US court weighs both sides' interests case by case.
How often does this happen to European business data? AWS says it has had zero such disclosures of enterprise or government customer content stored outside the US since it began reporting the number in 2020. That is AWS's own figure, as "it has never happened" was Microsoft's, and it suggests the risk from CLOUD Act warrants is low for most companies. The Act still appears in questionnaires because a bank's DPO has to answer for what the law allows.
If your own company has a US parent, subsidiary or office, US authorities can serve your company directly with ordinary legal process, and no hosting choice changes that.
The CLOUD Act and GDPR, and where FISA 702, Schrems II and the Data Privacy Framework fit
These four names turn up in the same questionnaires and mean different things. The CLOUD Act and FISA 702 are ways the US government gets data. Schrems II and the Data Privacy Framework are the EU's answers to whether sending personal data to the US is lawful under GDPR, the EU's data protection law.
GDPR and the CLOUD Act collide at GDPR's Article 48. It says a foreign court's order to hand over personal data is recognised in the EU only if it rests on an international agreement, such as a mutual legal assistance treaty (MLAT), under which one country's authorities ask another's to collect evidence. A CLOUD Act warrant goes straight to the provider and skips that step. In 2019 the EU's data protection authorities wrote in a joint legal assessment that unless such a warrant is recognised under an international agreement, "the lawfulness of such transfers of personal data cannot be ascertained". A provider that receives one is caught between two laws and decides which to follow without you, so the part you control is the choice of provider.
FISA Section 702 is a separate US law for intelligence gathering, where the CLOUD Act is for criminal cases. It lets the government target people who aren't US persons and are believed to be outside the United States, and it works through authorisations that last up to a year, with no warrant per target. That means the reassurance above doesn't carry over: the judge, the specific crime and AWS's count all belong to CLOUD Act warrants. The statute itself expired on 12 June 2026 when Congress didn't renew it, but according to the Brennan Center collection continues until March 2027 under approvals already in place, so treat it as in force. Its orders go to the same kind of provider, so the options below apply to it too.
Schrems II is a 2020 ruling of the EU's Court of Justice. It struck down Privacy Shield, the arrangement that let personal data flow to US companies, because US surveillance programmes weren't limited to what is strictly necessary and gave Europeans no way to challenge them in court. The Data Privacy Framework replaced it in July 2023, an EU court upheld it in September 2025, and an appeal is pending. It makes transfers to certified US companies lawful under GDPR and puts no limit on the CLOUD Act or FISA 702. So using such a provider is allowed today, and it can still be ordered to produce your data.
The options, and what each one changes
Each option works on the first two tests: it changes who has jurisdiction over the provider or what the provider possesses, or it removes the provider. The sovereign cloud and BYOC rows are in-between versions of the four above.
| Option | Can a US order still reach the data? | What you take on | Examples |
|---|---|---|---|
| US provider, EU region | Yes | Nothing | EU regions of AWS, Azure or Google Cloud |
| US provider's sovereign cloud | Unsettled: it turns on whether the US parent controls the data | A separate cloud to adopt | AWS European Sovereign Cloud |
| US provider, keys you hold | Only as ciphertext, if the provider never has the key | Key management | Client-side encryption, or a key store you run |
| European provider | Only if it has a US parent or US operations | Checking who owns it and who it relies on | Scaleway or STACKIT |
| BYOC (bring your own cloud) | Yes if the vendor or the cloud underneath is under US jurisdiction | Your own cloud contract | boxd (on request) or E2B |
| Self-hosted | Not through the vendor; through a US infrastructure provider if you use one | Running the platform | boxd, Coder or E2B |
The US providers have more services and more regions than any alternative here, and staying with them means nothing to migrate.
A sovereign cloud from a US provider tries to answer the control test with corporate structure. AWS opened its European Sovereign Cloud in Brandenburg in January 2026 and says it's run through German legal entities by staff who live in the EU. The parent is still a US company, though, and whether its control reaches through that structure is the fact-dependent question from earlier.
Holding the keys yourself works on the possession test, for data the provider only stores, such as backups and archives. Encrypt before the data reaches the provider, or keep the keys in a key store you run, because the provider's systems can use a key held in its own key service. It doesn't work for a machine that runs your code, because that machine has to see plaintext to compute on it. Cloud dev environments, CI runners and agent sandboxes are machines of that kind, so for them the answer has to come from who the operator is.
A European provider changes jurisdiction, as long as you verify it. Ask who owns it, whether it has a US entity or US operations, and which companies it relies on that touch your data. Ask us too: boxd is a Dutch company whose contracts are under Dutch courts, and it runs a New York region next to Frankfurt. Self-hosting is the answer from us that doesn't depend on how a lawyer weighs those facts.
With BYOC the vendor operates the platform inside your own cloud, so both the vendor and the cloud underneath stay in the chain. Self-hosting takes the vendor out of the data path, because the platform runs on machines you operate. With any vendor, check what still leaves the cluster and how much there is to run. Self-hosted boxd sends one usage report an hour containing counts only, which a licence key with telemetry opt-out turns off. It's a single Rust binary with no Kubernetes, external Postgres or Redis to operate. If the CLOUD Act is your reason, put the cluster on bare metal from a European provider, because on a US cloud the infrastructure provider is still in reach.
How to choose
Start from who is asking and what they wrote down, then match it to an option.
- Change nothing when the data isn't personal or confidential and no customer has asked. CLOUD Act orders target specific crimes, and disclosures of business data held abroad are rare by the providers' own count.
- A US provider's EU region is enough when a contract names only a place. In questionnaires, say the data stays in the EU and US orders can still reach it.
- Keys you hold fit when you have to stay on a US provider and the data can stay unreadable to it.
- A sovereign cloud fits when your customer or regulator accepts it in writing, because the legal question is open.
- A European provider fits when a customer asks who can be compelled. Get its owners, US entities, sub-processors (the companies it uses that touch your data) and the courts named in its contract in writing.
- Self-hosting fits when you don't want the answer to depend on any vendor's corporate structure, and you're willing to run the platform. It doesn't have to be the first step. A self-hosted boxd cluster runs the same release as boxd cloud, so a team whose contracts only name the EU can start on machines in Frankfurt and move onto its own hardware when a customer asks for more.
- If your own company has a US entity, no hosting choice settles it. Take that to a lawyer.
This is an engineer's reading of the law, and several points turn on facts about your company and vendors, so have a lawyer confirm your answer before it goes into a contract.
The decision
A US order follows the company that can get at your data, so choose the operator and the key holder first and the region second.
The Lyon team's risk is low, but the bank's requirement decides the deal. So the team tells the bank the truth about the Paris region, encrypts backups with keys it holds, and moves the bank's data, along with the dev, CI and agent machines that hold copies of it, to an operator outside US jurisdiction or onto infrastructure it runs.
If running it yourself is where you land, the self-hosting guide is the place to start: a cluster deploys in 30 to 60 minutes, and the installer is open source (Apache-2.0) at github.com/boxd-sh/self-host.
Frequently asked
- What is the US CLOUD Act?
- The CLOUD Act is a US federal law from March 2018. It says a US warrant or court order served on a provider covers data in that provider's possession, custody or control, whether the data is stored inside or outside the United States.
- What does CLOUD Act stand for?
- Clarifying Lawful Overseas Use of Data Act. It is a US federal law from March 2018 about data held by communication and cloud providers.
- Does the CLOUD Act apply to data stored in an EU region?
- Yes, if a provider under US jurisdiction can get at it. The Act looks at who has possession, custody or control of the data, so the location of the server makes no difference to a US order.
- Does the CLOUD Act only apply to American companies?
- No. The US Justice Department says US jurisdiction is not limited to US corporations or US-headquartered companies. A foreign provider can fall under it depending on how much business it does in the United States, which is decided case by case.
- How do you comply with GDPR and the CLOUD Act at the same time?
- The conflict lands on the provider that receives the US order, and it decides which law to follow. As a customer you reduce the exposure by choosing who operates your infrastructure and who holds the encryption keys: a European provider with no US ties, keys the provider never has, or infrastructure you run yourself.
- Is FISA 702 the same as the CLOUD Act?
- No. The CLOUD Act is for criminal investigations and normally needs a warrant approved by a judge. FISA Section 702 is an intelligence law that targets non-US persons outside the United States through yearly authorisations. The statute expired on 12 June 2026, but collection continues until March 2027 under approvals already in place.



