Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Cloud Load Balancing manages global user traffic to keep applications running smoothly as an organization grows. The system uses a single anycast IP address to automatically route incoming requests to the closest healthy backend resource. This strategy ensures low-latency access for global users and keeps the application responsive during sudden traffic spikes.
Architects choose different load balancing options based on the specific traffic types and routing requirements of the application. Application Load Balancers manage HTTP and HTTPS traffic and support advanced routing rules to direct traffic to specific services. Network Load Balancers handle TCP and UDP traffic and are ideal when the backend needs to see the original client IP address. Selecting Global Load Balancers helps distribute workloads across multiple regions to ensure high availability and prevent regional outages from taking down the service.
Google Cloud offers two Network Service Tiers that determine how traffic travels over the physical internet. The Premium Tier sends traffic through Google's private global fiber network, entering and exiting close to the user to deliver high performance and low latency. The Standard Tier routes traffic over the public internet, which provides a more cost-effective option but may result in higher latency and lower overall performance. Architects must weigh performance against cost when selecting the appropriate tier for their growth requirements.
Managing growth requires careful capacity planning to prevent resource shortages and infrastructure bottlenecks. Teams must monitor project quotas and resource limits to ensure deployments can scale up without hitting hard account restrictions. When unexpected traffic surges threaten to overwhelm the system, architects design for graceful degradation using specific techniques:
A scalable frontend must also be secure and fast, which is achieved by integrating security and caching layers. Google Cloud Armor integrates directly with the global load balancer to provide DDoS protection and security policies that block malicious traffic at the edge of the network. Cloud CDN works alongside the load balancer to cache static content at edge points of presence closer to users. This caching reduces the load on origin servers, allowing the application to scale efficiently without requiring additional compute resources.
Scaling the data tier involves choosing between vertical and horizontal expansion methods to support growing applications. Vertical scaling increases the resources of a single database, which is a common approach for Cloud SQL instances, though scaling down must be managed carefully to avoid downtime. For large-scale global growth, Cloud Spanner provides horizontal scalability by distributing transactional data across multiple regions and database nodes without losing consistency. Choosing the correct database solution prevents performance bottlenecks as the volume of transactions increases.
Virtual machines rely on reliable block storage that can grow alongside application demands. Persistent Disks provide durable storage for standard virtual machines, while Regional Persistent Disks replicate data synchronously across two zones to ensure high availability. To handle intensive workloads, Google Cloud Hyperdisk allows administrators to adjust input/output operations per second (IOPS) and throughput independently. This capability allows storage performance to be fine-tuned dynamically without pausing the running virtual machines.
Organizations use specialized storage services to manage vast amounts of unstructured and shared data. Cloud Storage delivers highly scalable object storage where data can be stored in regional, dual-region, or multi-region buckets depending on availability needs. For shared file systems, Filestore provides regional instances that replicate data across three zones to prevent data loss. These storage services allow organizations to achieve several key architectural goals:
Protecting data integrity and managing costs become more challenging as the storage tier expands. BigQuery automatically reduces storage costs for data tables that have not been modified for 90 days, making long-term analytical storage highly cost-effective. NoSQL databases like Bigtable and Firestore provide built-in replication and managed backups to protect real-time application data. Implementing automated snapshots and point-in-time recovery ensures that systems can recover quickly if data corruption occurs during rapid growth.
Designing a scalable data architecture requires decoupling different system layers to maximize flexibility. Architects separate the compute tier from the storage tier so that each layer can scale independently based on its specific workload demand. Region selection also plays a vital role, as data must be stored in locations that balance user latency, service cost, and local regulatory requirements. This structural independence ensures that compute bottlenecks do not impact data availability and vice versa.
Managed Instance Groups (MIGs) form the foundation of a scalable compute tier by grouping identical virtual machines together. These groups can scale automatically to adjust the number of running instances in response to changing user demand. Architects choose between regional or zonal MIGs to balance resource costs against the application's availability requirements. This automated scaling helps maintain application performance while optimizing compute expenses.
Autoscaling systems rely on clear metric signals to decide when to add or remove virtual machines from a group. These signals help the infrastructure adapt to changing workloads and prevent resource saturation. Common signals used to control autoscaling include:
For workloads with known patterns, reactive scaling might not be fast enough to prevent temporary performance drops. Predictive autoscaling analyzes historical workload data to forecast upcoming traffic spikes and scales out compute resources ahead of time. Alternatively, scaling schedules allow administrators to define exact times to increase capacity, which is ideal for predictable events like daily shifts or promotional sales. These tools ensure that resources are fully provisioned and ready before the user traffic actually arrives.
Serverless platforms offer a highly elastic alternative to managing virtual machines directly. Cloud Run and Cloud Functions automatically manage all underlying servers, rapidly scaling up container instances to handle incoming requests. These services can scale down to zero instances when traffic stops, ensuring that organizations only pay for the exact compute time used. For workloads that require constant availability or fixed performance baselines, architects can configure manual scaling to set a permanent minimum instance count.
High availability must be maintained even as compute resources scale dynamically across different locations. Regional MIGs distribute virtual machine instances across multiple zones to protect the application against a single zone failure. Autohealing policies use health checks to monitor the status of individual instances and automatically recreate any virtual machine that becomes unresponsive. Integrating these health checks and recovery policies minimizes manual operational tasks and supports continuous system availability during rapid organizational growth.
A diagram showing global users routing through a single anycast IP to a Global Load Balancer with Cloud Armor and Cloud CDN, distributing traffic to Regional MIGs in two regions.
Premium Tier sends traffic through Google's private global fiber network, entering and exiting close to the user to deliver high performance and low latency. Standard Tier routes traffic over the public internet, which provides a more cost-effective option but may result in higher latency and lower overall performance.
The three techniques are: throttling, which controls the rate of incoming requests to protect backend services; dropping requests, which discards excess traffic early in the request flow to keep core systems online; and monitoring, which uses observation tools to spot and react to performance bottlenecks before they cause downtime.
Vertical scaling increases the resources of a single database, which is a common approach for Cloud SQL instances. Horizontal scaling distributes transactional data across multiple regions and database nodes without losing consistency, as provided by Cloud Spanner for large-scale global growth.
The three autoscaling signals are: CPU utilization (adding VMs when processor workload exceeds a threshold), HTTP load balancing utilization (scaling based on incoming web request volume handled by the load balancer), and Cloud Monitoring metrics (using custom system and application metrics to trigger precise scaling actions).
An online retail organization is preparing for a global flash sale that will generate massive, sudden spikes in HTTPS web traffic from users worldwide. The application frontend is deployed across Compute Engine Managed Instance Groups (MIGs) located in North America, Europe, and Asia.
The architecture must satisfy the following technical requirements:
Which Cloud Load Balancing architecture should you implement?
Deploy individual Regional external Application Load Balancers in Standard Tier in each region, and configure Cloud DNS geolocation routing policies with health checking.
Deploy an External passthrough Network Load Balancer in Premium Tier using a regional target pool across multiple zones.
Deploy a Cross-region internal Application Load Balancer with global access enabled and fronted by regional Cloud NAT gateways.
Deploy a Global external Application Load Balancer in Premium Tier with a global backend service referencing the multi-region instance groups configured with utilization or rate capacity limits.