Anycast Load Balancer (L4 & L7)

Origin integration as backend/target, L4 TCP and L7 HTTP modes, TLS termination via DNS-01, origin firewall protection, Proxy Protocol, and stateless operation.

Anycast Load Balancer (L4 & L7)

The ayedo Anycast Load Balancer places ayedo Edge Cloud directly in front of your existing origin servers — whether they run as external VPS instances, dedicated servers, in a Private Cloud, or inside Kubernetes clusters.

Connecting Existing Origin Servers

One or more existing origin servers are configured as a backend / target in the load balancer. Once configured, your domain's DNS records (A or CNAME) point to the load balancer's Anycast address.

The load balancer distributes incoming connections across all three German edge locations (FRA1, HAM1, ALS1) to your configured backends and continuously monitors backend availability via health checks.

Operating Modes: Layer 4 (TCP) and Layer 7 (HTTP/HTTPS)

Each load balancer can be operated either in Layer 4 (TCP) mode or in Layer 7 (HTTP/HTTPS) mode:

Criterion Layer 4 (TCP) Layer 7 (HTTP / HTTPS)
Protocol Layer Pure TCP load balancing HTTP / HTTPS with application-layer inspection
TLS Termination Passthrough to the origin server Optional directly on the load balancer
Certificate Management Handled on the origin server Automated via DNS-01 validation
WAF & Path-Based Rate Limiting Not available at the HTTP layer Fully available via Coraza WAF and path-based custom rules
Client IP at Origin Via Proxy Protocol (must be supported by the origin) Via HTTP forwarding headers and/or Proxy Protocol (depending on setup)

Prerequisite for L7 Operation with TLS Termination

When operating the load balancer in Layer 7 mode with TLS termination enabled, the platform automatically issues and renews the required TLS certificates using DNS-01 validation.

Origin Protection: Preventing Direct Access to Origin Servers

To prevent attackers from bypassing the Edge Cloud, WAF, or DDoS mitigation by connecting directly to your VPS or origin server IP address, lock down origin access at the network level:

  1. Retrieve the fixed IP ranges of the ayedo edge locations from the Customer Portal.
  2. Add these edge IP ranges as allowed source networks (allowlist) in your origin server's firewall (host firewall, provider firewall, or upstream security group) for your application ports (such as TCP 80 / 443).
  3. Deny all other public inbound traffic on those ports.

This ensures your origin server only accepts traffic that has passed through ayedo Edge Cloud (including DDoS protection and WAF inspection).

Stateless Operation and Caching

ayedo Edge Cloud load balancers are completely stateless: nothing is cached.

  • Authenticated and personal data areas: Because no HTTP or content caching takes place on the load balancers at all, authenticated portals, dashboards, APIs, and personal data are automatically and completely excluded from caching.
  • No risk of misconfigured cache rules: You do not need to maintain cache-bypass rules for cookies, authorization headers, or sensitive paths.
  • Clean Anycast failover: Because no session or cache state is held on an individual PoP, traffic can shift seamlessly between FRA1, HAM1, and ALS1 during failover.

Client IP Visibility and Proxy Protocol

The original client IP address remains visible to your origin server, ensuring application logs, access controls, and audits continue to see the real source IP.

  • Proxy Protocol: Depending on operating mode and configuration (especially in Layer 4 TCP mode), the real client IP is forwarded using Proxy Protocol (v1/v2). Your origin server or its web server / reverse proxy (e.g. NGINX, HAProxy, Caddy, Apache, or Envoy) must support and enable Proxy Protocol on the listening socket to read it.
  • HTTP headers in L7 mode: In Layer 7 mode, client IP information is also available at the HTTP layer; configure your origin to trust forwarded headers only from the edge IP ranges listed in the Customer Portal.

High Availability, Cluster Architecture, and SLAs

  • Three fixed German locations: FRA1 (Frankfurt), HAM1 (Hamburg), and ALS1 (Alsbach).
  • Per-site redundancy: Each of the three locations runs a highly available load balancer cluster with dedicated individual instances for every customer load balancer.
  • Automatic Anycast failover: All locations announce the load balancer networks via BGP Anycast and serve as mutual automatic failover.
  • Contractual availability (SLA): Binding availability commitments, measurement rules, and exclusions are published in the Service Appendix to the Terms & Conditions.

Related Guides