Courseiva
PAS-C01Chapter 10 of 16Objective Domain 3.1

SAP Networking and Connectivity on AWS

If you design SAP networking wrong, your company's financial transactions can slow to a crawl, or worse, a misconfiguration can expose sensitive payroll data to the public internet. That is why Domain 3.1 of the PAS-C01 exam forces you to understand how AWS networking components - VPCs, Direct Connect, and VPNs - must be arranged so SAP applications like S/4HANA and Business Warehouse can communicate securely and at high speed across data centres, offices, and the cloud.

12 min read
Intermediate
Updated Jul 23, 2026
Reviewed by Johnson Ajibi· Senior Network & Security Engineer · MSc IT Security

A simple way to picture SAP Networking and Connectivity on AWS

The Amazon Prime Delivery Network Analogy

Your office orders 200 packages per day.

Without a dedicated receiving dock, packages get mixed with building mail, lost in the lobby, or stolen. You have two options: a standard delivery that uses the public street entrance (like a VPN over the internet) or a direct leased loading bay with its own access road (like AWS Direct Connect). The loading bay costs more monthly but guarantees your packages arrive untouched and on schedule - no traffic jams, no stolen parcels, no elevator queue.

Now imagine your warehouse (an SAP system) needs to send purchase orders to a supplier's warehouse (another company's system). You wouldn’t throw paperwork across the fence. Instead, you build a private conveyor belt (a Direct Connect virtual interface) so orders flow directly without touching public streets.

If you need extra security, you install a guard booth that checks every package's ID badge before it enters the loading bay (a Network Access Control List). If your supplier moves offices, you reconfigure the conveyor belt's route (update your virtual private gateway).

This analogy maps precisely to SAP networking: the office building is your VPC, the loading bay is Direct Connect, the guard booth is security groups/NACLs, and the conveyor belt is the route table directing traffic between SAP applications and databases. Every step - from ordering a Direct Connect circuit to configuring BGP sessions - mirrors setting up logistics for a high-volume, high-value goods operation.

How It Actually Works

Let's start with the most basic idea: a network is simply a way for computers to talk to each other. AWS provides a virtual network called a VPC (Virtual Private Cloud). Think of a VPC as a private, fenced-off piece of the AWS cloud that only you can access. Inside this VPC, you launch servers (Amazon EC2 instances) that run SAP applications like SAP S/4HANA or SAP NetWeaver.

For SAP systems to function, they must communicate with each other. For example, an SAP application server needs to query an SAP HANA database. This internal traffic stays inside the VPC. But the real world is more complex. Your company headquarters, branch offices, and external partners also need to reach the SAP system. That's where connectivity comes in.

AWS offers three primary ways to connect external networks to your VPC: VPN (Virtual Private Network), Direct Connect, and Transit Gateway. Let's define each.

A VPN creates an encrypted tunnel over the public internet. Imagine sending a letter inside a locked briefcase through the postal service. The briefcase is the encryption; the postal service is the internet. VPNs are simple to set up and use existing internet connections, but they suffer from internet congestion and latency (delay). A Direct Connect is a physical, private cable that goes from your data centre or office directly into an AWS facility. It bypasses the public internet entirely, offering consistent speeds and lower latency. This is critical for SAP because SAP HANA replication and real-time data processing demand very low jitter (variation in delay).

AWS Transit Gateway acts as a central hub that connects all your VPCs and on-premises networks together. Without Transit Gateway, you would need to create dozens of individual connections, like stringing phone lines between every pair of offices. Transit Gateway is a single router that simplifies management and reduces complexity.

Every VPC has subnets - smaller segments of the IP address range. You can place SAP application servers in one subnet and database servers in another. To control who can talk to whom, you use Security Groups (stateful firewalls attached to individual servers) and Network Access Control Lists (NACLs), which are stateless firewalls at the subnet boundary. For SAP, you might allow only the application server subnet to talk to the database subnet on port 3$01$ for SAP HANA.

Routing is how data knows where to go. Each subnet has a route table that says: 'All traffic destined for the internet goes through the Internet Gateway' or 'Traffic for the corporate network goes through the Transit Gateway.' If you misconfigure routing, data gets lost, and your SAP system breaks.

High availability means making the network resilient. You can set up VPN connections in two different AWS regions or use two Direct Connect circuits from different providers. If one link fails, traffic automatically fails over to the other. This is called a redundant connection. SAP systems cannot afford downtime - a network outage means halted production lines in a factory or frozen financial closings.

Finally, bandwidth must be sized correctly. SAP HANA systems can generate gigabytes of data per hour. If you provision a 1 Gbps Direct Connect link but your replication actually needs 10 Gbps, the network becomes a bottleneck. The exam tests your ability to calculate required bandwidth and recommend the appropriate connection type.

Flowchart showing how a corporate network connects to two VPCs using Direct Connect and a VPN backup via Transit Gateway, with Security Groups protecting each SAP tier.

Walk-Through

1

Assess bandwidth and latency requirements

Calculate the peak data transfer volume your SAP system will generate. For example, a S/4HANA system might need 2 Gbps for daily batch jobs. Also note latency tolerance - HANA replication requires under 10 ms. This determines whether you choose Direct Connect or VPN.

2

Order Direct Connect circuit (if needed)

Work with an AWS Direct Connect Partner to order the physical circuit from your data centre or office to an AWS Direct Connect location. This is like ordering a dedicated fibre line. The partner installs the hardware and configures the cross-connect.

3

Create Virtual Private Gateway and attach to VPC

In the AWS Console, create a Virtual Private Gateway (VGW). This is the AWS side of the connection. Attach it to the VPC that contains your SAP instances. Without this, the Direct Connect cannot reach your VPC.

4

Configure virtual interface and BGP

Set up a private virtual interface on the Direct Connect link. Configure BGP (Border Gateway Protocol) to exchange routing information between your on-premises network and AWS. BGP automatically reroutes traffic if a link fails, which is critical for SAP availability.

5

Set up VPN backup connection

Create a VPN connection from your on-premises router to the same Virtual Private Gateway using the internet. Configure the VPN as a backup in case the Direct Connect goes down. Update your BGP metrics so the VPN has a higher 'cost' and is only used when the Direct Connect fails.

6

Configure Security Groups and NACLs

Create Security Groups for each SAP tier: allow only necessary ports (e.g., 3200, 3300 for SAP App Server) from specific IP ranges. Add NACLs to block all traffic except the required SAP ports at the subnet level. This prevents accidental exposure.

7

Test failover and monitor performance

Simulate a Direct Connect failure by disabling the link in your on-premises router. Verify traffic automatically switches to the VPN backup. Use CloudWatch to confirm latency and throughput remain within acceptable ranges. Document the recovery time.

What This Looks Like on the Job

An IT professional (let's call her Priya) works for a global manufacturing company deploying SAP S/4HANA on AWS. Her first task is to connect the company headquarters in London to the AWS environment so the finance team can access the SAP system.

Priya begins by assessing the company's traffic. The finance team runs daily reports that push 500 MB of data to the cloud. The HR team synchronises employee records using SAP Cloud Platform Integration, which adds another 200 MB daily. For this volume, a VPN connection over the internet would work, but the company's leadership demands consistent performance because month-end closing is non-negotiable. Priya selects Direct Connect as the primary connection.

She works with a Direct Connect Partner to order a 1 Gbps Direct Connect circuit from the London office to the nearest AWS Direct Connect location (in London). The circuit is physically installed. Priya then creates a Virtual Private Gateway in her AWS account and attaches it to her VPC. She configures a VLAN (Virtual Local Area Network) interface on the Direct Connect to carry traffic to the VPC. This is called a private virtual interface.

Next, Priya sets up a second Direct Connect circuit from a different provider for redundancy. She creates a VPN connection as a backup in case both Direct Connect circuits fail. She uses AWS Transit Gateway to connect the London VPC to a second VPC in Frankfurt that runs SAP BW (Business Warehouse). The Transit Gateway automatically routes traffic between the two VPCs without needing VPC peering.

To secure traffic, Priya creates Security Groups: one for SAP application servers (allowing TCP 3200, 3300 from the corporate network) and one for the HANA database (allowing only the application servers on TCP 3001$). She adds NACLs as a second layer, blocking all ports except those needed for SAP.

Throughout the process, she monitors network performance using Amazon CloudWatch metrics. She sets up alarms if latency exceeds 10 milliseconds or if throughput drops below 900 Mbps. At month-end, when the finance team processes closing, the Direct Connect link shows stable 950 Mbps utilisation with zero packet loss.

When a new factory opens in Madrid, Priya extends the network by ordering a smaller 500 Mbps Direct Connect circuit for that site and routing it through the existing Transit Gateway. The entire expansion takes two weeks, compared to months if she had to manage dedicated physical lines for each office.

How PAS-C01 Actually Tests This

The PAS-C01 exam tests Domain 3.1 with scenario-based questions that force you to choose the correct combination of connectivity options and security settings for SAP workloads. The exam loves questions about Direct Connect vs VPN, especially when cost and performance trade-offs are involved. You will see questions like: 'A company needs high-bandwidth, low-latency connectivity for SAP HANA replication. Which solution should they choose?' The answer is Direct Connect, because VPN introduces jitter and variable latency.

Traps in the exam:

A question might describe a scenario where VPN is 'sufficient' and cheaper, but the correct answer is still Direct Connect because SAP HANA replication requires consistent latency. The exam does not ask what is 'good enough' - it asks for the design that meets all requirements, including performance.

The exam sometimes offers 'VPC Peering' as an option for connecting on-premises to AWS. VPC Peering only connects VPC-to-VPC, not on-premises networks. If the question mentions corporate data centre, VPC Peering is a distractor.

They test whether you know that a VPN connection supports dynamic routing using BGP (Border Gateway Protocol) or static routes. For SAP, BGP is preferred because it automatically reroutes traffic if a link fails. Expect a question where the answer is 'Configure BGP on the VPN connection' when the scenario says 'automatic failover required'.

Key concepts to memorise:

Direct Connect provides dedicated, private, low-latency connectivity. It does not use the public internet.

VPN uses the public internet but encrypts traffic. It is quicker to provision but less reliable for SAP.

Transit Gateway is the central hub for connecting multiple VPCs and on-premises networks. It simplifies routing and reduces the number of individual connections.

Security Groups are stateful, so outbound traffic is automatically allowed if inbound is allowed (and vice versa). NACLs are stateless, so you must explicitly allow inbound and outbound traffic separately.

Bandwidth sizing: SAP S/4HANA production systems typically need at least 1 Gbps. For replication, the exam expects you to calculate based on the volume and time window.

The exam also presents you with architectures and asks you to identify a single point of failure. For example, a single Direct Connect link without a backup VPN connection is a single point of failure. The correct answer would be to add a VPN connection as a backup, or order a second Direct Connect circuit from a different provider.

Key Takeaways

Direct Connect provides private, consistent bandwidth ideal for latency-sensitive SAP HANA replication and mission-critical ERP traffic, but it requires physical installation and takes weeks to provision.

VPN connections use the public internet with encryption and can be set up in minutes, but they introduce variable latency and jitter unsuitable for real-time SAP processes.

AWS Transit Gateway acts as a central hub that connects multiple VPCs and on-premises networks, simplifying routing and reducing the number of individual connections needed.

Security Groups are stateful firewalls at the instance level, while NACLs are stateless firewalls at the subnet level; both must be configured for SAP workloads to achieve defence in depth.

A single connection - whether Direct Connect or VPN - is a single point of failure; you must design redundant paths using two Direct Connect circuits or a VPN backup to ensure SAP availability.

Routing tables in each subnet determine where traffic goes; misconfiguring them can cause SAP applications to lose connectivity to databases or the corporate network.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Direct Connect

Dedicated private physical connection not using the public internet

Latency is highly consistent and predictable

Requires weeks to provision due to physical installation

VPN

Encrypted tunnel over the public internet

Latency varies due to internet congestion

Can be set up in minutes as a purely software configuration

Security Group

Operates at the instance level (virtual server)

Stateful: return traffic is automatically allowed

Allows allow rules only, no explicit deny

NACL

Operates at the subnet level

Stateless: you must allow inbound and outbound separately

Supports both allow and deny rules

VPC Peering

Connects only two VPCs at a time

Requires manual route table updates in each VPC

Cannot connect to on-premises networks directly

Transit Gateway

Connects many VPCs and on-premises networks centrally

Automatically propagates routes to all connected networks

Centralised management reduces complexity

Watch Out for These

Mistake

A VPN connection is always slower than Direct Connect because it uses the internet.

Correct

A properly designed VPN can be nearly as fast as a low-bandwidth Direct Connect, but it cannot match the consistency because internet traffic congestion varies. For SAP HANA replication requiring steady 500 Mbps, Direct Connect is safer, but for smaller workloads, VPN works fine.

Beginners assume all internet traffic is slow. In reality, modern VPNs can saturate a 1 Gbps link easily. The difference is jitter, not raw speed.

Mistake

Security Groups are enough; I do not need NACLs for SAP.

Correct

Security Groups operate at the instance level and are stateful. NACLs operate at the subnet level and are stateless, providing an additional layer of defence against misconfigured Security Groups. For SAP systems handling sensitive data, both should be used in a defence-in-depth approach.

Beginners think one layer of security is sufficient because it feels simpler. Real-world compliance (like SOC 2) demands multiple layers.

Mistake

If I use Direct Connect, I do not need an Internet Gateway for my VPC.

Correct

Direct Connect handles traffic between your on-premises network and your VPC. If your SAP system needs to reach the internet (for patches, license validation, or SAP Cloud Platform integration), you still need an Internet Gateway attached to the VPC, and you must route internet-bound traffic through it.

People think Direct Connect replaces all internet access. It only replaces the path to your on-premises network. Internet access is a separate function.

Mistake

Transit Gateway is only useful if you have more than 10 VPCs.

Correct

Transit Gateway simplifies routing even with just 2 VPCs and an on-premises network. Without it, you would need to set up multiple VPN connections or VPC Peering connections and manage multiple route tables. Transit Gateway reduces complexity for any multi-VPC setup.

Beginners underestimate the management overhead of manual routing. The exam heavily favours Transit Gateway for its centralised management.

Mistake

AWS Direct Connect automatically provides high availability if you order one circuit.

Correct

A single Direct Connect circuit is a single point of failure. High availability requires two circuits - either from different providers or into different AWS Direct Connect locations - or a combination of Direct Connect and a VPN backup.

The term 'dedicated' implies reliability. But physical cables can be cut, and carrier equipment can fail. The exam tests that you know redundancy requires multiple connections.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

What is the difference between AWS Direct Connect and VPN?

Direct Connect is a physical, private connection that bypasses the public internet. It offers consistent low latency and high bandwidth, which is critical for SAP HANA replication. VPN uses the public internet with encryption and is cheaper to set up, but latency can vary.

Can I use VPC Peering to connect my on-premises data centre to AWS?

No. VPC Peering connects two VPCs inside AWS, not an on-premises network. To connect on-premises, you need Direct Connect, VPN, or a combination through Transit Gateway.

Do I need a separate Direct Connect for each VPC?

No. You can use a single Direct Connect through a Virtual Private Gateway or Transit Gateway to reach multiple VPCs. You just need to configure routing properly between them.

How do I make my Direct Connect connection highly available?

Order two Direct Connect circuits from different providers or into different AWS Direct Connect locations. Alternatively, pair a single Direct Connect with a VPN backup. BGP will automatically fail over if one connection drops.

What is Transit Gateway and why should I use it for SAP?

Transit Gateway is a central router that connects multiple VPCs and on-premises networks. For SAP, it is useful because many companies have separate VPCs for development, testing, and production. Transit Gateway simplifies routing between them and reduces the number of VPN connections.

What ports does SAP HANA use for network connectivity?

SAP HANA typically uses port 3001$ for internal database communication (with $ being the instance number, e.g., 30015 for instance 15). It also uses ports 80 and 443 for HTTP/HTTPS, and 3200/3300 for SAP application server connections.

Terms Worth Knowing

Keep going

You've finished SAP Networking and Connectivity on AWS. Continue through the PAS-C01 study guide to build a complete picture of the exam.

Done with this chapter?