How do you change the location or region in Google Vertex AI?

Updated 2026-07-15880 searches/moRanked #341 of 519· AI explained
Short answer

Set the region where you initialize, not in a global setting. In Python, pass it to vertexai.init(project="my-project", location="us-central1"). In REST, the region is baked into the hostname: https://LOCATION-aiplatform.googleapis.com. The console has a region dropdown. Existing resources never move — changing the region shows you a different, empty set.

Why — the first-principles explanation

The reason this question frustrates people is that they're looking for a setting, and there isn't one. Vertex AI has no global "my region" preference to flip. Region is a property of every individual API call and every individual resource, so you set it at the moment you make the call.

That design follows from what a region physically is. Google Cloud regions are actual buildings in actual places — us-central1 is in Iowa, europe-west4 is in the Netherlands. Your model endpoint, your dataset, and your tuning job live on disks in one of those buildings. "Changing the region" would mean physically relocating data across continents, so Google simply doesn't offer it as a toggle. Instead, each region is an independent namespace. When you switch from us-central1 to europe-west4, you aren't moving anything — you're pointing at a different building and asking what's inside. The answer is usually nothing, which is why people panic that their model "disappeared." It didn't. You're in the wrong building.

This is why the region lives in the hostname for REST calls: `https://us-central1-aiplatform.googleapis.com/...`. That's not cosmetic. The address literally routes to different hardware. Change the string and you're talking to a different data center, which will not have your resources unless you created them there.

There's one important exception: the global endpoint. For some models Google offers a global endpoint that routes your request to wherever capacity exists, improving availability and cutting error rates. The tradeoff is precisely what you'd expect from the physics — because it can serve from anywhere, it cannot satisfy data residency requirements, and it carries quotas separate from regional endpoints. So if you're in the EU and your legal obligation is that data stays in the EU, the global endpoint is the wrong choice no matter how much nicer its availability looks.

The practical rule: pick a region once, early, based on where your users are (latency), where your data must legally live (residency), and which models are actually offered there (availability varies by region and new models often launch in us-central1 first). Then keep everything in it. Cross-region setups mean cross-region data transfer costs and a lot of confusion about where things went.

An example that makes it click

Think of regions like branches of a bank. You open an account in the Chicago branch. Later you walk into the Amsterdam branch and ask for your money — and they say you have no account. Nothing was lost. You just walked into a different building, and your account is still sitting in Chicago exactly where you left it.

There's no "change my branch" button, because your money is physically in a vault in Chicago. If you want it in Amsterdam, someone has to actually move it. That's Vertex AI. Switching the region dropdown doesn't relocate your model — it walks you into a different branch. Your model is fine. It's in Iowa, wondering where you went.

How to do it

  1. In the Cloud console, use the region dropdown at the top of the Vertex AI page. This filters what you see — it does not move anything.
  2. In the Python SDK, pass location when you initialize: import vertexai then vertexai.init(project='my-project', location='us-central1'). Every call after that inherits it.
  3. In REST, put the region in the hostname and the path: https://LOCATION-aiplatform.googleapis.com/v1/projects/PROJECT/locations/LOCATION/publishers/google/models/MODEL:generateContent — both must match.
  4. For gcloud, set it once with: gcloud config set ai/region europe-west4, or pass --region on individual commands.
  5. Check model availability before committing. Not every model is served in every region, and new releases often appear in us-central1 first.
  6. Consider the global endpoint for better availability — but only if you have no data residency obligation, since it can serve from anywhere and has separate quotas.
  7. To actually 'move' a resource, recreate it in the target region. Export the dataset or redeploy the model there; there is no migrate button.
  8. If a resource vanishes, check your region before anything else. A 404 on a model you know exists is almost always a region mismatch.

Key facts

Infographic: How do you change the location or region in Google Vertex AI — short answer and key facts
Visual summary — How do you change the location or region in Google Vertex AI?
▶ The 60-second explainer (script)

How do you change the region in Vertex AI? Here's why you're frustrated: you're looking for a setting, and there isn't one. There's no global 'my region' preference. Region is a property of every single API call. In Python, you pass it when you initialize: vertexai.init, project equals my-project, location equals us-central1. Everything after that inherits it. In REST, the region is literally baked into the hostname — us-central1 dash aiplatform dot googleapis dot com. Change that string and you're talking to different hardware. And in gcloud, it's gcloud config set ai/region. Now the part that actually trips people up. Regions are real buildings in real places. us-central1 is in Iowa. europe-west4 is in the Netherlands. Your model lives on a disk in one of those buildings. So 'changing the region' would mean physically hauling data across an ocean — which is why Google doesn't offer it as a toggle. Each region is an independent namespace. When you switch regions, you are not moving anything. You're pointing at a different building and asking what's inside. And the answer is usually: nothing. That's when people panic that their model disappeared. It didn't. You're in the wrong building. It's like a bank. You open an account in Chicago, walk into the Amsterdam branch, and they say you have no account. Nothing's lost. Your money is in a vault in Chicago, exactly where you left it. There's no 'change my branch' button because someone would have to physically move the cash. One exception: the global endpoint. For some models Google routes your request wherever there's capacity — better availability, fewer errors. The catch follows directly from the physics: because it can serve from anywhere, it cannot meet data residency requirements, and it has its own separate quotas. EU data that legally must stay in the EU? Global endpoint is wrong, no matter how good the uptime looks. So pick one region early — based on latency, residency, and which models are actually offered there — and keep everything in it.

What authoritative sources say

Google Cloud, Vertex AI — Deployments and endpoints / locations documentationofficial — Google and partner models are exposed as regional endpoints and a global endpoint; the global endpoint improves availability and reduces error rates but has separate quotas and does not support data residency requirements. REST calls encode the location in the hostname as https://LOCATION-aiplatform.googleapis.com/v1/projects/PROJECT/locations/LOCATION/publishers/google/models/MODEL:generateContent. source ↗
Google Cloud, Install the Vertex AI SDK for Pythonofficial — The Vertex AI Python SDK sets the region at initialization via vertexai.init(project, location), and the aiplatform.init location parameter defaults to us-central1. source ↗

People also ask

Why did my model disappear when I changed regions?

It didn't. Regions are independent namespaces, so a model created in us-central1 simply isn't visible from europe-west4. Switch back and it's there. A 404 on a model you know exists is almost always a region mismatch.

Can I move a Vertex AI model to another region?

No — there's no migrate function. Resources live on physical hardware in one region. To 'move' one, recreate it in the target region: export and re-upload the dataset, or redeploy the model there.

What's the default region in Vertex AI?

The Python SDK's aiplatform.init location parameter defaults to us-central1. It's also where new models most often launch first, which is why so many tutorials use it.

Should I use the global endpoint?

Use it if you want higher availability and have no data residency obligation. Avoid it if data must legally stay in a specific jurisdiction — it can serve from anywhere by design, and it has separate quotas.

How do I pick a region?

Three criteria: latency to your users, where your data is legally required to reside, and whether the models you need are actually offered there. Model availability varies by region. Decide once and keep everything together.

Related questions