# Exposing mongodb cluster on aws always create an unwated "classic" load balancer

**URL:** <https://forums.percona.com/t/exposing-mongodb-cluster-on-aws-always-create-an-unwated-classic-load-balancer/30851>\
**Category:** MongoDB\
**Tags:** percona\
**Created:** [June 6, 2024, 3:07pm UTC](https://forums.percona.com/t/exposing-mongodb-cluster-on-aws-always-create-an-unwated-classic-load-balancer/30851 "2024-06-06T15:07:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafal\_Zdziech](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/rafal_zdziech/32/16064_2.png) [@Rafal\_Zdziech](https://forums.percona.com/u/Rafal_Zdziech)\
**Post date:** [June 6, 2024, 3:07pm UTC](https://forums.percona.com/t/exposing-mongodb-cluster-on-aws-always-create-an-unwated-classic-load-balancer/30851/1 "2024-06-06T15:07:32Z")

</div>

We are using latest helm on kubernetes on AWS with the settings  
TCP:8080 TCP:32726 Not applicable Not applicable

exposing any service and adding these annonations  
creates x number of replica load balancers (network) (expected) but it always created a “Classic” load balancer as well despite only one service is being exposed.  
expose:  
exposeType: LoadBalancer  
serviceAnnotations:  
service .beta.kubernetes.io/aws-load-balancer-type: “nlb”  
service .beta.kubernetes.io/aws-load-balancer-internal: “true”  
service .beta.kubernetes.io/aws-load-balancer-subnets: “list of private subnets”  
service .beta.kubernetes.io/aws-load-balancer-backend-protocol: TCP

The above contains spaces because its created hyperlinks and prevent me from adding it.

We would like to expose the service just as a 1 load balancer internally outside of kubernetes cluster.

---

<div class="post-metadata">

**Author:** ![Rafal\_Zdziech](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/rafal_zdziech/32/16064_2.png) [@Rafal\_Zdziech](https://forums.percona.com/u/Rafal_Zdziech)\
**Post date:** [June 10, 2024, 2:01pm UTC](https://forums.percona.com/t/exposing-mongodb-cluster-on-aws-always-create-an-unwated-classic-load-balancer/30851/2 "2024-06-10T14:01:25Z")

</div>

actually found out it was everest clt causing this behaviour not a helm chart

---

<div class="post-metadata">

**Author:** ![Slava\_Sarzhan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/slava_sarzhan/32/3196_2.png) [@Slava\_Sarzhan](https://forums.percona.com/u/Slava_Sarzhan)\
**Post date:** [June 11, 2024, 10:56am UTC](https://forums.percona.com/t/exposing-mongodb-cluster-on-aws-always-create-an-unwated-classic-load-balancer/30851/3 "2024-06-11T10:56:50Z")

</div>

Hi @Rafal_Zdziech, for now, using Everest, you do not have the possibility of choosing a type for LB. We will add this possibility in the near future.
