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
0answers
20 views

domain CNAME to subdomain [duplicate]

Please help, I had a questing regarding DNS delegation and CNAME. Is it possible to CNAME parent domain to subdomain example I had domain example.com and I want to CNAME it to sub.example.com. The ...
0
votes
0answers
14 views

Nginx- I've 3 different conf files under site-availabled,using 3 different ports and serverblocks, is there a way to restart only one instance/site?

we are moving away from ibm http server to using nginx. Nginx (OpenSource) will be spraying traffic to 2 application nodes in the backend, which is hosting 3 different applications. Need was to ...
-1
votes
1answer
17 views

AWS load balancer 504 Gateway Timeout for only one endpoint

I am getting 504 for only one endpoint in my service. All other endpoints are working without any issue. My rules are as follows: IF THEN Host is example.com ...
0
votes
0answers
10 views

Asymmetric routing issues with CentOS

Would appreciate some help with this scenario. I have two bond interfaces (dot1q) on a server and have ECMP setup for 2 subnets bond0.100: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
0
votes
1answer
35 views

Putting WAF on a loadbalancer?

at the moment, our application servers are directly accessable on the internet, like the following picture shows. With this in mind, it would be aful if a server crashes (hardware-failure) or stops ...
-1
votes
0answers
27 views

How to make a fault tolerant setup for Flask app with multiple SSL domains?

I have a Flask app that serves for multiple domains. App recognises which template to serve via request host part. So currently this Flask app is deployed on a single VPS running Ubuntu Server with ...
-3
votes
1answer
45 views

Using a Zonal Network Endpoint Group (NEG) with HTTPS Load Balancer

When creating a Network Endpoint Group I need to specify network endpoint(s). For these, I can select my VM instance and specify the Primary (Internal) IP address. I can then select this NEG as the ...
-2
votes
0answers
13 views

My Amazon aws Ec2 instance is showing unhealthy when connected with Load balancer

I have created an Ec2 instance and i have created an ssl certificate and connected load balancer with this ec2 instance as target but the ec2 instance target in the load balancer is showing unhealthy ...
0
votes
0answers
16 views

Nginx Load Balancing HTTPs cluster

I watn to use Nginx as load balancer for Consul cluster. The Consul cluster is reachable only with TLS. Here I've tried to reverse proxy a single Consul server to check if the TLS certificates are ...
0
votes
0answers
23 views

Use ALB to publish a service using EKS with nodes in private subnet WITHOUT a NAT Gateway

I am using eksctl to provision an EKS cluster in my AWS account. It works fine, but I noticed it creates a NAT Gateway, which is somewhat expensive. Is there a way to have nodes in private subnets ...
1
vote
1answer
54 views

Why does AWS use host names for their load balancers instead of IP addresses?

I'm getting to know how load balancers work in cloud platforms. I'm specifically talking about load balancers you use to expose multiple backends to the public internet here, not internal load ...
-1
votes
0answers
40 views

SSL read:errno 104 with Nginx behind a load balancer

I have a client where I'm deploying my application behind a load balancer, I have two web servers (Nginx) which are presumably working fine (I deployed the applications and certificates), I can curl ...
0
votes
0answers
37 views

IIS get real client IP Address when behind a AWS Elastic load balancer

I have a IIS server behind a AWS Elastic load balancer. I want retrieve the real client ip address set into x-forwarded-for header from AWS Elastic load balancer. I have found this setting for enable ...
0
votes
1answer
80 views

nginx udp load balancer issues

I am trying to get nginx working to load balance udp traffic. The upstream servers are configured for DSR and do not pass traffic back through nginx. I have a group of ports that I need to forward to ...
-2
votes
0answers
27 views

Where to put frontend in load balancing configuration [duplicate]

I have a tomcat spring backend and a angular frontend. I want to implement load balancing with the following resources: 4 vCPU, 12 GB RAM, 300 GB Storage ---> 2 application VM 8 vCPU, 16 GB RAM, ...
0
votes
0answers
27 views

What is the solution in azure to load balance multiple port in same VM from one front end port?

We use F5 big IP as a internal VIP load balancer where we can configure multiple services running on same VM on different port for one frontend port in on-premise. But when we are trying to do the ...
0
votes
1answer
32 views

route ipv4 to ipv6 as mechanism to overcome not owning an ipv4 block for load balancing purposes on premise k8s (none aws/gcp)

This is not a question about tunnelling, although that may be part of a solution. With public cloud providers it's trivial to request a load balancer due to providers owning large class A/B/C public ...
0
votes
0answers
20 views

Avoid earlier “503 Service Unavailable” in Apache HTTPd LoadBalancer

Preamble Having a very basic Apache LoadBalancer 1 configuration, when server_alpha immediately goes down for whatever reason, you get a 503 Service Unavailable response for the very first request ...
1
vote
2answers
67 views

Load Balancing DNS with Google Cloud Platform [closed]

I plan to achieve load balancing by using Google to balance NS/DNS between each of three servers. I am setting up three servers with cluster DNS, records are replicated between each server. I plan to ...
1
vote
1answer
28 views

Use DNS for fast IP switching

We own two different servers with different IP addresses. We are using one server as the main one which runs mainly Nginx to serve application for both 80 and 443, and the second one as a backup in ...
-1
votes
1answer
34 views

How to group data being split and posted to two backend Apache servers behind a frontend Nginx load balancer?

For a requirement of my client, I want to set up a load balancer using Nginx with two upstream backend Apache webservers. I think it should be like: Server1: Nginx Load Balancer. Server2: Apache Web ...
0
votes
0answers
76 views

Google load balancer HTTPS between wordpress.com and google storage bucket

My question is about how to best route a particular url to a static page while routing everything else to a wordpress.com site I have a domain on google domains, currently the A record for the bare ...
1
vote
1answer
35 views

custom ports in google load balancer for IPv6

I am running an MQTT (on custom port) server on the google compute engine. I need it to run on IPv6 network. After looking at the google docs (https://cloud.google.com/load-balancing/docs/ipv6) I ...
1
vote
0answers
65 views

Google Cloud External Load Balancer's backend services randomly fail with 502 Server Error

I have following configuration of External Google Cloud Load Balancer: GlobalNetworkEndpointGroupToClusterByIp is Internet NEG with type INTERNET_IP_PORT pointing to Kubernetes cluster's IP. ...
0
votes
2answers
61 views

Can I setup DNS in such a way that if one IP address fails, it uses the other IP?

I intend to create a SaaS with two Load Balancers. If one load balancer goes down, 'MySaaSApp.com' will point to the other load balancer. Can such be accomplished through DNS Records alone? Thanks!
0
votes
0answers
16 views

Apache 2.4 Load Balancer issues with hostname consistency (ProxyPreserveHost)

I am trying to set up 3 different instances of apache on the same machine and host an application on two of these instances, while the third one load balances them. I have the Loadbalancer instance ...
1
vote
1answer
22 views

Temp. Load Balancing

One of the website on my Cpanel / Centos server on DigitalOcean with multiple domains attracts huge traffic on one particular week in a year, a single server is unable to manage the load and obviously ...
0
votes
0answers
17 views

Where or how does the cookie domain gets set within Netscaler load balancing?

Netscaler noob here. We have Netscaler vips load balancing some of our webservers with CookieInsert persistence. I can see the cookie being set in the browser and its domain. I am trying to figure out ...
0
votes
0answers
32 views

apache Defining worker for balancer error

I am trying to run <VirtualHost *:443> LogLevel debug <IfModule mod_proxy.c> ProxyPreserveHost On <Proxy balancer://test0102> BalancerMember ...
3
votes
2answers
550 views

When 'dig' returns a single A record, the IP address changes between calls. What is this a sign of?

In my internal work network, whenever I launch dig against a particular hostname, I get result similar to this: ;; ANSWER SECTION: some.internal.host.com. 10 IN A 10.210.54.121 If I keep ...
0
votes
0answers
47 views

How to debug AWS load balancer failed health check?

I've got an EC2 instance behind a load balancer which is failing the health check. When I look at the target group / targets, the instance says Status: unhealthy, Status details: Health checks failed. ...
0
votes
0answers
52 views

Keepalived not sending or replying to ARP requests Ubuntu 20.04 Server

I am not able to ping the virtual IP of keepalived. When I checked further, I found that keepalived is not sending ARP requests or reply. None of the hosts in same network received gratuitos APR ...
1
vote
0answers
24 views

How to setup FB's Katran load balancer

I'm trying to setup Katran Load balancer from https://github.com/tehnerd/katran on Ubuntu, but I am confused with the example explained and how the packets are forwarding through IPIP interface ...
1
vote
1answer
26 views

AWS ECS Fargate Target Group Failing HealthChecks

The SpringBoot application is running as an ECS Task in a ECS Service of an AWS Fargate Cluster. The ECS Service is LoadBalanced as such the Tasks spawned by the Services are automatically registered ...
0
votes
1answer
32 views

How to forward client ip to App server via Haproxy TCP/IP loadbalancer?

I have configured HAproxy for TCP/IP loadbalancing but in app server I am not getting IP address of source instead of that I'm getting haproxy IP address as client ip address. I searched on google and ...
3
votes
1answer
75 views

How to Loadbalance Outgoing Traffic with Iptables?

I have a centos 7 server with 5 IPS like 192.168.0.2/29 to 192.168.0.5/29.I want to change Outgoing traffic in roundrobin method because i need to use all ips to my project. so am trying to configure ...
0
votes
1answer
26 views

Display Domain Name instead of IP for bucket content in google cloud platform?

I want to apply caching on my images by Google CDN so I created a bucket and then create load balancing and enable CDN. First: I have created a bucket. and upload some images. and give permission to ...
0
votes
0answers
40 views

Cloudflare Load Balancer 405 Error on Post Request

I am currently having issues making POST requests to a load-balanced backend. (The load balancer is managed by Cloudflare). Making POST requests directly to the individual servers does not cause any ...
0
votes
0answers
44 views

How to understand that nginx balancer switch the server?

I have nginx balancer for two server (main server and backup server). Balancer configuration is like below log_format proxy '[$time_local] $remote_addr ' '$protocol $status $...
0
votes
0answers
57 views

Authorization Error Error 400: redirect_uri_mismatch for Google Oauth Signin behind nginx load balancer

I hope everyone is safe and well. I have an Nginx load balancer forwarding requests to an Nginx webserver which is reverse proxying requests to a gunicorn/flask application. I am using the Flask-...
0
votes
1answer
62 views

Do you need Nginx / Apache for deploying an API?

To my understanding, Nginx/Apache are used to a) serve static content like HTML pages and b) balance requests between servers. I am programming an API in Go. It doesn't need to serve static content ...
0
votes
1answer
26 views

high availability with keepalived and nginx on ubuntu

I have two identical linux servers serving the same content through nginx. I want to have high availability through failover with keepalived, that is, server number 1 always serves the content of ...
0
votes
1answer
24 views

How to choose upstream based on request header

I am trying to send request to different server if a particular header is set It gives error invalid URL prefix in "http://" here is my nginx configuration file upstream server1 { ...
0
votes
0answers
8 views

How to achieve symmetric distribution with LVS DR

I have set up LVS in direct routing (DR) mode and configured my system such that both forward and return traffic flows through the LVS. This works great except the return traffic is being treated as a ...
1
vote
1answer
42 views

TLS passthrough on a layer 7 load balancer

Trying to understand some fundamentals. If I want a load balancer for the benefits of caching and more intelligent load balancing, I see that I should probably consider L7 despite some of the ...
0
votes
0answers
30 views

How do I verify Kubernetes “NodePort” is properly load balancing the underlying pods?

Without modifying the underlying pods, is there a way to verify that Kubernetes is properly load balancing the traffic to the pods?
0
votes
1answer
60 views

How to choose right AWS EC2 instance for serving MySQL

Recently we have noticed that our application has some errors related to the MySQL load. There are some basic queries on large database (approximately 32 GB) which takes longer time than expected. For ...
0
votes
1answer
71 views

What are the best settings for reverse proxy with a load-balanced?

I am using a reverse proxy and load balancing. In my scenario, I have three servers. The first server is the proxy. The second and third are docker servers that use swarm. Port 2020 is used for two ...
0
votes
0answers
34 views

How does DNS work across two separate networks using NAT?

Apologies for sounding naive in advance, I am a newbie in servers/networking and have a generic question around Load Balancers, DNS and NATting. We have an app deployed on our private data center. The ...
1
vote
1answer
35 views

GCLB Missing SameSite and Secure Flags

I am facing an issue with GCLB which is running with instance groups. I have multiple instances running in the backend. On the web server, headers are set up properly like SameSite=None; HttpOnly; ...

1
2 3 4 5
52