Skip to main content

Architecture Decision Guide

Published 2026-08-258 min read

Overview

An EKS Hybrid Nodes architecture is finalized not by a single decision but by a combination of six interdependent design decisions. This document presents the options and decision criteria for each decision and the dependencies between them. Configuration procedures for individual decisions are covered in their respective chapters. Understanding the node CIDR mandatory, Pod CIDR optional principle is required as prerequisite knowledge.

Design Decision Map

#DecisionKey QuestionOptionsDetail Chapter
Hybrid connectivityWhat are the bandwidth, encryption, and lead-time requirements?Direct Connect / Site-to-Site VPN / bothFirewall & Connectivity
Cluster topologyCan cloud nodes be operated alongside?Mixed mode / hybrid-onlyOperations & Cost Optimization
Pod CIDR exposureIs Pod-level inbound required?Full BGP routing / CNI NAT / GatewayThis document + Gateway build
CNI & routing methodWhich CNI advertises the Pod CIDR, and how?Cilium (BGP / static) / Calico (community)CNI Configuration & Routing
Node authenticationDoes the organization own and operate a private PKI?SSM / IAM Roles Anywhere (+Vault PKI)Node Authentication Methods
Workload exposureWhere does application traffic originate?NLB/ALB IP targets / Cilium built-in LBLoad Balancing

The dependencies between decisions are as follows. ③ (Pod CIDR exposure) is the central decision; the choices made in ①, ②, ④, and ⑥ narrow ③'s options or create its preconditions. ⑤ (node authentication) is independent of the other decisions but determines which endpoints must be registered with the firewall, so it must be finalized before submitting the firewall request.

Decision ① Hybrid Connectivity: Direct Connect vs Site-to-Site VPN

Because the control plane resides in the AWS Region, private connectivity between on-premises and the VPC is a non-negotiable requirement in every configuration, and the official guide recommends a minimum of 100Mbps bandwidth and an RTT of 200ms or less.

Decision AxisDirect ConnectSite-to-Site VPN
BandwidthDedicated connections at 1, 10, or 100Gbps; hosted connections from 50Mbps to 10GbpsUp to 1.25Gbps per tunnel (ECMP multi-tunnel scaling requires TGW)
Latency consistencyDedicated circuit — consistent latencyTraverses the internet — subject to variability
EncryptionUnencrypted by default — MACsec (limited to supported locations) or VPN over DXIPsec built in
Adoption lead timeCircuit provisioning takes weeks or moreCan be configured immediately
Suitable environmentsProduction, large-image and GPU workloadsPoC and small-scale, DX backup path

In environments where multi-tens-of-GB container image pulls recur — such as GPU inference — VPN tunnel bandwidth becomes the bottleneck. The common pattern is to prioritize Direct Connect for production and place VPN as a PoC option or a backup path for DX failure.

The encryption characteristics of this decision connect to decision ③. The Hybrid Nodes Gateway's VXLAN tunnel does not encrypt traffic, so in an environment that chose DX, adopting the Gateway in ③ requires securing MACsec or a VPN overlay as a precondition.

Decision ② Cluster Topology: Mixed Mode vs Hybrid-Only

Mixed mode — running cloud nodes (EC2) and hybrid nodes in one cluster — is the official operating pattern that bypasses Pod routing constraints by placing webhook components on cloud nodes, and it is the default recommended topology.

Decision AxisFavors Mixed ModeFavors Hybrid-Only
Webhooks & system add-onsCloud-node placement enables operation without Pod CIDR routingAll components run on-premises — Pod CIDR routing becomes effectively mandatory
Data residency requirementsWorkload data residing on-premises is sufficientRegulated environments that require even system components to reside on-premises
Scaling flexibilityOverflow beyond on-premises capacity is absorbed by cloud nodes (with Spot)Only on-premises expansion is available
CostAdds cloud-node EC2 costNo cloud compute beyond the cluster fee and hybrid vCPU-hour billing
  • Choosing hybrid-only means webhook components such as the AWS Load Balancer Controller and cert-manager run on hybrid nodes, which rules out the CNI NAT option in decision ③.
  • Mixed mode requires CNI placement isolation — VPC CNI is cloud-node-only and Cilium is pinned to hybrid nodes via the hybrid-label affinity, mutually exclusively (configuration details). Distribute CoreDNS with at least one replica on each side.

Decision ③ Pod CIDR Exposure: Full Routing vs NAT vs Gateway

"Should the Pod CIDR be exposed (routable) at the host level, or should a gateway layer be added?" is the central decision in hybrid design.

OptionEgressWebhooks/InboundEast-westTrade-offs
A. Full Pod CIDR routing (BGP recommended)OOOMost complete. Requires network team collaboration and BGP operations
B. CNI NAT (unroutable)OX — place webhooks on cloud nodesXSimplest. Significant functional constraints
C. Hybrid Nodes GatewayOOONo routing negotiation required. Cilium only, no built-in encryption, gateway EC2 cost

The suitability of each option is evaluated along the following six axes.

Decision AxisFavors A (Full Routing)Favors C (Gateway)
Network team collaborationBGP peering and routing changes can be negotiated quicklyThe network is a "black box" (separate organization, long change lead times)
IPAM headroomPod CIDR can be formally allocated from the corporate address spaceCorporate address space is saturated — Pod CIDR is consumed internally only
CNI constraintsCalico (community path) must be retained — Gateway is Cilium onlyCilium is in use or migration is feasible
Encryption requirementsCan be combined with CNI-level encryption (WireGuard/IPsec)Can be addressed at the transport layer (DX MACsec/VPN)
Operating ownerNetwork team operates routingPlatform team operates everything within the cluster
Additional costNone beyond router configurationOngoing cost of 2 gateway EC2 instances

B (CNI NAT) is only viable for minimal-functionality setups that can forgo webhooks, east-west traffic, and AWS service integration entirely, and it presumes mixed mode in decision ②. In environments where Calico must be retained, C is ruled out, so the choice is between A and B.

In environments with a separate network organization and saturated corporate IPAM — typical of large telecom and financial companies — C (Gateway) is the choice that minimizes negotiation cost and address consumption. However, since the VXLAN tunnel does not encrypt traffic, transport-layer encryption (DX MACsec or VPN) is a prerequisite, and the gateway EC2 bandwidth becomes the ceiling for cross-network traffic (sizing details). Conversely, in environments where the network team can actively operate BGP and heavy pod-to-pod east-west traffic is expected, A (full routing) provides a bottleneck-free architecture.

Decision ④ CNI and Pod CIDR Routing Method

Cilium is the AWS-supported CNI for hybrid nodes; the VPC CNI is incompatible with hybrid nodes, and Calico is the community-supported path.

  • Design new deployments around Cilium. It is within the AWS support scope and keeps the Gateway option in decision ③ available.
  • If Calico (community path) must be retained, the Gateway is excluded, limiting decision ③ to A/B.
  • Routing protocol: when choosing A (full routing), select between BGP (automatically reflects node changes, recommended) and static routing (limited to small fixed environments). Choosing C (Gateway) eliminates this decision entirely.

Per-CNI support status, core Cilium installation configuration (affinity, cluster-pool IPAM), and the BGP Control Plane procedure are covered in CNI Configuration and Pod CIDR Routing.

Decision ⑤ Node Authentication: SSM vs IAM Roles Anywhere

Hybrid nodes have no EC2 instance profile, so an IAM credential provider for on-premises must be selected.

  • Organizations without a private PKI: SSM hybrid activation is the default choice. It can start without additional infrastructure.
  • Organizations with private CA and certificate governance: IAM Roles Anywhere integrates naturally with the existing control framework.
  • Organizations operating HashiCorp Vault: use the integration pattern that registers Vault's PKI Secrets Engine as the private CA serving as the IAM Roles Anywhere trust anchor.

This decision is independent of the others and can proceed in parallel, but the choice determines which endpoints must be registered with the firewall (SSM family vs rolesanywhere family), so it must be finalized before writing the firewall request. The method comparison, Hybrid Nodes IAM role minimum permissions, and credential lifecycle management are covered in Node Authentication Methods.

Decision ⑥ Workload Exposure: Traffic Origin Principle

The official decision principle for Service type LoadBalancer is the origin of application traffic.

  • Region-originating traffic: use NLB/ALB with the AWS Load Balancer Controller in IP target mode. Note the reverse constraint — IP targets require the hybrid Pod CIDR to be reachable from AWS, so this requirement rules out B (CNI NAT) in decision ③.
  • On-premises-originating traffic: use Cilium's built-in LB (LB IPAM + BGP advertisement). Avoid the hairpin path that detours on-premises local traffic through a Regional LB, which incurs DX/VPN latency and bandwidth cost.

Per-path configuration requirements and community options such as MetalLB are covered in Load Balancing and Service Exposure.

Summary of Recommendations

  • Proceed through the decisions in the order ① connectivity → ② topology → ③ Pod CIDR exposure → ④ CNI & routing → ⑥ workload exposure, and finalize ⑤ authentication in parallel so it feeds the firewall request together with ①.
  • Prioritize Direct Connect for production and place VPN as a PoC or backup path.
  • Absent specific regulatory constraints, design for mixed mode + Cilium as the default topology.
  • In environments with a separate network organization and IPAM saturation, evaluate C (Gateway) first, with securing transport-layer encryption (DX MACsec/VPN) stated explicitly as a precondition.
  • Once an NLB/ALB IP target requirement is confirmed, rule out B (CNI NAT) early in decision ③.
  • Regardless of the combination, bidirectional node CIDR routing and private connectivity (DX/VPN) are non-negotiable requirements.

References

Official Documentation