Secure Connectivity to SAP HANA Private Cloud via xxxxx GCP Project

πŸš€ Overview

This proof-of-concept (PoC) document outlines Solution 2 for securely accessing SAP HANA Private Cloud (PCE) resources through the xxxxx GCP Project, leveraging self-hosted VPN and DNS for centralized control and ease of management.

The solution enables both on-premise (office) and remote users to securely access SAP services over a private network, without exposing the SAP HANA environment publicly.

🧱 Architecture Summary

πŸ”‘ Key Components

Component Description Internal Users Remote Users GCP Project SAP HANA PCE Self-Hosted VPN Bind9 DNS VPC Peering
xxxxx Office Internal users (user1, user2) who access SAP via VPN Yes No No No No Yes No
Remote User External users (e.g., support or consultants) connecting via VPN No Yes No No No Yes No
xxxxx GCP Project Acts as a transit hub and houses DNS + VPN services Yes Yes Yes No Yes Yes Connects to SAP HANA PCE
SAP HANA PCE Private SAP environment with DNS cluster and application stack Yes Yes No Yes No Yes Connected to xxxxx GCP
Self-Hosted VPN Runs on a GCP VM to handle all client-to-site VPN connections Yes Yes Yes No Yes No No
Bind9 DNS Custom DNS servers configured for internal name resolution Yes Yes Yes Yes No Yes Used by both GCP & SAP PCE
VPC Peering Connects xxxxx GCP with SAP HANA PCE (10.0.0.0/16 ↔ 10.1.0.0/16) Yes Yes Yes Yes No Yes Yes

πŸ§ͺ Proof of Concept Goals

βœ… Enable secure, client-to-site VPN connectivity for internal and remote users

βœ… Establish VPC Peering between GCP and SAP PCE networks

βœ… Centralize DNS resolution in GCP for internal SAP domains (*.sap.xxxxx.team)

βœ… Isolate accessβ€”users get access only via VPN, nothing exposed publicly

βœ… Test domain resolution and service access (e.g., abc.sap.xxxxx.team, def.sap.xxxxx.team)

πŸ” Connectivity Flow

Step-by-Step Breakdown

1. VPN Setup (Client-to-Site)

Users (office or remote) connect to a Self-Hosted VPN running in the xxxxx GCP project.

2. DNS Resolution

VPN clients receive the internal DNS IPs (e.g., 10.0.0.10, 10.0.0.20) via configuration. These DNS servers are configured using Bind9 to resolve SAP internal domains.

3. VPC Peering

The GCP VPC (10.0.0.0/16) is peered with the SAP PCE VPC (10.1.0.0/16), allowing transparent routing between the environments.

4. Service Access

Once connected, users can access internal SAP services like:

πŸ› οΈ Implementation Details

Fill in these sections based on your specific setup.

🧩 NetBird Setup on GCP

πŸ“˜ Bind9 DNS Configuration

πŸ§ͺ Test Cases

Test Description Expected Result
VPN client connects Assigned IP from 10.0.0.0/16
DNS lookup for abc.sap.xxxxx.team Resolves to private SAP IP (10.1.x.x)
Access SAP HANA dashboard via browser UI loads successfully
DNS lookup from VPN client Uses 10.0.0.10/10.0.0.20 successfully