Questions tagged [load-balancing]
Load balancing deal with the techniques involved on using multiple systems to deal with high demands, balancing the load between those multiple systems. Questions deal with networking and server load balancing, using dedicated hardware or not.
2,778
questions
0
votes
0
answers
21
views
K8s - not working L2 Advertising of Metallb
I'm installing 1 node k8s cluster and can't reach metallb IP address from same subnet.
CRI = Containerd 1.6
CNI = Flannel.
control-plane taint is disabled
Pod CIDR = 10.244.0.0/16
Cluster CIDR = ...
2
votes
2
answers
96
views
K3S: understanding the network model and applying TLS certificates
In order to learn a bit more about K8S I started running a single server/node K3S cluster as a home lab. But I believe I've reached an impasse on my understanding of the network model, maybe specific ...
0
votes
0
answers
28
views
How do i nessus scan to the EC2 server which is behind load balancer
I have a EC2 server which is running behind a load balancer. Load balancer URL has been mapped as A record in route53.
Audit team is asking for the public ip address. How do i give them?
ALB URL even ...
0
votes
0
answers
30
views
How to set HTTP header globally on a HTTPS Load Balancer?
I'm migrating from Kubernetes to Cloud Run. Currently, Kubernetes Ingress allows me to use Nginx Ingress Controller annotations to set headers globally for all subdmains in a single configuration like ...
0
votes
0
answers
39
views
Proxmox, iptables connection refused on port 443 from different nodes if forward to LoadBalancer
having some problems with port forwarding on dedicated machine running Proxmox.
I have create an LXC-Container for LoadBalancing and forward all incomming request on port 80 and 443 to it.
If I am ...
3
votes
2
answers
596
views
ZFS: Handling massive no. of concurrent RW operations and failover
I have a single ZFS/Linux instance with a file that can grow to those crazy sizes supported by ZFS.
A large number of concurrent users need to read/write from/to this file over the public inter net. ...
0
votes
0
answers
54
views
Safest way to configure `max_fails` in Nginx reverse proxy
We have nginx as a reverse proxy, load balancing across 2 application servers. These application servers were defined in upstream blocks like so:
upstream app_backends {
server 1.1.1.1:...
0
votes
1
answer
18
views
Azure Load balancer traffic distribution
I have a standard load balancer deployed with a backend pool consisting of two servers, inbound rule - 443. We have session persistence selected with Client IP. I want to know if by doing this all the ...
0
votes
1
answer
88
views
How to configure HAproxy to a different backend based on path?
The problem is that, I have haproxy configured for multiple domains with backends respectively. The intended behaviour is to redirect a specific request such as myfirstdomain.com/alerts to backend2 ...
2
votes
3
answers
80
views
Setting up a cluster with workload distribution
I want to setup a server cluster which can keep by servers as busy as possible while still giving fair compute time to everyone. I have setup a basic Kubernetes setup but the issue is that if some ...
3
votes
0
answers
51
views
Spread IPsec decryption over multiple CPUs
All IPsec traffic being decrypted is processed on a single CPU, despite having multiple IPsec tunnels (SAs.) How can I get the load shared across multiple CPUs?
I'm running Strongswan IPsec on Ubuntu ...
0
votes
0
answers
31
views
AWS: access private API from public web application
I have:
Private API running on an ECS cluster behind an internal load balancer. This API is used by other services inside the VPC.
A public Next.js web application.
What I need:
Give private API ...
1
vote
1
answer
233
views
Traffic distribution inside an GCP instance group
I have a regional instance group with 2 instances serving on port 8000, no autoscaling enabled.
This instance group is the backend of a Global external application load balancer.
The web server on the ...
0
votes
0
answers
52
views
LDAP log spam - TCP ERROR Bad Ber Tag or uncleanly closed connection - B1
I have a loadbalancer infront of my ldap servers. However, the healthchecks from the loadbalancer is spamming my dirsrv logs with following:
{ "date": "[XXXXXXXXXXX] ", "...
0
votes
0
answers
15
views
Health Check Failures and 502 Errors with HAProxy and Golang Fiber Instances
I have a setup where Server A acts as the client, communicating with Server B through HAProxy. Server B runs four similar Golang Fiber instances, each with Prefork enabled on an EC2 t3xlarge instance. ...
0
votes
1
answer
95
views
Load Balancer is not accessible outside cluster
I have setup 3 master and 6 worker nodes using the same IP segment, 172.26.10.XX.
For load balancer services, I'm using Kube-Vip for load balancer with configuration namespace specifics as below: -
...
0
votes
0
answers
71
views
Global Server Load Balancing for OpenVPN over OpenVPN with DSR
Ok, so...I am in no sense a pro when it comes to networks, load balancing, tunneling or VPN connections BUT I tried a few things to get this theoretical concept to work - obviously without success.
...
0
votes
0
answers
121
views
Simple way to configure GCP custom domain for regional (Standard tier) load balancer instead of global (Premium)?
After migrating from a basic AppEngine website to serving it from Cloud Run, I've gone from paying $0.01 per month to $0.60 per day. That seems to be because I've switched from regional App Engine ...
0
votes
2
answers
81
views
Way to keep over 65k TCP connect to a server
As a programmer and a newcomer to network and infrastructure,
I've developed a server program capable of handling over 100,000 connections concurrently.
During testing in a local network with 20,000 ...
0
votes
0
answers
34
views
Deploying Multi-Cluster/Multi-Region Gateway AND have redundant stateful services with GKE Autopilot?
I want two clusters to each be in a different region so I have basic region redundancy. Some of the services I want to run are stateful (which includes keeping track of user sessions). I am not ...
0
votes
0
answers
114
views
High availability cluster bandwidth bottleneck
I want to setup a service with a lot of file transfer for thousands of users.
For now, my idea is to go with k8s + HAProxy with 3 masters (with VIP) and as
many slaves as needed.
So basically:
...
-1
votes
1
answer
60
views
How does real server, direct return server (DRS), reply to client if a load balancer (LB) uses port address translation (PAT)?
Direct Return Server overview:
The DRS allows real servers to directly reply to a client without going through load balancer (LB). The LB ip (VIP) is configured as a loopback (localhost) ip for the ...
0
votes
0
answers
40
views
Kubernetes Load Balancing with Redis Cluster and microservices
I have the following scenario:
N kubernetes Nodes
A redis cluster with N instances, each node has a single instance
There are requests coming into the nodes in a round-robin format
After the requests, ...
0
votes
0
answers
66
views
Nginx unresponsive under load
After switching from haproxy to nginx, one of my reverse proxies has a problem. At a certain number of connections the server stops accepting new requests (closed by timeout). However, if you connect ...
0
votes
0
answers
106
views
How to apply an ssl certificate to a Load Balancer Listener using OCI Certificates
I'm currently working on running a small personal server using OKE and a load balancer. My problem is as follows
I attached the OCI certificate to the load balancer listener, but it doesn't work, ...
0
votes
1
answer
35
views
HaProxy custom ports
I need to load balancing one of our customers application portal. The flow works as follow:
The enduser reach the portal through the URL example.net:3000/login page;
The enduser will choose one of ...
0
votes
2
answers
173
views
is Cloud loadbalancer necessary?
I currently have a Kubernetes cluster in the cloud AKS, and I'm using nginx-ingress to load balance, define routing rules and manage how traffic gets to my services. I see that many people are using ...
0
votes
1
answer
208
views
HTTPS global load balancer does not seem to work for a subdomain in GCP
I am exploring how I can create an application on Cloud Run and then use a Global HTTPs Classic load balancer to manage traffic across different Cloud Run instances. I have create a simple cloud run ...
0
votes
1
answer
76
views
Does geo-load balancing improve first load time?
I have users very wide-spread through the world, and I have at the moment 3 servers deployed on different continents, serving different language versions of my site. However, English is accessed world ...
0
votes
1
answer
87
views
Digital Ocean Load Balancer, can't use doctl to modify load balancer rules
I have a managed kubernetes environment on Digital Ocean. It has a load balancer. I am trying to assign the target_port to tcp:3000.
I want the outside port to be tcp:80, and the inside port to be ...
0
votes
1
answer
194
views
How long does it take for a GCP backend service to stop sending connections to an instance after being removed?
I am using a GCP region backend service to load balance across a set of instances in an unmanaged instance group. When I remove an instance from the group I want to know when I can safely delete the ...
0
votes
1
answer
289
views
Understanding Kubernetes load balancing with ingress controller using self-hosted load balancer
I'm looking to better understand load balancing concepts in a "self-hosted" Kubernetes environment.
cluster setup architecture image
I have an external load balancer, let's label it LB. This ...
0
votes
0
answers
446
views
How to SSL Passthrough on HAProxy while routing based on full URL?
I'm new to HAProxy admin so it may be a stupid question. So I wanted to do SSL pass though on our HAProxy load balancer. The diagram look like this:
client -> HAProxy -> server
where, all ...
1
vote
0
answers
176
views
A Diffrent HA Approach for Multi master Kubernetes Cluster
We have a client that has 3 nodes in different locations and different network subnets. They want to use our product with HA mode. We tell them that to run our product on HA mode we need to use an ...
0
votes
1
answer
44
views
Nginx check running process on destination before forwarding traffic
I'm configuring Nginx as UDP load balancer between four servers with the following configurations:
stream {
server {
listen 7004 udp;
#UDP traffic will be forwarded to the "...
0
votes
2
answers
159
views
Load balance LDAPS with Network load balancer Layer 3/Layer 4 (IP protocol)
I'm trying to setup a Network Load Balancer which direct traffic to healthy servers based on Layer 3/Layer 4 (IP protocol) data.
Question: Does this work for LDAP over SSL (LDAPS)? (I'm aware layer 7 ...
0
votes
0
answers
314
views
GCP load balancer can't connect to instance group: unhealthy upstream error
My Goal
I want to connect my domain (dashboards.example.com) to my Google VM instance on port 3000 to showcase Metabase. I do so through a Google DNS and load balancer.
My problem
While trying to do ...
0
votes
1
answer
74
views
AWS NLB configuration for Tomcat hosts
I have a network load balancer setup with a TCP listener on port 443, nd in my target group I have two UI EC2 instances, both running tomcat. I would like for the users to be directed to second UI ...
0
votes
0
answers
64
views
Can AWS NLB be used to load balance requests to Read Replicas?
This article from Nginx describes how Nginx TCP load balancing can be used against MySQL cluster. In the first diagram, I would like to replace the Nginx LB with AWS NLB where, the MySQL cluster runs ...
0
votes
0
answers
121
views
Load Balancer does't load some sites
I have a TP-Link Load Balancer TL-R480T+ and I use two Wan connections that go for an intern server that makes the DHCP server, etc.
But the problem is that here I use two sites that when I try to log ...
0
votes
1
answer
138
views
Load balancer on Ansible Automation Platform
Need one help with Load balancers for Ansible Automation Platform.
Actually I ve upgraded from Anisble Tower 1.2 to Ansible Automation platform 2.3.
Now I am not sure which IP's should I expose to ...
0
votes
0
answers
42
views
EUI Edge Router Load Balancing and Failover error
I unfortunately still have the problem that the Edge Router for some reason all the time uses VDSL and cellular at the same time without reason, although everything is configured as a failover so that ...
0
votes
0
answers
29
views
GCP private DNS does not work
I am trying to connect my private load balancer IP with a Private DNS record on port 80. But this configuration does not work unless I add my private IP and DNS record to the /etc/hosts file in the ...
0
votes
0
answers
19
views
How to make nginx use a different mongrel to the one which is handling the current request?
On our site we have a 12 mongrel cluster running, and in my local dev version i have a 5 mongrel cluster. nginx (version: nginx/1.22.0) sits in front.
One of our processes makes a pdf by shelling out ...
0
votes
0
answers
234
views
200 success code in Apache log but 504 error in the browser for the same request
Apache logs 200 (success) code but browser shows 504 Gateway timeout error for the same request.
Also, it times out just after aws load balancer idle time out value which is 1200 (20mins).
I do not ...
0
votes
0
answers
71
views
Nginx - Not distributing traffic to all upstream servers
We have an existing issue on our nginx.. As you can see on the attached screenshot, the requests are not distributed evenly on the 12 servers and only 4 are getting most of the traffic
Hoping you can ...
0
votes
0
answers
30
views
How to point wildcard subdomain to matching ec2 instance with tag name?
I have a use case where I need to create/delete ec2 instances (~30 instances). To access those instances I need to set up a subdomain but creating 30 subdomains and pointing each to their respective ...
0
votes
1
answer
444
views
DNS load balancing with health checks
I have a problem here.
We have a setup of compute instances on two different cloud regions from a cloud provider I would not mention except to stat that it is painful to work with.
Those instances are ...
0
votes
2
answers
200
views
Private DNS Azure with multiple IPs on A record dont work thah I expected
I hope you can help. Thanks in advance.
I have an Azure Private DNS on Azure that is connected to 4 Vnet in 2 regions. I read that I can put 2 IPs in a single A Record ( Ex. A Record Name sql.midomain....
0
votes
0
answers
97
views
How to use separated load balancers for frontend and backend in ECS?
I have the following terraform configuration for a load balancer running in ECS AWS for my django app container deployed in ECS:
resource "aws_lb" "api" {
name = &...