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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Shall I do load balancing in nginx, pm2 or both?

PM2 allows to run NodeJS apps on multiple instances, i.e., different cores, allowing load balancing using the same port. PORT=3000 pm2 start -i NUMBER_OF_CORES(e.g 2) app.js But I could also do load ...
user avatar
-3 votes
0 answers
10 views

How can we move secondary IP address of from one NIC to other in Azure

I want to implement HA system on azure, for that I need to move secondary IP address of active vm to standby vm as soon failover happens, how can we do this?
user avatar
0 votes
0 answers
3 views

list the Load balancer

I am trying to list all the load balancers in a text file with tag deletion protection enabled but seems to be having issues. $loadbalancers = aws alb describe-load-balancers --query 'LoadBalancers[*]....
user avatar
0 votes
1 answer
13 views

Should HTTP load balancer forward bad requests to backend?

If a HTTP client sends a GET request with a body that would generate a 400 Bad Request response, should the load balancer forward that request to the backend or deal with it immediately? Is there any ...
user avatar
0 votes
0 answers
6 views

How to check in what request-response mode my HAProxy is operating in?

I have read that Load balancers/reverse proxies usually have 2 operation modes. In the first one, the requests from the clients are forward to one of the backends as is if they come directly from the ...
user avatar
0 votes
1 answer
17 views

How can I assign same private IP 10.3.3.51 to two azure vm having differnt MAC address? only one vm will be providing service at a time

I have two vms behind the Azure Load balancer working as High availability that is only one vm is providing service at a time, other vm will be in passive state. I want to keep same IP address 10.3.3....
user avatar
0 votes
1 answer
30 views

Load balancing ISPs without double NAT

I configures my TP-Links ER605 multi-wans router to load balance between my two ISPs (that is working). But since my Web/NAS server is behind my router on the 192.168.2.0 network, any computers on ...
user avatar
1 vote
1 answer
15 views

KeepAlived service running but does not executes the check haproxy script

I have configured a failover load balancer, so that it acts as a backup whenever my primary goes down. So I have setup Keepalived that switches the floating virtual IP address to the other machine ...
user avatar
0 votes
0 answers
8 views

Load Balancing ISC DHCP Servers Issuing Multiple Offers to Client

According to section 6 of RFC 3074, it seems that the process for selecting a load balancing server in ISC DHCP is as follows: The client broadcasts a discover message, which either directly reaches ...
user avatar
  • 11
0 votes
0 answers
5 views

RFC 3074 DHCP Load Balancing STID vs RFC 2131 DHCP xid

Section 2.2 of RFC 3074 defines a Service Transaction ID (STID) as: An attribute of the individual client requests used for load-balancing. However, section 2 of RFC 2131 defines the xid field of a ...
user avatar
  • 11
0 votes
0 answers
10 views

Binding multiple IP on single listen throws error in HAProxy

I have a LB which is redirecting request in a round robin mechanism to my 4 servers configured. I have assigned a floating IP address(LOADBALANCERFLOATINGIPADDRESS) to the machine. Now I want my LB to ...
user avatar
0 votes
1 answer
20 views

Load-balancing per network port?

Theoretically there are: client LB SERVER A SERVER B Question: Is there a load-balancer solution (either by software or payed in the cloud) that can redirect the "clients" to "SERVER ...
user avatar
  • 21
0 votes
2 answers
24 views

Unable to access web service with floating IP address assigned to my machine

I have a machine for which I have assigned a floating IP address. That machine is also my load balancer. I can access my service easily using the IP address of load balancer. However I am unable to ...
user avatar
0 votes
0 answers
20 views

Load balancing apache 2.4 ProxyPass configuration meaning

I'm studying apache 2.4 and I've found this configuration as example. What I don't understand is the definition of ProxyPass, they have defined "balancer://cluster/example1/api" but in the ...
user avatar
  • 1
1 vote
0 answers
9 views

ECS task to VPC endpoint/NAT Gateway routing

we have an ECS task that makes Rest API calls of two types: /path1 and /path2 in a Private subnet. We route the requests to Internet Gateway through a NAT gateway present in a public subnet. Flow: ECS ...
user avatar
  • 11
0 votes
0 answers
20 views

In AWS how can I route outbound EC2 traffic through different Internet Gateways depending on the payload?

I have a weird scenario where I need to route certain outbound traffic from an app hosted on EC2 through different regional IP addresses. Long story short we have 2 clients with APIs that our app ...
user avatar
  • 103
0 votes
0 answers
11 views

Internal IP is use by HTTP internal load balance, but IP address show "none"

I created an Internal HTTP Load balance by the code below. I can see Internal HTTP Load balance is running with internal IP(var.my_iip) But in VPC network > IP addresses, the "in use by" ...
user avatar
0 votes
1 answer
32 views

How would I dynamically add servers to a load balancer?

This is a tough question to phrase in the limited space for the title, but I'll try my best to explain myself. I want the users of my website to be able to run the servers themselves. Those servers ...
user avatar
  • 1
-1 votes
1 answer
33 views

Why MetalLB cannot provide a real load balancing feature in layer 2 mode?

The documentation of MetalLB states that: In layer 2 mode, all traffic for a service IP goes to one node. To my understanding, this is mostly due to the fact that: one node assumes the ...
user avatar
0 votes
0 answers
34 views

Seeking advice regarding ingress versus load balancing for app in microk8s cluster

I have a seven node microk8s cluster set up on an Ubuntu server in my cellar. multipass shows me I have three IP address per VM since I created these hosts using the bridged network option. I thought ...
user avatar
  • 900
0 votes
0 answers
30 views

Best Way to Force use of SSL Certificate

When a browser connects to my website by entering it's FQDN the connection is encrypted using the site's SSL Certificate. However it has come to my attention that it is possible to bypass the SSL and ...
user avatar
  • 101
0 votes
0 answers
21 views

Preserve base URL for a proxied NGINX location

I've got an NGINX config as follows: server { listen 80; server_name _; location = / { proxy_pass https://server-2.alice.com/; proxy_redirect off; ...
user avatar
  • 101
0 votes
1 answer
51 views

Automatic redirection to static error site if web server is unavailable

I was reading an article about warm recoverable web server with Compute Engine and Cloud Storage. Normal scenario: Failover: Documentation states that: In an outage, you update the external HTTP(S) ...
user avatar
  • 101
0 votes
0 answers
19 views

haproxy not accepted my full URL

I install and configure haproxy v1.4 on solaris machine i sessufuly add two weblogic servers and i can see the uptime and downtime on mangement. my quastion is i give my weblogic url http://192.168....
user avatar
  • 1
0 votes
0 answers
71 views

Specify URL instead of IP:port in network endpoints for applications behind reverse proxy

We are using GCP external HTTPS load balancer, architecture is shown in the diagram below. The primary use of LB is redirecting users to static error site (hosted on Cloud Storage bucket) in case CE ...
user avatar
  • 101
0 votes
0 answers
21 views

Ubuntu + Pound 3.0 (load balancer) errors when on port 80

When I start up pound with service it does not log the error in syslog but when I start it with 'pound -d 3' 7F1384113640 thr_http start /build/pound-lNcD5I/pound-3.0/src/http.c:535 7F1384113640 start ...
user avatar
-2 votes
1 answer
20 views

Do all response packages musst pass the load balancer?

Do all response packages sent from a backend server to a client must pass the load balancer? Actually I try to solve this Question: I have 3 statement. 2 of 3 are true. What is the wrong statement? ...
user avatar
0 votes
0 answers
26 views

OpenVPN behind GCP Network [UDP] Load Balancer

I think the subject captures my issue pretty well. I have OpenVPN working fine behind a NLB on AWS. But, when I do the same setup (default UDP port 1194 config) on GCP, my client fails to connect. Is ...
user avatar
0 votes
0 answers
30 views

Routing Issue: Load Balancer with multiple external NICs

Single Unix-based load balancer (LB) is configured with multiple network interfaces - 2x external and 1x internal. The LB sits in front of a DNS resolver. The issue I'm trying to solve is that all DNS ...
user avatar
  • 1
0 votes
0 answers
32 views

How to setup load balanced / fail-over route where there are multiple valid routes to the same subnet?

We have a situation where we have multiple EC2 instances each running a VPN. Both the remote VPN server and remote subnet are run by a third-party and we have no say in the way they are setup. We don'...
user avatar
0 votes
1 answer
18 views

Why doesn’t my DigitalOcean load balancer forward traffic to Parse Servers?

Today I created a load balancer and assigned to it 3 droplets (all 3 host parse servers), but it doesn't transfer the traffic to them. It doesn’t even pass the health checks! All 3 of my parse servers,...
user avatar
0 votes
0 answers
115 views

Load balancer algorithm of bitnami nginx ingress

I do install the ingress controller via helm and the Nginx ingress controller from bitnami, I pretty sure the bitnami use the kubernetes/ingress-nginx from here https://github.com/kubernetes/ingress-...
user avatar
0 votes
1 answer
61 views

Route 53 "Too Many Redirects" but access from ELB works

I have an EC2 running pgadmin. There's a target group pointing to it on port 80. The TG is listening on port 443 but HTTP so it can redirect to the EC2 on port 80. (I previously had it 443 and HTTPs ...
user avatar
  • 121
0 votes
0 answers
30 views

Experiencing latency with haproxy load balancer

I'm experiencing high latency with haproxy load balancer when backend configuration uses private network IP addresses. But when I replace backend server addresses with public IP address or Reverse DNS ...
user avatar
  • 1
0 votes
0 answers
28 views

How to use a load balancer for multiple Parse Servers on DigitalOcean?

Right now we have just one droplet hosting a Parse Server (2.8.4) and a Parse Dashboard (1.2.0). The Parse Server uses the built-in sessions, installations, cloud code, and config and uses MongoDB, ...
user avatar
0 votes
0 answers
29 views

Apache limits errors when scalling with many domains for Saas app

**Hello everybody , I making SaaS app like Shopify and ecwid , user create store within 10 mins , once he register he get automatic subdomain with SSL and can add products and payment methods, ...
user avatar
1 vote
1 answer
42 views

AWS NLB HTTPs health check using mTLS

Is it possible to do a AWS NLB HTTPs health check using mTLS? I tried setting up a TLS listener, loaded my cert, setup a TLS target group with HTTPs health check, but the health checks are still ...
user avatar
0 votes
1 answer
222 views

Redirecting Netflix and Youtube traffic to another gateway by IP addresses on Mikrotik router

I help a friend in taking care of the network with few buildings with appartments for rent. During the holiday season all apartments are fully booked, and that means we have 40-60 guests. There are 18 ...
user avatar
  • 123
0 votes
2 answers
108 views

GCP External HTTPs Load Balancer - 404 - 503 - SSL Exception (Remote host terminated connection, read handshake, socket closed & upstream connect)

We're load testing a MIG (with 2 instances) hosted behind the HTTPs load balancer using JMeter. Observation 1: We randomly receive 404 error and 503 error, for 404 we see an entry get created within ...
user avatar
0 votes
0 answers
30 views

howto make nginx with failover with containers that potentially don't exist

I would like to use Nginx in front of a number of dockers containers, some of which (known) may be missing. Make sure that nginx does not block on "host not found" and stop the container ...
user avatar
  • 11
0 votes
1 answer
44 views

Can I have 2 public subnets one one EC2 instance for creating a load balancer?

So I eventually want to set up a classic load balancer on AWS and I have a VPC with 2 public subnets, but now I am not sure if I can use those two subnets for that one EC2 instance or do I need two ...
user avatar
  • 179
0 votes
1 answer
781 views

Achieving mTLS with AWS ALB

If I have an ALB in my infrastructure with ECS target groups downstream, will SSL/TLS always be terminated at the ALB? If so, are my only options ELB/NLB to preserve the SSL/TLS context?
user avatar
0 votes
0 answers
34 views

Google Load Balancer SSL certificate only valid in browser

I have a Google HTTPS Load Balancer in front of a Cloud Run and a Google Storage bucket. I bought a wildcard SSL certificate for my domain from ZeroSSL and added it to the Load Balancer. The routing ...
user avatar
  • 111
0 votes
1 answer
66 views

HAproxy finds no backend when different port is used

I have two backends that are the same server running two of the same Docker image, but each with a different port. That is, on the backend server, the only different between the two is the port ...
user avatar
0 votes
0 answers
94 views

Linux load balancing for udp services

I am trying to load balance ISAKMP using linux load balancing. Google searches indicate others have used LVS to load balance udp services successfully. I cant seem to get the load balancer to rewrite ...
user avatar
  • 1
0 votes
0 answers
27 views

Create an Azure Internal Loadbalancer with Zone Redundant Properies

This is the command that I tried to use and the error message received is shown below the command az network lb create --name <name> -g <RG name> --frotnend-ip-name <frontend_name> --...
user avatar
0 votes
1 answer
27 views

POST requests fail after updating Apache load balancer ("empty stream")

We have an apache configured as a load balancer (mod_proxy_balancer afaik) distributing the load to several wildfly application nodes. This was working fine until we updated the operating system from ...
user avatar
  • 101
1 vote
2 answers
78 views

Round robin usage of multiple IPs for outgoing connections on single interface

my issue: I have a process creating more than 10k TCP-Connection to the same destination IP&Port per second. After a short period of time, no new connections can be created any more, as there are ...
user avatar
  • 113
0 votes
0 answers
34 views

HTTP(S) (Classic) Load Balancer keeps coming back after being deleted

I'm using a "Network (target pool-based) Load Balancer" for my application (with GKE on GCP). I've tried playing around with creating a new "HTTP(S) (Classic) Load Balancer" which ...
user avatar
  • 1
0 votes
1 answer
160 views

503 Service Unavailable when Load Balancer is active

We have two cloud servers from Hetzner. The web server is Nginx. Both servers are identical (hardware, software and our web application). LetsEncrypt certificate is installed on both servers. Nginx is ...
user avatar

1
2 3 4 5
54