- https://www.linkedin.com/pulse/how-easily-setup-istio-service-mesh-aws-eks-ihar-vauchok/
- Type: tutorial
- Source: LinkedIn Pulse · Ihar Vauchok · Feb 2021
TL;DR
Provision an EKS cluster with Terraform, install Istio 1.8 from Helm charts, enable sidecar injection and run Bookinfo with a canary split visible in Kiali.
Summary
The article does not use eksctl or istioctl install: Terraform (terraform-aws-eks module, four files) creates the cluster, then Helm installs base, istiod and an istio-ingress gateway with AWS annotations for an internet-facing NLB. Namespaces labelled istio-injection=enabled get an Envoy sidecar. Bookinfo services, each with a DestinationRule using ISTIO_MUTUAL mTLS, show 2/2 pods, and the Istio add-ons (Prometheus, Grafana, Jaeger, Zipkin, Kiali) visualise traffic.
Key takeaways
- Provision the cluster with Terraform (
init,plan,apply, 26 resources) and save the kubeconfig output. - Install Istio with Helm in
istio-system:basechart,istiodfromistio-discovery, then the ingress gateway (NLB annotations for proxy protocol, idle timeout and cross-zone balancing). - Enable injection per namespace with
istio-injection=enabled; healthy pods show2/2. - Deploy Bookinfo across namespaces with Service, ServiceAccount, Deployment, DestinationRule and VirtualService per app.
- Observe with the sample add-ons and
istioctl dashboard kiali. - Canary the reviews service by weighting a VirtualService 10/45/45 across v1, v2 and v3; deleting it returns to round-robin.
- Clean up namespaces and run
terraform destroyto stop AWS charges.
Tools and concepts
| Item | Role in the page |
|---|---|
| Istio | Service mesh (1.8.2) |
| EKS | Cluster (Kubernetes 1.17) |
| Terraform | Provisioning |
| Helm | Istio installation |
| Kiali | Traffic graph |
When to use
- When you need a Terraform + Helm approach to installing Istio on EKS.
- When looking at a canary traffic-split example with VirtualService weights.
- When comparing with Securing kubernetes clusters with Istio and Keycloak.
Caveats
- Versions are old (Terraform 0.12, EKS 1.17, Istio 1.8.2) and
v1alpha3APIs may not work today; the public NLB has no authentication, and the sizing is demo-scale.
Istio EKS Terraform Helm AWS Securing kubernetes clusters with Istio and Keycloak Securing Kubernetes Cluster Networking