# Installing Kong on EKS with a NLB - wrong values.yaml

**URL:** <https://discuss.konghq.com/t/installing-kong-on-eks-with-a-nlb-wrong-values-yaml/10984>\
**Category:** Questions\
**Tags:** kubernetes\
**Created:** [December 11, 2022, 12:41pm UTC](https://discuss.konghq.com/t/installing-kong-on-eks-with-a-nlb-wrong-values-yaml/10984 "2022-12-11T12:41:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Angel\_Sanchez](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/miguel_angel_sanchez/32/3216_2.png) [@Miguel\_Angel\_Sanchez](https://discuss.konghq.com/u/Miguel_Angel_Sanchez)\
**Post date:** [December 11, 2022, 12:41pm UTC](https://discuss.konghq.com/t/installing-kong-on-eks-with-a-nlb-wrong-values-yaml/10984/1 "2022-12-11T12:41:01Z")

</div>

Hi,  
I am trying to avoid AWS Classic LoadBalancers.  
For me this code works, but it creates a classic load balancer

```auto
replicaCount: 3
proxy:
  enabled: true
  http:
    enabled: true
    servicePort: 80
    containerPort: 8000
  tls:
    enabled: true
    overrideServiceTargetPort: 8000 
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:xxxxx
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
env:
  trusted_ips: "0.0.0.0/0,::/0"

```

But that creates an AWS Classic loadBalancer

I am trying to create a Network Load Balancer. Following `[this](https://yossicohn.medium.com/kong-ingresscontroller-configuration-for-aws-load-balancer-2b226f548afe)`

```auto
replicaCount: 3
proxy:
  type: LoadBalancer
  enabled: true
  http:
    enabled: false
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-internal: "true"
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "https"
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:xxxxx"
    service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy: "ELBSecurityPolicy-TLS13-1-2-2021-06"
    service.beta.kubernetes.io/aws-load-balancer-type: "nlb"

ingressController:
  installCRDs: false

ֿenv:
  headers: "off"
  trusted_ips: 0.0.0.0/0,::0

```

I am using the helm chart : helm install kong/kong --generate-name -n kong --create-namespace -f kong-values-blog-nlb.yml

Server Version: version.Info{Major:“1”, Minor:“24+”, GitVersion:“v1.24.7-eks-fb459a0”

If you have installed Kong in a EKS with NLB, please can you share the values.yaml?

I’m having the error “Too many redirect”
