site/content/docs/1.24/guides/deploy-aws-nlb.md
This is an advanced deployment guide to configure Contour on AWS with the Network Load Balancer (NLB). This configuration has several advantages:
X-Forwarded-For header.02-service-envoy.yaml) in the examples/contour directory:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcpservice.beta.kubernetes.io/aws-load-balancer-type: nlbkubectl apply -f examples/contourThis creates the projectcontour Namespace along with a ServiceAccount, RBAC rules, Contour Deployment and an Envoy DaemonSet.
It also creates the NLB based loadbalancer for you.
You can get the address of your NLB via:
$ kubectl get service envoy --namespace=projectcontour -o jsonpath='{.status.loadBalancer.ingress[0].hostname}'
You can now test your NLB.
X-Forwarded-For, because it was the first to see the traffic directly from the browser.[4]: {{< param github_url >}}/tree/{{< param branch >}}