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!
Integrating Google Cloud with external systems often relies on the handover pattern to safely pass data across environments. Under this pattern, workloads in a private data center or another cloud upload data to shared storage, such as Cloud Storage or Pub/Sub, where Google Cloud services can then process it. The physical path for this data relies on either Cloud Interconnect or a VPN, depending on your traffic volume and security needs. To make this connection secure, Workload Identity Federation is the preferred service for authenticating external systems. This service allows workloads from external environments like AWS, Azure, or GitHub to access cloud resources using short-lived credentials, such as OAuth 2.0 tokens, which eliminates the security risk of managing long-lived service account keys.
Once identities are authenticated, administrators must enforce the principle of least privilege using Identity and Access Management (IAM). For application-to-application security, a Service Account acts as the primary identity for each workload. Instead of managing permissions for individual users, administrators can use Google Groups to perform bulk access updates. To protect sensitive data as it moves between these environments, VPC Service Controls establish a security perimeter around cloud resources. This security framework prevents data exfiltration by restricting service access to authorized networks, and you can extend this boundary to hybrid environments through a secure network connection.
When organizing access, administrators manage identities using three primary categories:
To maintain continuous operations during an infrastructure outage, architectures should distribute resources across multiple zones or regions. For network paths, HA VPN provides a highly resilient connection by using two interfaces to guarantee traffic flow even if one zone fails. Additionally, Cloud Load Balancing routes incoming traffic only to healthy instances across your deployment. Preparing for these potential failures ensures that external integrations remain highly responsive and meet your business availability goals.
Connecting Google Cloud to on-premises data centers or other cloud providers requires evaluating bandwidth, latency, and reliability. For low-volume data transfers, Cloud VPN provides a simple way to connect networks over the public internet using an IPsec VPN tunnel. To achieve higher reliability over the internet, HA VPN uses multiple tunnels to offer a 99.99% service level agreement, though it remains subject to public internet performance. When a workload requires deterministic performance and bypasses the public internet entirely, Cloud Interconnect provides a private, physical link.
Architects can choose between two main types of physical interconnects based on their location and requirements:
For companies operating across multiple cloud platforms, Cross-Cloud Interconnect is a managed service that directly links Google Cloud with other providers like AWS or Azure. This service establishes high-bandwidth dedicated connectivity without requiring your team to manage physical hardware in remote colocation facilities, which reduces the total cost of ownership. When workloads need to access Google APIs or internal services privately, Private Service Connect uses internal IP addresses to keep sensitive traffic completely off the public internet. To ensure a strong security posture, you should always protect this private data in transit using encryption methods like MACsec or TLS. Finally, operators can monitor and troubleshoot these complex hybrid connections from a single console using the Network Intelligence Center.
Selecting the proper communication style is critical for maintaining application performance across boundaries. Synchronous integration is a real-time communication pattern where the sender must wait for a response from the receiver before proceeding. While this pattern is straightforward, it introduces tight dependencies that can slow down or break your application if an external service fails or responds slowly. To manage these dependencies, API-driven architectures use Apigee as an API management platform. Apigee acts as a facade that hides backend complexity, unifies security policies like OAuth 2.0, and shields client applications from changes made to the backend code.
To avoid the tight dependencies of real-time calls, systems can use asynchronous messaging to exchange data without waiting for an immediate response. Pub/Sub is a messaging service designed to achieve decoupling, allowing different components of your architecture to function independently. This decoupling is essential for maintaining system reliability and absorbing traffic spikes or temporary network outages without failing. In hybrid setups, using Private Service Connect provides private connectivity to keep this data flow secure. Architects should generally avoid high dependencies on synchronous calls between environments to prevent performance bottlenecks.
Choosing between communication patterns involves balancing immediate feedback against overall system resilience:
Prepare and test your skills
Prepare and test your skills
The handover pattern is a method for safely passing data across environments where workloads in a private data center or another cloud upload data to shared storage such as Cloud Storage or Pub/Sub, where Google Cloud services can then process it. The physical path relies on either Cloud Interconnect or a VPN depending on traffic volume and security needs.
Workload Identity Federation is a service that allows workloads from external environments like AWS, Azure, or GitHub to access cloud resources using short-lived credentials such as OAuth 2.0 tokens. It eliminates the security risk of managing long-lived service account keys, making it the preferred authentication method for external systems.
The three primary categories are Corporate Identities (managed through Cloud Identity or Google Workspace for employee access), Workload Identities (used by applications to interact with cloud services securely), and Customer Identities (managed via Identity Platform for external users of applications).
Synchronous integration is a real-time communication pattern where the sender must wait for a response before proceeding, providing immediate data exchange but risking system-wide failures if dependencies go offline. Asynchronous messaging, such as Pub/Sub, allows data exchange without waiting for an immediate response, enhancing scalability and resilience by letting tasks process in the background.
Provision a Partner Interconnect connection with a supported service provider using VLAN attachments and Cloud Router.
Provision a Dedicated Interconnect connection with a 10 Gbps circuit and configure dynamic routing via Cloud Router.
Configure Carrier Peering with an authorized service provider to route traffic to the VPC subnets.
Deploy a High Availability (HA) Cloud VPN gateway paired with Cloud Router over an existing public internet connection.
An enterprise is planning hybrid connectivity between its on-premises data center and a Google Cloud Virtual Private Cloud (VPC) network to migrate internal core database workloads.
The network architecture team has outlined the following specific technical constraints and requirements:
Which hybrid connectivity solution should you recommend to satisfy these requirements?