Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view Google Cloud Datastore Region

Not using App Engine, using Datastore alone. The portal asks you to select a region while creating your first entity.

But how do you view the region it's running in after creation?

like image 711
Emre Kenci Avatar asked Jul 10 '18 08:07

Emre Kenci


People also ask

Where are GCP regions?

Within these markets, Google Cloud operates data centers in the following regions: Iowa (us-central1), South Carolina (us-east1), Northern Virginia (us-east4), Columbus (us-east5), Dallas (us-south1), Oregon (us-west1), Los Angeles (us-west2), Salt Lake City (us-west3), and Las Vegas (us-west4).

What is a Google Cloud region?

Regions are collections of zones. Zones have high-bandwidth, low-latency network connections to other zones in the same region. In order to deploy fault-tolerant applications that have high availability, Google recommends deploying applications across multiple zones and multiple regions.

Where is Google Cloud data stored?

Google Cloud Storage Multi-Regional stores data in data centers across the globe and has 99.95% availability. It is suitable for companies that need to access data frequently, such as for website content and mobile application data.


2 Answers

Originally, Datastore was only accessible from App Engine. This is why, still now, the location setting for your Google Cloud Platform project applies to both Cloud Datastore and App Engine. When you select a location in either product, you set the location for your entire Google Cloud Platform project.

So when you create your first Datastore entity in a project (or when you create an App Engine application, whichever you do first) it'll ask you for a location. Under the hood it'll create an App Engine app (like gcloud app create) in the given location. That's why you can run gcloud app describe and get information (You may also notice it has created two Cloud Storage buckets, "project-name.appspot.com" and "staging.project-name.appspot.com" for your App Engine app). The developer Console's App Engine section doesn't display anything though since there's no actual App Engine code deployed.

like image 109
LundinCast Avatar answered Nov 09 '22 17:11

LundinCast


Your datastore region is the same as that of your Google Cloud Platform (GCP) project. The Cloud Datastore documentation provides instructions on how to locate it:

Viewing the location of your project.

like image 4
TheAddonDepot Avatar answered Nov 09 '22 15:11

TheAddonDepot