Replies: 1 comment
-
|
Answering my own question here to close this out and in case it helps someone else. From my testing, it was clear that Nebari/Traefik will only create an AWS Classic Load Balancer, and I was not successful in either 1) deploying an alternate LB type (such as an ALB or NLB) via nebari deploy or 2) using an alternate LB type that I created manually via AWS Console. The Classic LB is the only option. I also read in the Traefik documentation (I believe, it was awhile ago) that the Traefik NodePorts (or possibly Instance ports) I believe that correspond to the entryPoints specified in the Nebari Traefik config are arbitrarily assigned (in my case in the 30000 range) - lost the doc link for that unfortunately. The good news is with some changes I was able to make the Classic LB work for my unorthodox AWS networking set up with a few specific settings in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand Nebari/Traefik's connection to the load balancer created in AWS when Nebari is successfully deployed. I'm deploying Nebari to a pre-existing AWS VPC with a public/private subnet architecture that looks like this presently:
When the Nebari terraform deployment completes, an AWS Classic load balancer is created across both AZs (assuming I pass it a subnet from each of the above AZs in my nebari-config.yaml). I also need to have an AWS internal load balancer with no public endpoints due to my networking set up and requirements to use private networking for all AWS egress.
Currently, I'm using these annotations to do that:
My main question is: is a Classic load balancer always created by the Traefik k8s LoadBalancer config in Nebari? Or are other types of AWS ELBs sometimes created in different circumstances than mine?
In my case the Classic LB is configured with listener protocols/ports that match the above config in the terraform code (80, 443, 8022, etc), but with corresponding instance protocols/ports that seem arbitrary - or at least not specified in the terraform. I can see in the nebari-traefik-ingress k8s service how the node port settings match the instance ports in the Classic LB, so I think I understand the connection there and more or less how the traffic is routed.
It isn't clear to me:
Is there any documentation about managing Nebari-connected load balancers that I might have missed? These two pages are the relevant docs I've found: enhanced security and ingress overrides.
Thx!
Beta Was this translation helpful? Give feedback.
All reactions