SAP-C03 Hybrid Cloud Integration: Direct Connect Resiliency, Hybrid DNS, Data Sync, Legacy Integration and Hybrid Compute
Hybrid cloud integration is the architecture that joins an on-premises estate to AWS: redundant private connectivity with predictable failover, data kept in sync across both sides, legacy systems connected to cloud services through managed transformation, one DNS namespace that resolves from either side, and AWS compute placed in facilities or cities the Region cannot reach. For SAP-C03 Task 1.3 that means designing AWS Direct Connect and Site-to-Site VPN with transit gateways, choosing between AWS DataSync, AWS Storage Gateway and AWS Transfer Family, bridging legacy brokers and APIs with Amazon MQ, Amazon API Gateway, AWS Lambda and Amazon EventBridge Pipes, building hybrid DNS with Route 53 Resolver endpoints and private hosted zones, and choosing among AWS Outposts, AWS Local Zones, Amazon ECS Anywhere and Amazon EKS Anywhere. This lesson teaches the rules that decide each choice when a scenario adds constraints such as surviving a location loss, no public IP addresses, no code changes or least operational overhead.
On this page10 sections
- What does hybrid cloud integration cover for SAP-C03?
- How do you design Direct Connect for redundancy and failover?
- How does AWS choose between Direct Connect and VPN routes?
- How do you make Direct Connect connections active/passive or active/active?
- How do you encrypt hybrid traffic and scale it to many VPCs?
- How do you keep data synchronized between on premises and AWS?
- How does AWS Transfer Family handle partner file exchange?
- How do you modernize legacy systems with data transformation?
- How do you design DNS across on premises and AWS?
- Where should AWS compute run in a hybrid design?
- Choose a Direct Connect resiliency model, LAG minimum links setting and VPN backup that meet a stated failure and bandwidth requirement
- Predict which path a transit gateway or virtual private gateway uses from prefix length and route source, and control active/passive or active/active Direct Connect with BGP communities and local preference
- Select MACsec, private IP VPN or VPN over a public VIF to encrypt hybrid traffic, and scale connectivity to many VPCs and Regions with a Direct Connect gateway and transit gateways
- Choose between DataSync, each Storage Gateway type and Transfer Family, and keep file gateway shares consistent across writers
- Connect legacy systems without changing them by using Amazon MQ, API Gateway mapping templates or Lambda, and EventBridge Pipes
- Design hybrid DNS with Resolver inbound and outbound endpoints, forwarding and system rules, Route 53 Profiles and narrowly scoped split-horizon zones
- Place hybrid compute on Outposts, Local Zones, ECS Anywhere, EKS Hybrid Nodes or EKS Anywhere based on data location, hardware ownership and connectivity
What does hybrid cloud integration cover for SAP-C03?
Hybrid cloud integration is the set of designs that make an on-premises estate and AWS work as one system: a private network path that survives failures, data that stays synchronized in both places, legacy applications connected to cloud services without rewriting them, one DNS namespace that resolves from either side, and AWS compute running where the cloud Region cannot reach. SAP-C03 Task 1.3 has five skills, and each maps to a small family of services.
| Skill | Services the scenarios use | Typical deciding detail |
|---|---|---|
| Redundant hybrid connectivity | AWS Direct Connect, AWS Site-to-Site VPN, AWS Transit Gateway, Direct Connect gateway | Survive a location loss, keep bandwidth during failure, encryption, which path is primary |
| Hybrid data synchronization | AWS DataSync, AWS Storage Gateway, AWS Transfer Family | Copy versus live access, file versus block versus tape, partner protocols, cache freshness |
| Modernizing legacy systems with transformation | Amazon MQ, Amazon API Gateway, AWS Lambda, Amazon EventBridge Pipes | No code change on the legacy side, declarative versus code transformation |
| Hybrid DNS | Route 53 Resolver inbound and outbound endpoints, Resolver rules, private hosted zones, Route 53 Profiles | Query direction, which VPC a zone is associated with, overlapping names |
| Hybrid compute | AWS Outposts, AWS Local Zones, Amazon ECS Anywhere, Amazon EKS Anywhere, Amazon EKS Hybrid Nodes | Who owns the hardware, where the data must stay, whether the site stays connected |
Neighbouring tasks own related material: VPC peering, AWS PrivateLink and multi-VPC design (Task 1.4), Route 53 routing policies for multi-Region traffic (Task 1.4), IAM Roles Anywhere (Task 2.1), DataSync and AWS DMS as one-time migration tools (Task 4.1) and disaster recovery (Task 4.2). This lesson covers DataSync only as an ongoing synchronization service.
How do you design Direct Connect for redundancy and failover?
Redundant Direct Connect means more than one connection, at more than one Direct Connect location, terminating on separate devices, sized so the surviving paths still carry the full load. AWS describes three resiliency models in the Direct Connect Resiliency Toolkit, and the scenario's failure requirement picks one.
| Model | Layout | What it survives |
|---|---|---|
| Maximum resiliency | Two connections at each of two locations, each on a separate customer and AWS device | A whole location failing and still being redundant afterwards; a device or connection failing at the other location |
| High resiliency | One connection at each of two locations | A location failing, but the survivor is then a single path |
| Development and test | Two connections at one location on separate devices | A device or connection failure, not a location failure |
Read the capacity requirement against the failure state, not the healthy state. If every path must carry 10 Gbps "while a failure is in progress", the connections that survive the worst stated failure must each provide it. Adding more connections at one location never protects against losing that location.
Link aggregation groups and minimum links
A link aggregation group (LAG) bundles dedicated connections of the same speed that terminate on the same AWS Direct Connect endpoint (the same AWS device) into one logical connection: up to four connections below 100 Gbps, or up to two at 100 or 400 Gbps. The LAG's minimum links attribute sets how many member connections must be up for the LAG itself to stay up. With the default of 0, a LAG that loses three of four members keeps running on one link and keeps attracting traffic it cannot carry. Setting minimum links to the number of members needed for the LAG's share of peak load makes a degraded LAG go down completely, BGP withdraws its routes, and traffic moves to the other location, which must have the capacity to absorb it.
Site-to-Site VPN as a backup path
A Site-to-Site VPN over the internet is the cheap backup for Direct Connect, but it crosses the public internet and each tunnel has a fixed bandwidth ceiling far below a multi-gigabit Direct Connect connection. It fits when the backup may run at reduced capacity; it fails any requirement that traffic never touches the internet or that full bandwidth survives the failure. Higher VPN capacity comes from ECMP across many tunnels on a transit gateway (see below), never from a single tunnel.
How does AWS choose between Direct Connect and VPN routes?
AWS always prefers the longest matching prefix first, and only among routes for the same prefix does it compare route sources. That one rule explains most "why is traffic using the VPN?" scenarios: whenever one path carries a summary route and the other carries more-specific routes covering the same addresses, the more-specific path wins for those addresses, however route sources or attachments are ranked. Advertise identical prefixes over both paths (or the more specific ones over Direct Connect) when Direct Connect must be primary.
For the same prefix, the two gateway types rank sources differently, and the difference is a common trap:
| Transit gateway route table | Virtual private gateway (VPC route table with propagation) | |
|---|---|---|
| Order after longest prefix | Static routes, then prefix-list references, then VPC-propagated, then Direct Connect gateway-propagated, then Transit Gateway Connect-propagated, then private IP VPN-propagated, then Site-to-Site VPN-propagated routes | Static routes in the VPC route table, then propagated routes in this order: Direct Connect BGP routes, then VPN static routes, then VPN BGP routes |
| Static VPN routing | A static VPN creates static routes in the transit gateway route table, which outrank the Direct Connect gateway's propagated routes, so the VPN becomes primary | Routes configured on a static VPN connection are propagated through the gateway and rank below Direct Connect BGP routes, so Direct Connect stays primary |
| Safe backup design | BGP on both the Direct Connect gateway and the VPN attachments, same prefixes, no manual static route to the VPN | Direct Connect BGP plus either a BGP or a static VPN |
With BGP on both paths, failover is automatic: when the Direct Connect BGP session drops, its routes are withdrawn and the next-ranked VPN route is used; when the session returns, traffic moves back. As a general rule, any static route to a VPN attachment in a transit gateway route table outranks the Direct Connect gateway's propagated route for the same prefix, so it turns the backup into the primary path.
ECMP on a transit gateway
Equal-cost multi-path routing lets a transit gateway spread traffic across several Site-to-Site VPN tunnels, which is how a VPN backup reaches more capacity than one tunnel provides. It needs VPN ECMP support enabled on the transit gateway, dynamic (BGP) routing on every VPN connection (static VPNs are excluded) and the same prefixes advertised with the same AS path over each tunnel. ECMP never balances between different attachment types, so a Direct Connect gateway attachment and a VPN attachment advertising the same prefix are ranked, not shared. Virtual private gateways offer no equivalent aggregation.
How do you make Direct Connect connections active/passive or active/active?
Traffic has two directions and each is controlled on a different side. AWS decides how traffic flows from AWS to on premises based on what the customer advertises; the customer's routers decide how traffic flows from on premises to AWS based on their own BGP policy.
AWS to on premises: local preference communities
Tag the prefixes you advertise over a private or transit VIF with a Direct Connect local preference BGP community:
7224:7300— high preference7224:7200— medium preference7224:7100— low preference
AWS evaluates local preference before AS path length, so communities override AS path prepending. For active/passive, tag the primary connection's prefixes high and the standby's low. AS path prepending also works for this direction, but you prepend on the path you want to make less preferred; prepending on the primary makes it the backup.
On premises to AWS: the customer router
AWS advertises the same VPC prefixes over every connection, so on-premises routers choose. Setting a higher BGP local preference on routes learned over the primary connection makes outbound traffic use it. A complete active/passive design therefore needs both a community on the advertisements and a local preference on the customer routers.
Active/active
AWS spreads traffic across connections only when it sees equal paths: the same prefixes, the same AS path length and the same local preference community (or none on either). Any difference AWS evaluates — a more specific prefix, a higher community, a shorter AS path — makes one connection preferred and leaves the other idle. Communities are static policy: they do not react to a degraded connection, which is why a partially failed LAG is handled with minimum links instead.
How do you encrypt hybrid traffic and scale it to many VPCs?
Direct Connect is private but not encrypted, so an encryption requirement adds one of three designs, chosen by connection type, bandwidth and whether public IP addresses are allowed.
| Option | Where it works | Strengths | Limits |
|---|---|---|---|
| MACsec (IEEE 802.1AE, Layer 2) | Dedicated connections at supported speeds (10, 100 and 400 Gbps) and locations, and LAGs of them; MACsec-capable customer router | Line-rate encryption, no tunnels to manage; configured by associating a CKN/CAK key pair with the connection and the same pair on the router | Not available on hosted connections. Use the must_encrypt mode when nothing may ever flow unencrypted; should_encrypt can fall back to clear text |
| Private IP Site-to-Site VPN | Over a transit VIF and Direct Connect gateway to a transit gateway | AWS-terminated IPsec with private (RFC 1918 or RFC 6598) outer tunnel addresses, works on hosted connections | Transit gateway only (not a virtual private gateway); per-tunnel bandwidth limits |
| Site-to-Site VPN over a public VIF | Public VIF to AWS public endpoints, VPN to a virtual private gateway or transit gateway | Traffic stays on Direct Connect, not the internet | Tunnel endpoints are public IP addresses; per-tunnel bandwidth limits |
One hybrid hub for many VPCs and Regions
The scalable pattern is a transit VIF on each Direct Connect connection to a single Direct Connect gateway, associated with a transit gateway in each Region. New VPCs only attach to their Regional transit gateway, so the Direct Connect configuration never changes as the estate grows. Private VIFs to virtual private gateways need per-VPC associations (or per-VPC VIFs) and do not scale to hundreds of VPCs; funnelling other Regions through one Region's transit gateway with transit gateway peering adds static routes and hairpins traffic. Inter-VPC design beyond the hybrid edge belongs to Task 1.4.
How do you keep data synchronized between on premises and AWS?
Pick the synchronization service by how the on-premises side keeps working. If applications keep using their existing storage and AWS needs a copy, use AWS DataSync. If on-premises applications should read and write storage that lives in AWS, use AWS Storage Gateway. If external partners exchange files over SFTP, FTPS, FTP or AS2, use AWS Transfer Family (next section).
AWS DataSync
DataSync copies data between on-premises NFS, SMB, HDFS or object storage and Amazon S3, Amazon EFS or Amazon FSx. An agent deployed on premises reads the source; a task defines source, destination and options, and runs on a schedule. Each run transfers only new and changed data, verifies integrity, and can be throttled with a bandwidth limit so it never saturates a shared link. Teams no longer write change-tracking scripts. For a fully private design, create an interface VPC endpoint for DataSync and activate the agent with that VPC service endpoint: control and data traffic then use private addresses reached over a private VIF or VPN. A public VIF still targets public addresses, FIPS endpoints are public endpoints, and DataSync has no gateway endpoint type.
AWS Storage Gateway types
| Gateway | On-premises interface | Where data lives in AWS | Fits |
|---|---|---|---|
| Amazon S3 File Gateway | NFS or SMB file shares | Each file is an object in an S3 bucket, readable by cloud analytics | File shares whose content must be native S3 objects; local cache for recent data |
| Tape Gateway | iSCSI virtual tape library for existing backup software | Virtual tapes in S3, archived to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive | Retiring physical tape without changing the backup application |
| Volume Gateway, cached volumes | iSCSI block volumes | Primary data in AWS; frequently read data cached locally; EBS snapshots | Block storage larger than local disk, where cold data may be served from AWS |
| Volume Gateway, stored volumes | iSCSI block volumes | Entire dataset on local disk, backed up asynchronously as point-in-time EBS snapshots | Low-latency access to all data with backups in AWS that restore to EBS volumes |
| Amazon FSx File Gateway | SMB | FSx for Windows File Server | No longer available to new customers; not a choice for a new design |
Cached versus stored is the classic near-twin: stored keeps every block local (low latency for old data too), cached keeps only hot data local.
Keeping S3 File Gateway shares current
A file gateway knows about objects it wrote itself. Objects written to the bucket by anything else — a pipeline in AWS, another gateway — appear on the share only after the gateway refreshes its cached metadata. Automated cache refresh on the file share re-lists the bucket when a directory is accessed after a time-to-live you set, with no code; the RefreshCache API does the same on demand (for example from an event-driven function, which is custom code). Only a metadata refresh changes what the share lists; cache size and bucket settings do not.
When several gateways share a bucket, give each writable file share its own prefix so only one share ever writes a given object, and let other sites read that prefix through a read-only file share with automated cache refresh set to their freshness target. File locking is enforced by each gateway for its own clients and is not coordinated between gateways, and keeping earlier object versions records conflicting writes rather than preventing them.
How does AWS Transfer Family handle partner file exchange?
AWS Transfer Family is a managed SFTP, FTPS, FTP and AS2 service that stores files in Amazon S3 or Amazon EFS, so partners keep their existing clients and processes while the company drops self-managed file servers. Three design choices define a server.
Endpoint type
| Endpoint | Reachable from | IP addresses |
|---|---|---|
| Public | Internet | AWS-managed and subject to change, so partners cannot allow-list them; no security groups |
| VPC, internet-facing | Internet, filtered by security groups | Elastic IP addresses you attach, including addresses from your own range brought to AWS with BYOIP, so partner firewall rules stay valid |
| VPC, internal | The VPC and connected networks (Direct Connect, VPN, peering) | Private addresses; the only option for plain FTP |
Identity provider
- Service-managed users authenticate with SSH keys stored in the service; they cannot use directory passwords.
- AWS Directory Service authenticates against AWS Managed Microsoft AD or, through an AD Connector, the company's on-premises Active Directory, so users sign in with their existing usernames and passwords and access is granted per AD group.
- A custom identity provider (a Lambda function or an API Gateway endpoint) handles anything else, at the cost of code you maintain.
Processing and outbound transfers
Managed workflows run after an upload with built-in steps — copy, tag, delete and PGP decrypt — plus optional custom Lambda steps, so common post-upload processing needs no event-driven code. Connectors make AWS the client instead of the server: an SFTP connector sends files from S3 to a remote SFTP server the partner operates (or retrieves files from it), and an AS2 connector sends AS2 messages. A connector transfer is started with the StartFileTransfer API and explicit file paths, so any recurring outbound push needs an orchestration step that decides which files to send and calls that API. A Transfer Family server only receives connections; it cannot push to a partner.
How do you modernize legacy systems with data transformation?
Legacy modernization in this task means connecting systems you cannot change to cloud services by putting a managed broker, API front door or pipe between them and transforming the data in transit. Choose by the legacy interface: a message broker protocol points to Amazon MQ, a request/response service to API Gateway, and a queue feeding event-driven services to EventBridge Pipes.
Amazon MQ: move the broker, keep the code
Amazon MQ runs managed Apache ActiveMQ and RabbitMQ brokers that speak the industry protocols legacy applications already use, so applications move by changing a connection URL rather than code. ActiveMQ supports JMS clients over OpenWire plus AMQP 1.0, STOMP, MQTT and WebSocket; RabbitMQ uses AMQP 0-9-1. Rewriting producers and consumers for Amazon SQS, Amazon SNS or Amazon MSK is the cloud-native path, not the no-code-change one.
| Deployment | Availability |
|---|---|
| ActiveMQ single-instance | One broker in one Availability Zone; no failover |
| ActiveMQ active/standby | Two brokers in two Availability Zones on shared durable storage; persisted messages survive an AZ loss |
| ActiveMQ network of brokers | Several brokers forwarding to each other; scales throughput, but messages on a failed broker's own storage wait for it |
| RabbitMQ cluster | Three nodes across Availability Zones |
Broker HA is half the design: clients must also reconnect. With ActiveMQ, the client connection URL uses the failover: transport listing both broker endpoints, so applications move to the standby automatically.
API Gateway as a transforming facade
An API Gateway REST API can present a new contract while the back end keeps its old one: mapping templates (Velocity templates) rewrite request and response bodies declaratively, and a private integration through a VPC link reaches a load balancer whose IP targets are the on-premises service over Direct Connect or VPN. REST APIs also provide API keys and usage plans for per-client quotas. An HTTP API is cheaper and simpler, but its parameter mapping changes headers, query strings and paths, not bodies, and it has no usage plans.
When the transformation is more than a reshape of the body — decoding a non-JSON format or combining the response with data from another source — a Lambda integration is the right tool: the function calls the legacy service, transforms and enriches, and returns the new format. As a rule, mapping templates only rewrite the payload they are given, and load balancers route requests without transforming them.
EventBridge Pipes: legacy messages into events
An EventBridge pipe connects a source to a target with optional filtering, enrichment and input transformation, with no polling or delivery code. With an Amazon MQ queue as the source, a Lambda enrichment can convert each message (for example XML to JSON) and the pipe delivers the result to an event bus. The pipe's input transformer only reshapes JSON, so non-JSON payloads need an enrichment step. Two Amazon MQ details matter:
- A pipe consumes from queues, not topics. When legacy subscribers must keep their topic, make it an ActiveMQ virtual topic and point the pipe at one of its consumer queues.
- A broker in private subnets with no internet path is reached through an interface VPC endpoint for the pipes-data service, which keeps the pipe's polling on private addresses.
A Lambda function with an Amazon MQ event source mapping also works, but the function must then call PutEvents itself; a self-hosted container consumer is fully custom.
How do you design DNS across on premises and AWS?
Hybrid DNS is built from Amazon Route 53 Resolver endpoints (the Resolver is now documented as Route 53 VPC Resolver): an inbound endpoint lets on-premises DNS servers resolve AWS names, and an outbound endpoint with forwarding rules lets VPCs resolve on-premises names. Start every design by asking which direction the query travels.
| Inbound endpoint | Outbound endpoint + Resolver rules | |
|---|---|---|
| Query direction | On premises → AWS | AWS → on premises |
| Configuration | Conditional forwarders on the on-premises DNS servers pointing at the endpoint's IP addresses | A forwarding rule per domain targeting the on-premises DNS servers, associated with the VPCs |
| What it can answer | Private hosted zones (and other names) visible to the endpoint's own VPC | Whatever the on-premises servers answer |
Two inbound rules decide most troubleshooting. First, the private hosted zone must be associated with the VPC that contains the inbound endpoint; a zone associated only with workload VPCs resolves there but returns NXDOMAIN through the endpoint. Second, NXDOMAIN means the query arrived and was answered, whereas a security group that blocks DNS (TCP and UDP port 53) causes timeouts. On-premises servers must never forward to the VPC's base-plus-two Resolver address; that address is not reachable from outside the VPC, which is why inbound endpoints exist.
Forwarding rules, system rules and sharing
A forwarding rule for a domain also covers all its subdomains. When a subdomain must resolve inside AWS instead — for example a private hosted zone for a cloud subdomain of a corporate domain that is forwarded on premises — create a system rule for the subdomain; Resolver then answers it locally, which also keeps it working when the Direct Connect link is down. In a multi-account organization, build one outbound endpoint and the rules in a central network account and share the rules with AWS Resource Access Manager (AWS RAM); member VPCs associate the shared rules and use the central endpoint through them, instead of each account running its own endpoint.
Route 53 Profiles
A Route 53 Profile bundles DNS configuration — private hosted zones, Resolver forwarding and system rules, DNS Firewall rule groups, interface VPC endpoints and Resolver query logging configurations — into one resource that is shared through AWS RAM and associated with VPCs; each VPC can be associated with only one Profile. Changes to the Profile apply to every associated VPC, which suits hundreds of VPCs that need the same DNS setup. Without a Profile, private hosted zones cannot be shared through RAM at all; cross-account association needs CreateVPCAssociationAuthorization per VPC.
Split-horizon DNS
Split-horizon DNS returns different answers to internal and external clients for the same name, built from a public hosted zone and a private hosted zone with the same name. Inside VPCs associated with the private zone, Route 53 answers from the private zone and does not fall back to the public zone for names the private zone lacks. A private zone named example.com holding one record therefore breaks every other example.com name inside the VPC. Scope each private zone to exactly the names that need an internal answer, typically one zone per such host name with the record at the zone apex, and associate it with the VPCs, including the inbound endpoint's VPC. On-premises clients see the internal answer only if their DNS servers conditionally forward that same narrow name to the inbound endpoint; forwarding the whole parent domain would send every public name through the private view. Mirroring every public record in the private zone also works, at the cost of maintaining each record twice.
Where should AWS compute run in a hybrid design?
Hybrid compute puts AWS-managed or AWS-orchestrated compute where the Region cannot serve the requirement. Three questions decide: must data or processing stay in the customer's own facility, who owns the hardware, and does the site keep a reliable connection to the Region?
| Option | Hardware and location | Connectivity | Fits |
|---|---|---|---|
| AWS Outposts (racks or servers) | AWS-owned hardware installed in the customer's facility | Needs a service link to its parent Region for management | Data residency or single-digit-millisecond latency inside a plant or data center with the same AWS APIs (EC2, EBS, and on racks services such as Amazon RDS and EKS local clusters) |
| AWS Local Zones | AWS-operated infrastructure in a metro area | Extension of the parent Region; you add a subnet in the zone to your VPC | Low latency to end users in a city with no hardware to buy or house |
| AWS Wavelength Zones | AWS infrastructure inside telecom carriers' 5G networks | Reached through the carrier's mobile network | Mobile and connected-device applications on 5G |
| Amazon ECS Anywhere | Customer-owned servers or VMs registered to an ECS cluster in the Region | Needs connectivity to the Region | Containers on existing hardware managed from one ECS cluster |
| Amazon EKS Hybrid Nodes | Customer-owned servers joined as worker nodes to an EKS cluster in the Region | Needs reliable connectivity; AWS operates the control plane | Kubernetes on premises with an AWS-managed control plane |
| Amazon EKS Anywhere | Customer-owned infrastructure running the whole Kubernetes cluster, control plane included | Can run disconnected | Sites that lose connectivity for long periods or must stay air-gapped |
Local Zones and Outposts both deliver low latency; the split is where the infrastructure sits. A Local Zone is outside the customer's building, so it fails an "inside the plant" residency requirement but suits city users; an Outpost is inside, so it needs space, power and a service link. AWS points disconnected, intermittent or limited-connectivity sites to EKS Anywhere rather than Hybrid Nodes, because Hybrid Nodes depend on the Region's control plane.
ECS Anywhere limits
Servers are registered as external instances (through an AWS Systems Manager activation) and services run with the EXTERNAL launch type. Tasks use the bridge, host or none network mode — awsvpc is not supported — and external instances do not support service load balancing, service discovery or capacity providers. ECS Anywhere therefore suits workers that make outbound calls (polling queues, writing to S3) rather than services that receive load-balanced inbound traffic.
Tip. SAP-C03 tests this task with multi-sentence scenarios about a company's data centers, branch sites and multi-account AWS estate, usually with several stated constraints: stay redundant through a location loss, keep full bandwidth during failure, encrypt without public IP addresses, no changes to legacy code, a managed service with the least operational overhead, data that must stay on site, or names that must resolve while Direct Connect is down. Many items are troubleshooting scenarios — traffic taking an unexpected path, NXDOMAIN through an inbound endpoint, missing files on a gateway share, a broken split-horizon zone — that hinge on one routing or resolution rule. Some items are multiple response, where the correct options together meet requirements on different sides of the design, such as both directions of BGP traffic.
- Only maximum resiliency (two connections at each of two Direct Connect locations on separate devices) is still redundant after a whole location fails; size the surviving connections for the full load.
- Set a LAG's minimum links so a degraded LAG goes down and BGP moves its traffic, instead of one surviving link dropping packets.
- Longest prefix wins before route source. On a transit gateway, static routes (including a static VPN) outrank Direct Connect gateway routes; on a virtual private gateway, Direct Connect BGP routes outrank VPN static routes.
- Local preference communities 7224:7300/7200/7100 steer AWS-to-on-premises traffic and beat AS path; the customer routers' local preference steers the other direction; active/active needs equal attributes.
- MACsec suits dedicated connections at line rate (never hosted ones); private IP VPN needs a transit VIF to a transit gateway; VPN over a public VIF uses public IP addresses. VPN ECMP needs BGP and never spans attachment types.
- DataSync copies from storage that stays in use; S3 File Gateway turns shares into S3 objects; stored volumes keep all data local while cached volumes keep only hot data; Tape Gateway replaces tape; FSx File Gateway is closed to new customers.
- Objects written to a bucket outside a file gateway appear after automated cache refresh or RefreshCache; give each writable share its own prefix.
- Transfer Family: internet-facing VPC endpoints carry your Elastic IPs (including BYOIP), Directory Service with AD Connector reuses AD passwords, managed workflows decrypt and copy without code, SFTP connectors push to partner servers.
- Amazon MQ moves JMS/OpenWire (ActiveMQ) or AMQP 0-9-1 (RabbitMQ) apps without code changes; REST API mapping templates reshape bodies, Lambda handles parsing and lookups, and EventBridge Pipes read MQ queues (virtual topics for topics).
- Inbound endpoints answer from zones associated with their own VPC; system rules carve subdomains out of forwarding rules; Profiles share DNS bundles through RAM; private zones never fall back to a public zone of the same name.
Frequently asked questions
What is the difference between Direct Connect high resiliency and maximum resiliency?
High resiliency uses one connection at each of two Direct Connect locations, so it survives losing a whole location but is left with a single path. Maximum resiliency uses two connections at each of two locations on separate devices, so it is still redundant after a location fails. Choose maximum resiliency when the requirement says connectivity must stay redundant, or keep full capacity, during a location outage.
Why does traffic use the VPN instead of Direct Connect when both are connected to a transit gateway?
Usually because the VPN path has a more specific prefix or a static route. A transit gateway picks the longest matching prefix before it compares route sources, and among routes for the same prefix it ranks static routes (including routes from a static VPN connection) above routes propagated from a Direct Connect gateway. Advertise identical prefixes over BGP on both paths and avoid static routes to the VPN attachment so Direct Connect stays primary.
How do you make one Direct Connect connection primary and another standby?
Control both directions. For traffic from AWS to on premises, tag the prefixes advertised over the primary connection with the 7224:7300 local preference community and those over the standby with 7224:7100; AWS evaluates these before AS path. For traffic from on premises to AWS, set a higher BGP local preference on the customer routers for routes learned over the primary connection.
Can you use MACsec on a hosted Direct Connect connection?
No. MACsec is supported only on dedicated Direct Connect connections at supported speeds and locations, and on LAGs of them. To encrypt traffic over a hosted connection without public IP addresses, create a transit VIF to a Direct Connect gateway associated with a transit gateway and use a private IP Site-to-Site VPN, which AWS terminates on the transit gateway.
When should you use AWS DataSync instead of AWS Storage Gateway?
Use DataSync when on-premises applications keep using their existing file servers and AWS needs a scheduled, verified, bandwidth-limited copy of new and changed data. Use Storage Gateway when on-premises applications should read and write storage that is backed by AWS: S3 File Gateway for file shares stored as S3 objects, Volume Gateway for iSCSI block volumes, and Tape Gateway for backup software that writes to tape.
Why don't files written directly to S3 show up on an S3 File Gateway share?
The gateway keeps cached metadata about the bucket and only knows immediately about objects it wrote itself. Objects written by other applications or gateways appear after the file share's metadata is refreshed, either automatically with automated cache refresh and a time-to-live, or on demand with the RefreshCache API. Cache size and bucket settings do not affect this; only a metadata refresh does.
How do on-premises servers resolve names in a Route 53 private hosted zone?
Create a Route 53 Resolver inbound endpoint in a VPC that is associated with the private hosted zone, and configure conditional forwarders on the on-premises DNS servers that send the zone's queries to the endpoint's IP addresses over Direct Connect or VPN. If the zone is not associated with the endpoint's VPC, queries return NXDOMAIN. Forwarding to the VPC's base-plus-two resolver address from on premises is not supported.
When should you use Amazon EKS Anywhere instead of EKS Hybrid Nodes?
Use EKS Anywhere when a site must keep running and scheduling Kubernetes workloads while disconnected from AWS, because the whole cluster, including its control plane, runs on the customer's hardware. Use EKS Hybrid Nodes when on-premises servers have reliable connectivity to the Region and the company wants AWS to operate the control plane of an EKS cluster in the Region.
Source
This lesson covers the "Architecture Design and Implementation Built for the Cloud" domain of the official SAP-C03 exam guide. Vendors revise their guides — check the source for the current version.
- AWS Certified Solutions Architect – Professional (SAP-C03) exam guide — Amazon Web Services
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.