How to Move Envoy Gateway to ELB for Envoy: Pre-flight Checks (Tested)

Nov 27, 2026 · 12 min · Ajay Kumar

AWS made ELB for Envoy generally available on 25 November 2026, with an open source controller, elb-envoy-remote-infra-provider v1.0.0, that moves Envoy Gateway's data plane off your pods and onto AWS-managed Envoy. The controller is strict. A stock Envoy Gateway install fails one of its checks before you change anything, and a few common setups have no equivalent at all yet.

This guide is the part you can do before touching AWS: find what will not carry over, fix what can be fixed in place, and set up the side-by-side install the project's migration guide asks for. I ran the checks and fixes on a local cluster. The AWS steps at the end come from the documentation and I have not run them.

What I tested, and what I did not

Step Where Result
Envoy Gateway v1.10.0 install, Gateway, HTTPRoute, echo backend kind v0.33.0, Kubernetes 1.37.0, Docker 28.0.4 on an M-series Mac Worked; Helm install took 26 s, cluster 24 s
Read the generated Envoy config through the admin port Same Default listener access log is a file sink on /dev/stdout; Envoy 1.40.2
Pre-flight script with seeded problems Same Flagged the two seeded blockers, the default file access log and kind's non-AWS nodes (four blockers), plus both client IP warnings; the script below is the exact version I ran
Fixes: OpenTelemetry access logs, local rate limit Same, with OpenTelemetry Collector 0.166.0 Worked after one failure (below)
Controller unit tests v1.0.0 source, Go 1.27.4 pkg/model/... passed in 56 s
Second install in remote mode, ELBProxyConfiguration, proxy creation, DNS cut-over EKS and AWS Not run. No AWS calls in these posts

Everything ran against a throwaway kubeconfig with kubectl executed inside the kind node, so my real contexts were never touched.

Existing install (unchanged) ns envoy-gateway-system GatewayClass eg Envoy pods in your cluster NLB in front, old address Gateway my-gateway Keeps serving until cut-over Second install (remote) ns envoy-gateway-elb elb-gatewayclass-controller AWS sidecar, leader election off ELB for Envoy proxy, new DNS Gateway my-gateway-elb + ELBProxyConfiguration HTTPRoute parentRefs: - my-gateway - my-gateway-elb Weighted DNS for api.example.com old address 90, new DNS name 10, then raise the new weight while watching errors and latency, until 0 and 100 Rollback is moving the weight back. Never switch the old install to remote in place (old Service: 10080, proxy: 80).
The supported path is a second Envoy Gateway install. Routes attach to both Gateways, and DNS weights move the traffic.

Step 1: Run a read-only pre-flight

Each check below comes from the controller's compatibility page or migration guide. The script only runs get calls. It needs kubectl and jq, and exits non-zero if it finds a blocker, so it can gate a pipeline.

#!/usr/bin/env bash
# Read-only pre-flight check before moving Envoy Gateway proxies to ELB for Envoy.
set -uo pipefail
K=${KUBECTL:-kubectl}
EG_NS=${EG_NS:-envoy-gateway-system}
say() { printf '%-6s %s\n' "$1" "$2"; }

checks() {
# Nodes must be EC2 instances in the proxy's VPC
pids=$($K get nodes -o jsonpath='{range .items[*]}{.spec.providerID}{"\n"}{end}')
echo "$pids" | grep -qv '^aws://' && say BLOCK "nodes without an aws:// providerID"

# Pod IPs must be VPC-routable; overlays do not qualify
cni=$($K get ds -n kube-system -o jsonpath='{.items[*].metadata.name}')
case " $cni " in *" aws-node "*) say OK "VPC CNI found";;
  *) say WARN "no aws-node DaemonSet ($cni): check pod IPs are VPC-routable";; esac

# Controller v1.0.0 supports Kubernetes 1.34 to 1.37
minor=$($K version -o json | jq -r '.serverVersion.minor' | tr -dc 0-9)
{ [ "$minor" -ge 34 ] && [ "$minor" -le 37 ]; } && say OK "Kubernetes 1.$minor" \
  || say WARN "Kubernetes 1.$minor is outside 1.34 to 1.37"

# Gateway API standard CRDs v1.6+, all route kinds and ListenerSet
for crd in gateways httproutes grpcroutes tcproutes tlsroutes udproutes listenersets; do
  v=$($K get crd $crd.gateway.networking.k8s.io \
    -o jsonpath='{.metadata.annotations.gateway\.networking\.k8s\.io/bundle-version}' 2>/dev/null)
  [ -z "$v" ] && say BLOCK "CRD $crd missing" || echo "       crd $crd $v"
done

# Envoy Gateway version and config
img=$($K get deploy -n "$EG_NS" envoy-gateway -o jsonpath='{.spec.template.spec.containers[0].image}')
case "$img" in *:v1.10.*) say OK "Envoy Gateway $img";; *) say WARN "Envoy Gateway $img, controller is built for v1.10";; esac
cfg=$($K get cm -n "$EG_NS" envoy-gateway-config -o jsonpath='{.data.envoy-gateway\.yaml}')
echo "$cfg" | grep -q 'mergeGateways: true' && say INFO "merged gateways: one proxy per GatewayClass"
echo "$cfg" | grep -q 'rateLimit:' && say WARN "global rate limit service is not deployed in remote mode"

# EnvoyProxy: access log sinks, ignored Kubernetes settings, NLB annotations
$K get envoyproxy -A -o json | jq -r '.items[] |
  (.metadata.namespace + "/" + .metadata.name) as $n | (.spec.telemetry.accessLog // {}) as $al |
  ( if ($al.disable // false) then "OK     \($n): access logs disabled"
    elif (($al.settings // []) | length) == 0 then "BLOCK  \($n): default access log is a file sink"
    else ([$al.settings[] | .sinks[]? | select(.type == "File")] as $f |
      if ($f | length) > 0 then "BLOCK  \($n): File access log sink"
      else "OK     \($n): network access log sinks only" end) end ),
  ( .spec.provider.kubernetes // {} | keys[]? | "INFO   \($n): provider.kubernetes.\(.) is ignored" ),
  ( .spec.provider.kubernetes.envoyService.annotations // {} | to_entries[] |
      if (.key | test("eip-allocations")) then "BLOCK  \($n): Elastic IPs, no static IPs yet"
      elif (.key | test("aws-load-balancer-scheme")) then "MAP    \($n): scheme \(.value) -> ipAddressingConfiguration"
      else empty end )'

# Global rate limiting is not supported
$K get backendtrafficpolicy -A -o json | jq -r '.items[] | select(.spec.rateLimit.type == "Global") |
  "BLOCK  \(.metadata.namespace)/\(.metadata.name): Global rate limit"'

# The proxy does not pass the client IP to backends
$K get clienttrafficpolicy -A -o json | jq -r '.items[] |
  select(.spec.enableProxyProtocol == true or .spec.proxyProtocol != null) |
  "WARN   \(.metadata.namespace)/\(.metadata.name): proxy protocol, backends will see an AWS address"'
$K get svc -n "$EG_NS" -o json | jq -r '.items[] |
  select(.spec.type == "LoadBalancer" and .spec.externalTrafficPolicy == "Local") |
  "WARN   \(.metadata.name): externalTrafficPolicy Local does not carry over"'

# 25 proxies per Region by default, one per Gateway
gw=$($K get gateway -A --no-headers | wc -l | tr -d ' ')
[ "$gw" -gt 25 ] && say WARN "$gw Gateways, default quota is 25" || say OK "$gw Gateway(s)"
}

out=$(checks); echo "$out"
echo "summary: $(grep -c '^BLOCK' <<<"$out") blocker(s), $(grep -c '^WARN' <<<"$out") warning(s)"
[ "$(grep -c '^BLOCK' <<<"$out")" -eq 0 ]

I seeded the kind cluster with the usual suspects: an EnvoyProxy with two replicas, an NLB scheme annotation and Elastic IP allocations, a BackendTrafficPolicy with a global limit, and a ClientTrafficPolicy turning on proxy protocol. The run:

BLOCK  nodes without an aws:// providerID
WARN   no aws-node DaemonSet (kindnet kube-proxy): check pod IPs are VPC-routable
OK     Kubernetes 1.37
       crd gateways v1.6.1
       (six more crd lines, all v1.6.1, trimmed here)
OK     Envoy Gateway docker.io/envoyproxy/gateway:v1.10.0
BLOCK  envoy-gateway-system/custom: default access log is a file sink
INFO   envoy-gateway-system/custom: provider.kubernetes.envoyDeployment is ignored
INFO   envoy-gateway-system/custom: provider.kubernetes.envoyService is ignored
BLOCK  envoy-gateway-system/custom: Elastic IPs, no static IPs yet
MAP    envoy-gateway-system/custom: scheme internet-facing -> ipAddressingConfiguration
BLOCK  echo/global-rl: Global rate limit
WARN   echo/proxy-protocol: proxy protocol, backends will see an AWS address
WARN   envoy-echo-my-gateway-8ba30c46: externalTrafficPolicy Local does not carry over
OK     1 Gateway(s)
summary: 4 blocker(s), 3 warning(s)

The node and CNI lines are expected on kind and will differ on EKS. Two results surprised me. Envoy Gateway v1.10.0's chart already installs the Gateway API v1.6.1 CRDs including ListenerSet, so that check passed with no work. And Envoy Gateway creates its proxy Service with externalTrafficPolicy: Local by default, so the client IP warning fires on almost every install. Read it as a question for the backend owners: does anything log, rate limit or allow-list on the client address?

The global rate limit was not even working here: its status said enable Ratelimit in the EnvoyGateway config to configure global rateLimit. A policy like that in your repository with no rate limit service is worth deleting regardless.

Step 2: Move access logs to a network sink

The controller's validateAccessLog rejects three things: no telemetry.accessLog block, an empty settings list (both mean the default file sink), and any sink of type File. Allowed are disable: true, OpenTelemetry and ALS, which matches the service's own list of unsupported loggers. You can make this change on your current install today; nothing about it is AWS-specific.

apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
  name: custom
  namespace: envoy-gateway-system
spec:
  telemetry:
    accessLog:
      settings:
      - sinks:
        - type: OpenTelemetry
          openTelemetry:
            backendRefs:
            - name: otel-collector
              namespace: monitoring
              port: 4317

My first attempt failed. I applied this with a otel-collector Service but no collector pods yet, and the Gateway went to Accepted=False with Invalid access log backendRefs in the referenced EnvoyProxy: no ready endpoints for the related Service monitoring/otel-collector. Deploy the collector first. With otel/opentelemetry-collector:0.166.0 running an OTLP gRPC receiver and the debug exporter, the Gateway went back to Accepted=True within seconds, the listener's access log became envoy.access_loggers.open_telemetry on cluster accesslog_otel_0_0, and the collector's debug exporter logged access log records as I sent test requests through the listener.

To confirm on your own cluster, read the listener from the Envoy admin API:

kubectl -n envoy-gateway-system port-forward pod/<envoy-pod> 19000:19000 &
curl -s localhost:19000/config_dump | jq -r '.configs[]
  | select(."@type" | endswith("ListenersConfigDump")) | .dynamic_listeners[]
  | .active_state.listener | "\(.name) \([.access_log[]?.name])"'

On ELB for Envoy you will not have the admin port by default, so check this before migrating, not after.

Step 3: Replace global rate limits with local ones

There is no global rate limit service in remote mode. The docs say a type: Global policy is then either not enforced or fails every request on its routes, depending on failClosed. Switch to local:

apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
  name: global-rl
  namespace: echo
spec:
  targetRefs:
  - group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: echo
  rateLimit:
    type: Local
    local:
      rules:
      - limit: {requests: 100, unit: Minute}

The policy was accepted, the HTTP filter chain gained envoy.filters.http.local_ratelimit, and responses carried x-ratelimit-limit: 100 with a falling x-ratelimit-remaining. Local limits count per proxy instance, and AWS decides how many instances run. The effective limit is your number times the instance count, and you do not control that count. If a limit protects a paid upstream API, enforce it in the application or at the upstream instead.

Step 4: Decide on the things that have no fix yet

Some findings have no setting to change. The migration guide says not to migrate yet if you depend on any of these:

Finding Why it blocks Options
Elastic IPs on the NLB, or partners allow-listing IPs ELB for Envoy has DNS names only Stay on NLB plus pods for that Gateway
PrivateLink endpoint service on the NLB Not supported yet Stay, or put an NLB in front later if AWS adds it
Global Accelerator endpoint Not supported yet Stay
Backends need the client IP (proxy protocol, externalTrafficPolicy: Local) Backends see an AWS-owned address Move the IP-based logic into Envoy filters, or stay
Overlay CNI (Calico VXLAN, flannel) Proxy dials pod IPs directly VPC CNI first; that is its own migration
Kubernetes 1.38 planned soon v1.0.0 supports 1.34 to 1.37 Wait for a controller release that lists 1.38

You can migrate some Gateways and not others. Each Gateway on the new install gets its own proxy.

Step 5: Prepare the second install

These steps follow the project's migration guide; I have not run them. The remote setting applies to a whole Envoy Gateway install, and a Gateway on that install without an ELBProxyConfiguration gets no data plane at all, so the old install stays as it is and a second one goes into a new namespace with its own controllerName:

# eg-elb-values.yaml (config section)
config:
  envoyGateway:
    gateway:
      controllerName: gateway.envoyproxy.io/elb-gatewayclass-controller
    provider:
      type: Custom
      custom:
        resource:
          type: Kubernetes
          kubernetes:
            leaderElection:
              disable: true
        infrastructure:
          type: Remote
          remote:
            service:
              unix:
                path: /var/run/elb-envoy-remote-infra-provider/server.sock

Install the controller chart pointed at envoy-gateway-elb, grant its IAM policy to the envoy-gateway service account there (IRSA or EKS Pod Identity), then install Envoy Gateway v1.10.0 into that namespace with --skip-crds. Create an EnvoyProxy and GatewayClass for the new controller, carrying over the network access log sink from Step 2. Then, per Gateway, create a copy in the same namespace with a new name and attach the AWS settings:

apiVersion: gateway.elbproxy.aws/v1alpha1
kind: ELBProxyConfiguration
metadata:
  name: my-gateway-elb
  namespace: my-app
spec:
  targetRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    name: my-gateway-elb
  roleArn: arn:aws:iam::123456789012:role/my-proxy-role
  networkConfiguration:
    ipConfiguration:
      ipAddressingConfiguration:
        ipv4Addressability: internet-facing
        ipv6Addressability: "off"

Quote "off" or YAML reads it as a boolean. roleArn, the name and the IP configuration cannot change on an existing proxy: changing one replaces the proxy and the Gateway gets a new address.

Step 6: Attach routes to both, test, shift DNS

Add the new Gateway to each route's parentRefs so both serve the same rules. Wait for Programmed (the docs' example waits up to 15 minutes) and test the new address with the Host header your routes expect. Then move traffic with weighted DNS, raise the weight while watching errors and latency, and keep the old Gateway until it gets nothing. Rollback is the DNS weight. If clients call the NLB's own DNS name rather than your hostname, you cannot shift them this way; find that out first.

Troubleshooting

Symptom Likely cause Fix
Controller rejects the Gateway with access logging guidance No telemetry block, empty settings, or a File sink in the EnvoyProxy OpenTelemetry or ALS sink, or disable: true
Gateway Accepted=False, "no ready endpoints" The access log backend Service has no ready pods Deploy the collector before pointing EnvoyProxy at it
BackendTrafficPolicy Accepted=False, "enable Ratelimit" type: Global with no rate limit service configured Switch to type: Local, or delete the dead policy
Every request on a route fails after migrating A global rate limit with failClosed on a remote install Switch to type: Local
New Gateway stays Programmed=False, AddressNotAssigned No ELBProxyConfiguration attached yet Attach one in the Gateway's namespace
Old Gateways show Programmed but serve nothing The existing install was switched to remote in place Roll back the Helm release; use a second install
Backends log the same client IP for everyone The proxy does not pass client addresses Expected; move IP-based logic
Rate limits hit later than configured Local limits count per proxy instance Lower the per-instance limit or enforce elsewhere

FAQ

Can I switch my existing Envoy Gateway install to ELB for Envoy in place?

The project's migration guide says not to. The remote setting applies to the whole install, Gateways without an ELBProxyConfiguration lose their data plane, and old Services keep pointing at the in-cluster port (10080 for a port 80 listener in my run). Use a second install and DNS.

Which Envoy Gateway version do I need?

v1.10 for controller v1.0.0, with Envoy 1.40, Gateway API v1.6.1 and Kubernetes 1.34 to 1.37. The Kubernetes and Gateway API versions follow the Envoy Gateway compatibility matrix. Upgrade Envoy Gateway and the controller together.

Do I need to remove replica and HPA settings from EnvoyProxy?

No, they are ignored rather than rejected. AWS scales the proxy. You can drop them from the new install's EnvoyProxy to avoid confusion.

Can I test any of this without AWS?

Steps 1 to 3 run on any cluster with Envoy Gateway, including kind. Proxy creation needs EKS, or EC2 nodes with AWS provider IDs, plus AWS credentials.

Related: ELB for Envoy is GA, migrate ingress-nginx to the Gateway API, set up the OpenTelemetry Collector on Kubernetes and the Kubernetes release calendar.

Spot an error or something out of date? Email me and I will fix it and log it on the corrections page.

I'm Ajay Kumar — I build and operate PandaStack, an open-source Firecracker microVM cloud for AI agents, and write about the infrastructure and tooling around it.

Need this kind of infrastructure work? See what I do or email hello@ajayk.sh.


Related