Open In App

Google Cloud Platform Resources Across Regions and Zones

Pre-requisite: Google Cloud Platform

In essence, when we discuss the cloud, we are also discussing hardware. We “rent” the Google infrastructure in the case of GCP. Due to the decreased danger of the system failing, Google hosts resources in many locations there is very little chance that a natural disaster or another issue will strike simultaneously in two separate places. The decrease in latency is a significant benefit of having several resource locations. 



These places are grouped together as regions. In essence, a region is a Google data center. We can locate every tool needed to create a Google cloud application within a data center. A physical server, network elements, and a virtual machine are some of these resources. The region’s true location is either in central America, Western Europe, or East Asia. Each region is made up of several zones. A zone is where a cloud platform can be deployed. In our infrastructure, a zone should be viewed as a single point of failure.

What is the Need for Zones or Regions?

We must think about distributing our application across many zones and, maybe, various regions in order to achieve fault tolerance and high availability due to the possibility that a zone will experience downtime. We can design for comprehensive fault tolerance and high availability in the cloud thanks to the various regions and zones.



There is a name for the zone. This is made by combining the region’s name with a number that designates the zone’s number, for example, Europe-west2.

It’s crucial to consider availability when creating cloud applications. This ultimately has something to do with the choice we make regarding our deployment model. Either a regional application, like App Engine, or a managed multiregional application, like Cloud Storage, must be used if we want our service to have high availability.

We employ a multiregional-based service, such as Google Cloud Storage or Google Cloud Datastore, to create disaster recovery for the data that adheres to this plan. We take a snapshot of the data in a multi-regional resource if we use a zonal or regional service. Replicating the data in a separate zone or region is necessary. This will ensure that we have a backup zone in case one fails.

Use a zonal or regional resource for computing, like Google App Engine, but have a mechanism in place to spin up the application in a different zone or region in case of failure. Of course, in order to balance the resource throughout the zone or region and connect the data to a multiregional service, total high availability requires the use of a load balancer.

Types of Scopes for GCP Resources

Regional Resources

Across all zones of a given region, a regional resource can be redundantly delivered. A zonal resource is given high availability as a result. Any resources located in the same region as the regional resource can access it. For instance, if you reserve a static external IP address in a certain region, only instances located in that region will be able to use that static external IP address. Additionally, each area has one or more zones.

Zonal Resources

One zone is served by a zonal resource. The resource itself is rendered unavailable if the zone is unavailable. Per-zone resources are those that are hosted within a zone. Resources that are zone-specific or per-zone are exclusive to that zone and can only be used by other resources in that zone. A per-zone resource is, for instance, an instance. The zone in which the instance is located must be specified when creating the instance.

Global Resources

Other resources may access this type of resource, regardless of zone or location. Typically, the global resource is a network, snapshot, or disc with preloaded settings. Any resource within the same project has access to global resources from any zone. A scope specification is not required when creating a global resource.

Multi-Regional Resources

Google directly manages this cloud service to be redundant and dispersed across many zones and territories. A multiregional area stores data across multiple regions rather than in just one region or zone.

When deciding to implement our cloud architecture, it is crucial to understand the type of resource. This is so that it can effectively influence how the architecture is designed. Understanding the operation’s scope based on the type of resource we select is crucial while planning our design.

For instance, if we need to construct a network, we do it by creating a global resource that may be used by multiple zones and areas. However, because the IP address varies based on the zone, assigning an IP is effectively a zone action. We must base our decisions when considering the cloud on how effective the architecture is. As a result of the high latency, we never use a hard-drive resource from a separate location.

Correct resource planning makes all the difference between a successful and unsuccessful cloud project.


Article Tags :