Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
18 views

Server Behind Load Balancer Says Status 200 But Client Says Connection Failed

I have an AWS setup that is not being reliable and I'm trying to figure out why. For background - the site is new and just being tested among our team, but it has persistent problems for some of our ...
0
votes
0answers
36 views

How (in)secure is SSL termination at GCP HTTPS Load Balancer level?

With GCP promoting Google-managed certificates, I'm pondering if my current configuration, HTTPS between the LB and the backend instances, but GCP is not really clear on how the traffic is managed ...
0
votes
1answer
56 views

Load balancing multiple NICs on single machine presenting a virtual IP

I've inherited a network setup, where the NFS/Samba linux RAID server ("Ubuntu 14.04.5 LTS") is serving everything over one NIC. As a result, the 1Gb network bandwidth is saturated. Unfortunately, ...
1
vote
2answers
48 views

Haproxy - stop traffic to node under maintenance

We've 2 active hosts for load balancing using haproxy. Haproxy is running on both the hosts. Due to maintenance we need to stop services on Host 1. During the maintenance window we want haproxy ...
3
votes
1answer
36 views

Load Balancing And Sticky Sessions

According to what I understand , the use of sticky-sessions is to route user to the same backend so they won't have to for example login again each time they are re-routed or if they have a shopping ...
1
vote
1answer
44 views

How to enable RemoteIPProxyProtocol conditionally in apache only if connection contains proxy header?

We have multiple ec2 servers for our application which are served through aws load balancer. Now because of our specific requirement, we had to use tcp load balancers. With tcp load balancers, we ...
0
votes
0answers
20 views

glusterfs for wordpress hosting

I've seen many tutorials recommending glusterfs for distributed web application hosting. Is this really the best practice for small scale load balancing? It seems the latency issue is slowing us ...
0
votes
1answer
40 views

How to get haproxy and keepalived working on the same device as an emqx broker

I'm rather new to this, so please be patient. My setup is essentially thre devices using mqtt, connecting through two brokers both running emqx. Both emqx brokers are also supposed to be set up as ...
0
votes
0answers
7 views

Is it possible to have two worker load balancers in same config file in mod_jk pointing to two seperate domains

Sorry if this has been posted before but couldn't find exactly what I am looking for. I have been tasked to migrate off old servers and consolidate new servers to cut down on costs etc. The powers ...
0
votes
0answers
25 views

How Does curl over HTTP Know Where to Respond

This might sound like a silly question that is probably just part of the HTTP protocol, but might be important to debugging an issue I'm having. We have some PHP code that uses the php-curl functions ...
0
votes
0answers
14 views

AWS Application Load Balancer not working

I have a EC2 cluster with just one EC2 instance, where two services are running: api1, listening at port 8080 api2, listening at port 9090 If I make requests against EC2 instance and those ports, ...
0
votes
1answer
96 views

Scaling out load balancer devices and a backend network device

Let's assume we are making a big massive web service for almost unlimited users in the world. Many articles mention scaling out servers with a load balancer(for example, AWS ELB) and many server ...
0
votes
0answers
31 views

High availability website using IIS / windows server

My website is currently running on a single windows server 2016 machine with IIS and SQL server 2017. Every time there's a windows update, new hardware install, etc., my site goes offline. My goal is ...
2
votes
1answer
21 views

Does anyone have experience of load balancing an apt repository? Can it be done?

I'd just like a bit of a head start on this if anyone's any experience of it. Searching for things like "apt load balanced" gives remarkably little of use. We currently have an apt repository on a ...
2
votes
1answer
19 views

Proxy entire url path to haproxy from nginx

I have nginx in entry point to server. which handle SSL connection and send HTTP request in /api/v1/ to HAproxy for balancing. this is my nginx config: location /api/v1/ { proxy_pass http:...
1
vote
1answer
25 views

Behavior change in a Google Cloud Load Balancer, and how does a load balancer decide to spawn off more instances?

We have a web application, running on Google Cloud. It's still in development at the moment. We've got a load balancer tied to three separate instance groups, for three different functions, all of ...
0
votes
2answers
33 views

AWS Elastic Load Balancer: Forwarding Requests to all Instances

Using Terraform to create Autoscaling Group (with 2 instances) and Elastic Load Balancer (ELB) in AWS. The instances are running simple http-echo server written in Go on Port 3000. When the DNS ...
2
votes
1answer
49 views

Scaling up / reorganising VPS infrastructure for SMB

I work for a digital agency, where we design, build and host websites for our (local) clients. Currently, we have approx. 80-90 sites scattered on 11 VPS instances. 99% of those sites is WordPress ...
0
votes
1answer
45 views

Setting up a SSL Certificate IN GCP load balancer

I'm trying to setup a server less pixel tracking based on thus documentation: https://cloud.google.com/solutions/serverless-pixel-tracking-tutorial The big issue is that for some reason I'm getting a ...
0
votes
2answers
41 views

Setup the two servers with different IP and apply the single domain

I'd like to setup the two servers with different IP and apply the single domain. Server 1 Vendor: Azure OS : Windows 2019 App : MVC application We have Virtual Machine in Azure and running ...
0
votes
2answers
103 views

Compute Engine https load balancing with google managed ssl cert

Good morning, I would need help to understand the configuration of HTTPS load balancing. At the moment I have only one vm instance (debian lemp stack with nginx and no apache) loaded in compute ...
0
votes
0answers
37 views

Apache2 Loadbalancer with sticky session only sticky for GET, not POST

I have set up Apache 2.4.6 on Centos with mod_proxy and mod_headers like described in https://wiki.apache.org/httpd/LoadBalanceWithoutStickyCookie My goal is to have sticky sessions even if the ...
0
votes
1answer
54 views

LB Kubernetes on Google Cloud, http request refused

I create a LB Kubernetes service and define to accept traffic from both port 80 and 443. but my http request is dropped my connection to my application.
0
votes
0answers
22 views

HAProxy and Keepalived IP assignment

As per the figure below, suppose there are two load balancers bundled together using Keepalived. My question is: does each LB have to get public IPs (namely 10.0.0.3 and .4) assigned to their public ...
0
votes
0answers
17 views

SystemArch: How to proxy multiple physical mailservers behind one DNS?

Assuming following system architecture: internet | smtp.mydomain.com (TLS/SSL enabled SMTP-proxy?) | +--------DMZ----...----+ | | ... | ...
2
votes
0answers
57 views

Using Nginx real_ip when you don't know the intermediate proxy IP addresses

Nginx's real_ip module allows you to set the $remote_addr variable based on values sent in particular header fields. It has a special understanding of the X-Forwarded-For header, and is able to use ...
0
votes
0answers
43 views

XMPP behind a GCP TCP/SSL proxy load balancer

I'm trying to set up an XMPP server on Google Compute Engine. I'm currently playing with Prosody. My preferred deployment strategy for servers is to have immutable infrastructure, so I tend to build ...
1
vote
1answer
42 views

How can I use a static IP address with an Application Load Balancer in a highly available manner?

I'm overseeing an integration for a customer and their vendor needs a number of IP Addresses to whitelist. The originating server(s) is an Elastic Beanstalk Instance fronted by an Application Load ...
0
votes
2answers
95 views

Do I need identical servers for load balancing?

I am new to using AWS and web hosting in general. Let's say I currently have a single server running a website, and the traffic starts to grow to a point I need to use load balancing. Assuming my ...
1
vote
2answers
203 views

Install AWS SSL Certificate to EC2 instance without load balancer

I'm new with AWS and facing some confusion with ACM SSL certificate installation to an EC2 instance. Is it possible to install the certificate without using ELB or Cloudfront. I don't need load ...
0
votes
1answer
81 views

Session affinity function in Google Load Balancer

I am using the session affinity function in Google Load Balancer. However I have the problem as below. When gave stress A-WEB Server, access server changed to B-WEB Server. According to LB parameter, ...
2
votes
1answer
91 views

Azure App Service Plan: configure load balancing

We have an auto-scaling App Service Plan, which consists of 2 Web Apps: One web app is accessed by the public, and should be load balanced. However, the other web app (authoring) for support reasons ...
0
votes
0answers
60 views

How are load balancers, health checks, and autoscalers supposed to handle surges?

I have a service which looks like: Internet -> Load Balancer -> Instances What seems to be happening in my service is the following scenario: A large surge of user traffic comes in, more than the ...
0
votes
0answers
24 views

Apache mod proxy load balancer fail over conditional

I have a configuration similar to this one: <VirtualHost *:80> <Proxy balancer://X_Balancer> BalancerMember http://server1.sth/ BalancerMember http://server2.sth/ BalancerMember ...
0
votes
0answers
40 views

URL redirection and ACL conditions in Haproxy

I would like to check and compare the maxconn and conn_cur in haproxy. If the conn_cur value greater than maxconn, the url needs to be redirected. URL redirection is working, but the maxconn & ...
3
votes
1answer
291 views

How to configure AWS load balancer to forward to external IP address

I currently have multiple instances of the same web application running on different instances by different vendors (AWS, Digital Ocean, Vultr). Each application instance run on their own port numbers....
0
votes
0answers
95 views

Correct log format dependent on route

I have a few virtual hosts running on a server, a couple are through a CDN and have X-Forward-For added to the headesr, sometimes it just goes through a load balancer where RemoteIPHeader is added. I ...
2
votes
0answers
46 views

NIC team not load balancing

I'm trying to achieve a load-balanced NIC team on a Windows Server 2016 machine. This is a ProLiant using a 4x 1Gb 311FLR interface card which as of yesterday has the latest driver installed (100.20.0....
0
votes
0answers
11 views

Partitioned access to configure Alteon Radware load balancer via API

I have a client with an Alteon Radware 5224 load balancer. I'm trying to determine if you can create an account on the load balancer that can be set up to only administer one virtual server and its "...
0
votes
0answers
10 views

HaProxy Configurations Error while setting up multi proc environment

I want to achieve 6000/sec Requests and trying to setup HaProxy with muli proc Settings but Getting this Error. cpu-map expects a process number including 'all', 'odd', 'even', or a number from 1 ...
0
votes
1answer
65 views

Round-robin outgoing TCP requests between multiple Ethernet adapters on Windows

I have a Windows Server Standard with 3 Ethernet adapters. I am running a C# application that makes TCP connections to another server. Right now they are all made via the adapter that has a default ...
1
vote
1answer
354 views

AWS Lambda as an Application Load Balancer target?

At AWS’ 2018 re:invent, AWS announced that Lambda functions can now be the target of Application Load Balancers (documentation here). I just want to ensure that I understand AWS previous offerings (e....
0
votes
1answer
49 views

Hide EC2 Instance Behind Load Balancer

In AWS, I have an EC2 instance which currently allows incoming traffic on port 80. I am hosting an API on this instance and so currently I can hit the API endpoints using Postman at the public IP of ...
3
votes
1answer
39 views

Connect from ec2 instance by alb to app to the same instance

My scenario: I deploy a application in AWS on e2 instance on some port: I create a network loadbalancer (application use a tcp protocol) with target group. Also this instance is in autoscalling group ...
0
votes
0answers
33 views

Apache httpd load balancing based on other server availability

We are implementing a real-time WebRTC - RTP video solution at a customer, using 3rd party vendor components and customer components. I am trying to find out if it possible to handle a corner-case ...
0
votes
1answer
30 views

Can we make AWS ALB forward request from a single user to the same target always?

I'm new to AWS ALB and I have set up an AWS Application Load Balancer along with ECS cluster with 2 EC2 instances. The entire architecture works fine. But later I find that the API calls from a single ...
0
votes
1answer
20 views

Kubernetes service vs Load balancer

A service in kubernetes is a object representation that is used by kube-proxy to link the VIP of the service to one of the containers behind the service. This can be done by several kube-proxy modes ...
0
votes
0answers
29 views

How to Nginx upstream on single server with additional IP addresses added to NIC?

I am having a single dedicated server (static IP) with two additional IP addresses added. When I run SSH with command: cat /etc/network/interfaces I got this result: auto lo iface lo inet loopback ...
-1
votes
1answer
63 views

GCE Kubernetes and Load Balancer http to https

I have hired a DevOps to setup my infrastructure on GCE. We have decided to use Kubernetes Engine for our App. My DevOps has setup multiple load balancers and is using ingress. The issue is that he ...
0
votes
0answers
30 views

HAProxy (or any lb) - can you redirect based on path without SSL termination?

I'm looking to decouple the marketing (logged out) portion of a website from the main logged-in app, without having to use subdomains. I believe I can do this with ACLs in HAProxy, and potentially ...