Istio on EKS covers the day-2 basics: what injection adds, the webhook port, PodSecurity, identity, upgrades and ambient mode. This page reads a second batch of Istio material for the questions that page leaves open. What does a mesh do for traffic that is not HTTP? Can the data plane be something other than Envoy? And does a resilience policy written for Istio actually behave the way its comments say?
The sources:
source | date | what it is |
|---|---|---|
Tencent Music's service mesh practice with Istio and Aeraki, Huabing Zhao (Tencent Cloud) and Wang Chengqiang (Tencent Music), IstioCon | 2022 | 41 slides, in Chinese: Aeraki and MetaProtocol, then Tencent Music's rollout |
Apache APISIX from Gateway to Full Traffic Proxy with Istio, Jintao Zhang (API7.ai), IstioCon | April 2022 | 16 slides: APISIX as the Istio data plane instead of Envoy |
Understanding Envoy Proxy Sidecar Injection and Traffic Hijacking in Istio, Jimmy Song | 2018, last updated March 2022 | blog post on the init container and iptables redirect |
istio-action-items.md | 2026 | 87 action items (W15–W23) distilled from the istio.io docs: ambient multicluster, migration, upgrades, troubleshooting, security, traffic APIs |
istio-traffic-demo.yaml and apply-istio-resilience.py | 2026 | a v1/v2 canary demo, and a script that patches every DestinationRule and VirtualService in a Kubeflow cluster |
a 15-entry Istio catalogue from awesome-cloud-native lists | various | tutorials, UIs, operators, an MCP server, the ICA certification |
The istio.io docs scrape (
istio.md , 573 KB, identical to istio-latest-docs-setup.md ) was used only to check claims against.At a glance
question | the sources' answer | on AWS today |
|---|---|---|
L7 routing for Dubbo, Thrift, private RPC | Aeraki + MetaProtocol: write a codec of a few hundred lines; Aeraki is the control plane | no AWS service. Lattice and Service Connect are HTTP-family only; anything else is TCP. Aeraki on EKS is self-managed, and its last release was August 2023 |
a non-Envoy data plane | APISIX via xDS (api7/Amesh), swap the injection template | Amesh last pushed June 2023, release v0.0.2. Use APISIX at the edge, not in the mesh |
bridging an existing registry into the mesh | Polaris2Istio, Consul2Istio, Dubbo2Istio, Eureka2Istio → ServiceEntry | Cloud Map has no watch API, only polling with DiscoverInstancesRevision ; no AWS-maintained bridge |
merging two meshes | three phases through gateways and ServiceEntry | the same on EKS; Istio revisions handle version moves inside one mesh |
canary, mirror, fault injection | demo manifest, all in one VirtualService | Lattice: weighted forward and header match, no mirror, no fault action. ALB: the same. FIS: pod-level faults, not per-request |
resilience defaults for every route | the script, mesh-wide | correct intent, three bugs below |
1. Tencent Music: L7 control for protocols the mesh treats as TCP
The talk's starting point is the one most mesh pitches skip. Istio and Envoy manage HTTP, HTTP/2 and gRPC at layer 7. Everything else, including Thrift, Dubbo, Redis, Kafka and every in-house RPC, is a TCP stream. For TCP you get L4 load balancing, retries on connection errors, IP-and-port routing and byte counters. You do not get routing on a method name, retries on an application error code, per-request metrics or fault injection.
Tencent Music's estate, from slide 22:
- Protocols: HTTP, gRPC and private protocols.
- Meshes: Istio 1.3.6, Istio 1.10 and other heterogeneous meshes, plus services in no mesh.
- Service discovery: L5, Polaris, Consul and DNS.
- Languages and platforms: C++, Go and Node.js, on Kubernetes and VMs.
What Aeraki changes. The first version of Aeraki generated config for Envoy's built-in Dubbo and Thrift filters. Those filters lacked RDS, rate limiting, consistent hashing, mirroring and tracing, and adding a protocol meant a whole Envoy TCP filter plus a control-plane plugin. The second version splits the work:
- MetaProtocol Proxy, an Envoy filter, implements the protocol-independent parts once: routing from RDS, load balancing, circuit breaking, local and global rate limiting, header mutation, request metrics and tracing.
- A protocol only implements
decode,encodeandonError. The decoder fills a key-valueMetadatamap, routing matches on it, and filters write aMutationmap that the encoder applies. The talk puts this at "a few hundred lines".
- Aeraki runs beside istiod as a second control plane. It turns its own CRDs (
ApplicationProtocol,MetaRouter) into the MetaProtocol config, so Istio itself is unmodified.
Tencent Music's demos show routing by command word, so each command goes to its own version, and local rate limiting of one sub-command while others pass. Full-link colouring by branch, which gives isolated dev environments on shared clusters, is the payoff they name.
Read against AWS. Check what each AWS L7 service can parse:
AWS service | protocols it understands | for a Thrift or private-RPC call |
|---|---|---|
VPC Lattice | listeners HTTP , HTTPS , TLS_PASSTHROUGH ; target groups HTTP , HTTPS , TCP with versions HTTP1 , HTTP2 , GRPC | TLS passthrough or TCP: no method routing, no per-request metrics |
ECS Service Connect | appProtocol : http , http2 , grpc | TCP metrics only |
ALB | HTTP, HTTPS (with gRPC) | not applicable |
NLB | TCP, TLS, UDP, TCP_UDP, QUIC | connection-level only |
App Mesh, which reached end of support on 30 September 2026, was HTTP-family too. No AWS service has ever offered L7 governance for a non-HTTP RPC protocol. For a team in Tencent Music's position on AWS there are three options:
- Run Aeraki on EKS beside self-managed Istio. Be aware of its pace: the last release is 1.4.1 of August 2023, and the repository was last pushed in December 2025. The MetaProtocol proxy repository was last pushed in March 2025. A codec is your code, built against an Envoy version that Aeraki pins, so every Istio upgrade becomes an Aeraki compatibility question.
- Move the protocol to gRPC at the edges that need governance. Lattice, Service Connect and ALB all route gRPC by path, which is
/package.Service/Method, so method routing comes for free.
- Leave it as TCP and put the logic in the client library. That is what Tencent Music was moving away from, but with three languages and four discovery systems it may still be cheaper than option 1.
The service-discovery bridge. Tencent Music watched Polaris for changes and wrote
ServiceEntry objects, so services outside the mesh were reachable by their old names. Migration then went through four stages, from "outside the mesh, old discovery" to "inside the mesh, Kubernetes Service name, old name kept as an alias". On AWS the registry is Cloud Map, and its API has no watch or subscribe call. The closest is DiscoverInstancesRevision , which returns a revision number to poll. A Cloud Map → ServiceEntry bridge is a controller you write, polling.Merging meshes. Their three-phase merge of an old control plane into a new one runs as follows:
- Bridge: gateways back to the old mesh, plus
ServiceEntryobjects pointing at them, generated by a program.
- Shift: move traffic weight to the new mesh, leaving placeholder entries in the old one.
- Clean up: remove the old entries.
This works unchanged on EKS. It is also the only way to merge two separate control planes. For moving between Istio versions inside one mesh, revisions and tags do the job with less work; see section 7 of Istio on EKS . Note that Istio 1.3.6, one of their production versions, was already out of support when the talk was given. The current release is 1.31.1, from 21 September 2026.
2. APISIX as the Istio data plane
Jintao Zhang's case for APISIX in place of Envoy has three arguments:
- Easier to learn: few concepts, "three minutes to start", against learning Envoy's filter configuration.
- Easier to extend: NGINX and Lua, plus plugins in other languages.
- Fewer known vulnerabilities.
The mechanism is the one Jimmy Song's post describes for Envoy. APISIX gains an xDS client and drops its etcd dependency. You then replace the
proxy_init and proxy containers in Istio's injection template, so istiod pushes xDS to APISIX instead of Envoy. The implementation was published as api7/amesh , and the plan was to donate it to the ASF as an APISIX sub-project.Status, 8 October 2026.
api7/Amesh is not archived, but it was last pushed on 7 June 2023, and its last release is v0.0.2 of August 2022. No Apache-hosted successor was found under the obvious names. APISIX itself is very active (pushed today, 17,000 stars).On EKS:
- At the edge, APISIX is a reasonable ingress gateway, or an API gateway behind an NLB, where its plugin model is the point.
- Inside the mesh, do not adopt Amesh. Istio's own direction is ambient mode, which moves L7 into a waypoint that is Envoy. A custom injection template is also the first thing an Istio upgrade breaks.
- The "fewer CVEs" claim was not checked. A smaller CVE count can also mean less scrutiny.
3. Injection and traffic hijacking, eight years on
Jimmy Song's post, written in 2018 and updated in 2022, walks through the injected
istio-init container, the ISTIO_REDIRECT and ISTIO_IN_REDIRECT iptables chains, and the outbound and inbound ports 15001 and 15006. For sidecar mode this is still accurate. Three things have changed since:-
istio-cnireplaces the init container's iptables work, and under PodSecurityrestrictedit is required.
- Native sidecars (Kubernetes 1.29+) fix the start and stop ordering the post works around.
- Ambient mode removes per-pod redirection altogether. ztunnel captures traffic on the node and carries it over HBONE on port 15008.
All three are covered in sections 1, 3 and 8 of Istio on EKS . The post's diagrams remain the clearest picture of why UID 1337 is excluded, which is the exclusion section 4 of that page shows a pod can abuse.
4. The traffic demo: one route that cannot do what its comment says
istio-traffic-demo.yaml is a tidy reference: a traffic-demo namespace, nginx v1 and v2 at 16 MiB each, one DestinationRule with subsets, and one VirtualService with two routes.-
canary-optinsendsx-canary: trueto v2. It has retries and a 10 s timeout.
-
canary-weightedsplits traffic 90/10, mirrors 25% to v2, injects a 2 s delay into 1% and a 503 into 1%, and sets retries and a 15 s timeout.
The comment on the second route says the fault injection is there "so the retry/outlier policy above is continuously exercised". It cannot be. Istio's
VirtualService reference, under fault , says: "Note that timeouts or retries will not be enabled when faults are enabled on the client side." The result:- Retries and the timeout are off for the whole route, not only for the 2% that is faulted. The 98% of normal requests on that route run with no retry and no 15 s timeout.
- An injected 503 is generated by the client-side fault filter before the request reaches the router. It is never retried, and it never reaches the upstream, so outlier detection never counts it.
Fix: put faults on their own route, matched by a header such as
x-fault-test: "true" , above the weighted route. The weighted route keeps its retries, and fault tests are opt-in.Two smaller issues:
- The mirror sits on the same route that sends 10% to v2, so v2 receives mirrored copies of requests it is also serving. That is harmless for static nginx. As a template it matters, because mirroring re-sends writes. Mirror only idempotent paths, or mirror to a target that discards writes.
- The v2 subset sets its own
connectionPool. Istio's reference says subset settings "override the corresponding settings" at the rule level. Istio replaces the field whole, not key by key, so v2 loses the top-levelconnectTimeout: 10s,http2MaxRequestsandmaxRetries. If the stricter canary budget should keep those, repeat them in the subset.
The same demo on AWS, services only:
demo feature | Lattice | ECS Service Connect | elsewhere on AWS |
|---|---|---|---|
header opt-in to v2 | rule match.headerMatches → forward | testTrafficRules with a header exact match, during a blue/green deployment only | ALB listener rule on a header |
90/10 weighted split | forward.targetGroups[].weight | blue/green shift | ALB weighted target groups |
mirror 25% to v2 | no: rule actions are forward and fixedResponse only | no | ALB: no; actions are forward, redirect, fixed-response, two authenticate actions and jwt-validation |
delay or abort a percentage of requests | no | no | FIS works on pods, instances and network paths, not on a percentage of requests to one route |
retries, timeout, outlier ejection | no; see wish 2 on the cloud-native wishes | two timeouts only | — |
Mirror and request-level fault injection are where a self-managed mesh still has no AWS-managed equivalent. They are wishes 1 and 2 on the Istio wishes page .
5. The resilience script: right gap, three bugs
apply-istio-resilience.py exists because a maturity evaluator scored a Kubeflow cluster 0 out of 6 on load-balancer algorithms and circuit breaking, and 0 out of 5 on retry policy. Kubeflow's DestinationRules carry only tls.mode: ISTIO_MUTUAL . The script merge-patches every DestinationRule in every namespace with three blocks:-
loadBalancer: LEAST_REQUEST;
-
outlierDetection: 5 consecutive 5xx errors, a 10 s interval, 30 s ejection, at most 50% ejected and a 50% minimum healthy;
- a
connectionPool.
It then adds retries and a 30 s timeout to every VirtualService HTTP route that lacks them. The merge is careful to keep the mTLS block, which is the right instinct.
Bug 1: it retries on 5xx while saying it does not. The comment reads "Deliberately NOT retrying on 5xx generally, which would double-submit non-idempotent writes", and the next line sets
retryOn: connect-failure,refused-stream,unavailable,gateway-error,5xx . 5xx includes every 500 from a handler that may already have committed a write, so a POST to a Kubeflow API can now run up to four times. The note beside it explains the reason: retriableStatusCodes is not a field in Istio's HTTPRetry . Istio does not need that field, though, because retryOn accepts status codes directly. Fix: retryOn: connect-failure,refused-stream,unavailable,gateway-error,503 , or drop 5xx and rely on gateway-error (502, 503 and 504).Bug 2: part of the gap it closes was not a gap. Istio already applies a mesh-wide default retry when a route sets none:
attempts: 2 on connect-failure,refused-stream,unavailable,cancelled . The "0 out of 5 on retry policy" score measured missing YAML, not missing retries. The load-balancer change is similar. LEAST_REQUEST is what Istio's reference recommends over round robin, and when no algorithm is set Istio "will select an appropriate default", so the explicit setting mostly satisfies the evaluator.Bug 3: it changes behaviour mesh-wide without saying so.
-
maxRetries: 3in the connection pool caps outstanding retries to all hosts of a cluster at three. Istio's default is 2³²−1. Under a burst of failures, retries beyond the third are refused. That is a sensible retry budget, but it is a new limit on every service, including Kubeflow's.
- A 30 s timeout on every route that had none. Istio's default is no timeout. Any Kubeflow route that serves long uploads, long-polling or streamed responses now ends at 30 s.
- It runs on every DestinationRule in every namespace, with no namespace filter and no record of what it changed. Its
--dry-runprints the patches, but there is no undo.
On AWS: the script's intent, a default resilience policy per route, is what cloud-native wish 2 asks VPC Lattice for. Until Lattice has it, a mesh-wide default lives in Istio's
meshConfig.defaultHttpRetryPolicy . That is one setting instead of a patch to every object, and it does not drift when Kubeflow is upgraded and overwrites its DestinationRules.6. The action items, checked
The 87 action items are a faithful distillation of the istio.io docs and are worth keeping as a backlog. Five are worth correcting or tying to AWS:
item | as written | on EKS |
|---|---|---|
W15.1 | ambient multicluster supports multi-primary on multiple networks only | matches the docs scraped in June 2026. Two EKS clusters in peered VPCs or behind a transit gateway are one network to Istio only if pod IPs are routable between them. With the VPC CNI they usually are, so check before planning east-west gateways |
W16.1 | catch typos such as insall.istio.io in doc snippets | the multicluster pages it came from are not in the local docs scrape, so whether istio.io still has the typo was not checked. The gate is worth having either way |
W17.5 | federating Prometheus across clusters | on AWS, Amazon Managed Service for Prometheus takes remote write from every cluster into one workspace, and cluster becomes a label. No federation tier to run |
W18.3 | replace VirtualService with HTTPRoute when moving to ambient | correct for waypoints. The demo in section 4 would need version-specific Services in place of subsets, and its mirror becomes an HTTPRoute RequestMirror filter |
W21.11 | HAProxy edge-to-mesh checks | not relevant on AWS unless HAProxy is your ingress; the AWS equivalent is ALB or NLB target health against the ingress gateway |
Suggested order for an EKS team:
- W23 and W21: traffic API governance and troubleshooting. These apply to sidecar mode today.
- W22: the security baseline.
- W19 and W20: before any ambient adoption.
- W15 to W17 and W18, only if multicluster and ambient are decided.
The file's own order puts multicluster first. That suits a team that has already decided to go multicluster, which most EKS teams have not.
7. The catalogue, by status
Checked against the GitHub API on 8 October 2026.
entry | status | verdict |
|---|---|---|
istio/istio | active, 1.31.1 on 21 September 2026 | — |
istio/cni | archived December 2020 | merged into istio/istio; the catalogue link is dead weight |
IBM/istio101 | archived June 2022 | do not follow |
redhat-developer-demos/istio-tutorial | moved to redhat-scholars/istio-tutorial , last pushed October 2024 | the best of the tutorials; check its Istio version first |
layer5io/istio-service-mesh-workshop | active, February 2026 | usable |
kelseyhightower/istio-ingress-tutorial | last pushed July 2018 | predates Gateway API and networking.istio.io/v1 ; historical only |
todkap/istio-index-conf2018 | last pushed August 2018 | historical |
tetratelabs/istio-security-analyzer | not found (404) | gone; use istioctl analyze and Kiali's validations |
jukylin/istio-ui | last pushed October 2018 | do not install; use Kiali (active) |
nmnellis/vistio | last pushed October 2018 | do not install; Kiali's traffic graph replaced it |
sabre1041/istio-pod-network-controller | last pushed September 2019 | an OpenShift-era workaround that istio-cni replaced |
banzaicloud/istio-operator | last pushed March 2025 | Istio's own in-cluster operator was removed upstream; install with Helm or istioctl |
krutsko/istio-mcp-server | active, July 2026, 2 stars | an experiment; read-only istioctl through an agent is easier to audit |
Istio Certified Associate | CNCF certification | still offered |
Operate sidecar and sidecar-less apps with Istio and Argo Rollouts (talk) | — | Argo Rollouts is active. On EKS it is self-installed; the EKS ARGOCD capability is Argo CD, not Rollouts |
Kiali (active) is the one observability tool in this space worth installing. On AWS it can read from Amazon Managed Service for Prometheus with SigV4, through a signing proxy.
What to take from this batch
- A mesh earns its keep at L7, and L7 means HTTP on AWS and, without Aeraki, in Istio too. If most of your east-west traffic is a private RPC protocol, price Aeraki's maintenance, or a move to gRPC, before you price Istio.
- Write fault injection on its own route. On a shared route it silently turns off the retries it was meant to test.
-
retryOn: 5xxis not idempotent-safe. Usegateway-erroror explicit codes.
- Set mesh defaults in
meshConfig, not by patching every object. That is one place to review and nothing to drift.
- Prefer the projects that are moving: Istio, Kiali and Argo Rollouts. Treat Amesh, the 2018 UIs and the archived tutorials as history.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article