The fundamental premise of Zero Trust architecture is that the corporate network is inherently hostile. Users operating on the internal office LAN should possess no more inherent trust than users sitting in a public coffee shop. However, completely migrating legacy, on-premises applications (like an internal HR portal, a legacy Oracle database, or an SSH jump host) to the public internet exposes them to devastating vulnerability scanning and DDoS attacks. To resolve this paradox, Google developed BeyondCorp Enterprise (BCE). By deploying BCE AppConnectors, organizations can grant remote users secure, identity-aware access to internal applications without ever opening an inbound firewall port or requiring a traditional VPN.
The Architecture of BCE AppConnectors
BeyondCorp Enterprise shifts the access control boundary from the perimeter firewall to the global Google Cloud edge network (specifically, the Identity-Aware Proxy – IAP).
The architecture utilizes a specialized reverse-tunneling agent called the AppConnector. The AppConnector is a lightweight Docker container (or VM) that you deploy inside your internal network—whether that is an on-premises VMware cluster, an AWS VPC, or an Azure subnet.
When the AppConnector boots, it initiates a persistent, outbound TLS 1.2 connection to the Google Cloud edge. It does not require any inbound ports (e.g., TCP 80 or 443) to be opened on your corporate firewall.
When a remote user attempts to access the internal application (e.g., https://hr.digitash.com), their DNS resolves to the Google Cloud Load Balancer. The Identity-Aware Proxy intercepts the request, forces the user to authenticate against Google Workspace (evaluating MFA and device compliance context), and only if successful, routes the HTTP request down the pre-established, outbound AppConnector tunnel to the internal server. The internal server remains mathematically invisible to the public internet.
Deploying the AppConnector Infrastructure
To implement this architecture, you must first register the connection in the Google Cloud Console.
- Navigate to Security > BeyondCorp Enterprise > App connections.
- Create a new connection. Define the target application (e.g., the internal IP address of your HR server,
10.0.0.50, and the port,TCP 80). - Google Cloud will generate a unique deployment command containing a cryptographic token.
Next, you must deploy the AppConnector agent within your internal network. The most efficient method is utilizing Docker. SSH into an internal Linux server that has outbound internet access and execute the deployment command provided by GCP:
docker run -d --name bce-connector \
--restart always \
--net host \
gcr.io/cloud-iap-connector/bce-app-connector:latest \
--token="eyJhbGciOiJIUzI1NiIsInR5c..."
The container will instantly boot, parse the token, and establish the outbound gRPC tunnel to the Google Cloud control plane. The connection status in the GCP Console will change to “Active.”
Enforcing Context-Aware Access Policies
With the network bridge established, you must secure it. The true power of BeyondCorp lies in its integration with Context-Aware Access (CAA) policies.
Instead of relying on network location (IP addresses), CAA evaluates the cryptographic context of the authentication attempt.
Navigate to Security > Access and data control > Context-Aware Access in the Google Workspace Admin Console.
Create a strict access level. For example, you can mandate that to access the HR application through the AppConnector, the user must satisfy the following conditions simultaneously:
- The user must authenticate using a phishing-resistant FIDO2 Titan Security Key.
- The device must be corporate-owned (verified via Chrome Endpoint Verification).
- The device must be running a minimum OS version (e.g., macOS 14.2) and possess active disk encryption (FileVault).
- The request must originate from a specific geographic region (e.g., North America).
If any of these parameters fail, the Identity-Aware Proxy drops the request at the edge. The packets never even traverse the AppConnector tunnel, mathematically shielding the internal server from exploitation. By deploying BCE AppConnectors, enterprises can systematically dismantle their vulnerable VPN concentrators and achieve a pure, highly performant Zero Trust posture.