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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

Azure Load Standard Public Balancer load balancing to unhealthy or removed VM

We have a highly available website which we are trying to migrate to Azure. We basically have an Azure Standard Load Balancer with a public IP and 2 VMs in the backend pool. We have noticed that if 1 ...
0
votes
0answers
17 views

nginx: resolver does not refresh after dns update

We've had an issue today with the nginx resolver in an AWS environment. According to the nginx log files, nginx did not resolve to the right servers, after the DNS record changes. The DNS originally ...
0
votes
1answer
22 views

DNS layer with service discover as resolver not SRV

I need to know is there any solution for solving my problem. I have bind DNS server and consul as service discover. This is what i want as simple diagram: How can i resolve this sample file and bind ...
0
votes
1answer
11 views

How can we use capacity-based load balancing in our physical data center?

We are planning to have multiple high-capacity servers with the same application configuration (data analysis pipeline) and would like to send requests including a data stream to each server, based on ...
1
vote
0answers
13 views

Google cloud load balancer not returning Content-Encoding: gzip

I'm using google cloud Load balancer that sits in front of an nginx backend service (in google cloud terms). When i'm accessing the nginx server directly i can see the 'Content-Encoding: gzip' header ...
0
votes
0answers
17 views

Can you use SSL termination in conjunction with a Layer 4 load balancer?

I have an internal load balancer to balance internal traffic to my Kubernetes cluster (hosted in GKE). According to the Internal Load Balancer documentation, it only balances L3/L4 traffic. I need to ...
0
votes
1answer
10 views

AWS LBS maximum request rate does not clear

In LBS I have message " "A request made to AWS Config exceeds the maximum request rate permitted for your account." Unfortunately I do not know what is my current limit. I found this page but it does ...
0
votes
0answers
10 views

What is optimal hardware configuration for LAMP video application [duplicate]

I need to run Linux-Apache-PHP-MySQL video application (Video calling platform) for a 40 concurrent video calls - I am aiming 120 users (3 on a video call so there will be 40 concurrent video calls ...
0
votes
0answers
22 views

Kubernetes accessing a replica behind a load balancer [on hold]

I have the following deployment and a load balancer service to connect to it: apiVersion: apps/v1beta1 kind: Deployment metadata: name: slave spec: replicas: 2 template: metadata: ...
0
votes
2answers
19 views

what is service mesh in container Load Balancing?

When i read about Load Balancers & containers.Looking for clear understanding of service mesh in Load balancer and how it is useful in containers.
0
votes
0answers
30 views

SSL implemation

So, i know we can enable SSL on the AWS Application load balancers. But the set up here is, the connections terminates on an on-prem f5 loadbalancer. The traffic is then routed to an internal(private) ...
0
votes
2answers
42 views

Https not working on AWS EC2 with ssl certificate installed

I Have insatlled ssl on my aws but not able to load my site on https https://darkcloud.app (My site) Certificate load balancer Route 53 ubuntu@ip-172-31-8-134:~$ curl -v https://www.darkcloud.app ...
0
votes
0answers
4 views

Pointing to ELB in Route53: A record (via ALIAS) vs CNAME

there is a weird problem with my application. A Classical Elastic Load Balancer sits in front of my application servers, which are EC2 instances. I point my sub-domain to the ELB in Route53. Case 1: ...
1
vote
0answers
25 views

Autoscaling cloud web applications- what method do people use to establish which metric is most suitable to scale off?

I understand with applications hosted in the Cloud, autoscaling is now a very popular method of ensuring applications can scale based on fluctuations load/work. From my reading, I know that most, if ...
0
votes
0answers
32 views

Is there a way in Rancher to schedule services by “groups”?

Rancher v1.6.x, under Cattle, already on HA. I'm mostly asking about a workaround or some great idea I couldn't figure. Of course, Rancher doesn't have this "groups" concept. I have 8 hosts in my ...
1
vote
1answer
91 views

Multiple certs on an ELB listener. Nagios monitoring only checks the default one, regardless of host name

So I have two sites running, each behind a single Amazon ELB. For the purpose of this post (and my companies privacy), using these hostnames for each: example.com anotherexample.com Certs are ...
0
votes
2answers
38 views

HAproxy health check for https backend

I have haproxy configuration that works perfect for vault server in the backend with http configuration and it load balance based on unsealed and active vault server using 200 OK code. This works for ...
0
votes
1answer
21 views

Nginx loadbalancing, Is there a way to do this?

I want to use a test server for administrators. Is there a way to assign an access from the client of ip(123.0.0.1) to the server of ip(123.0.0.2)? upstream target-server { server [123.0.0.3] ; ...
1
vote
1answer
56 views

Configuring correct firewall settings for GCP HTTP load balancer

I have two VMs running HTTP servers on port 8545 as shown in the figure and placed in an instance group. I created a HTTP load balancer in GCP to balance HTTP requests from end users. However, with ...
1
vote
1answer
37 views

AWS Elastic Load Balancer- two web applications in cluster in different autoscaled groups- one load balancer or two?

I'm wondering what the recommend practice would be in this scenario. If I have two web applications on the same VPC network (essentially in the same cluster) in two different autoscaled groups, would ...
2
votes
1answer
52 views

Is there any point in using more than one Application Load Balancer on AWS?

One can add to ALB multiple listeners and rules that can check for hostname and forward requests to appropriate target groups. So, I'm not sure what could be the point in using more than 1 Application ...
-1
votes
0answers
24 views

HAProxy: retrieve http information from SSL connection

I am curious is it possible to make a such trick with HaProxy. I have a multi-user application with static public IP address. My application generates requests to some kind of external services, ...
0
votes
0answers
22 views

Need advice on service infrastructure design [duplicate]

I am design infrastructure for our startup service. Basically, there are 3 main components under 3 domain directories: /owner, /user, and /blog. Nginx server routes all incoming requests and forward ...
1
vote
2answers
47 views

Google Cloud Load Balancer- Active/Standby (Active/Passive) decisions possible?

I'm trying to create an active/passive cluster in GCP, and I'm looking at using the native load balancer to achieve this. For example, I want the load balancer to only forward traffic to a particular ...
0
votes
1answer
118 views

AWS ALB security group allow connection from only my servers

I'm using an intenet-facing AWS ALB (Application Load Balancer) with a ECS cluster(docker), and I want to use it for forward web standard and internal web services traffic. The application load ...
0
votes
0answers
21 views

Communicate between two Subnets through a LoadBalancer

Network Configuration: I have a network with the following topology : SubNet1 : Lan1 192.168.10.1, WAN1 : external_ip_1 SubNet2 : Lan2 192.168.1.1, WAN2 : external_ip_2 LoadBalancer (TL-R470T+) : ...
-2
votes
1answer
54 views

Nginx loadbalancing in same ip but different ports

Nginx(80) and two tomcat(8080,18080) were installed on one server. And i try to loadbalancing is it possible? I can proxy pass 80 to 8080, but can't to 18080. Why is this ??T.T http{ upstream ...
0
votes
0answers
24 views

HAPROXY allow only 1 concurrent connection to a website .

I'm really enjoying playing around with Haproxy , and it really looks like a powerful load balancer, so I thought maybe it could help me achieving this. Basically, I run several proxies, and use ...
-1
votes
1answer
49 views

nginx showing blank page everytime I restart - behind AWS load balancer

nginx keeps showing a blank page every time I run a service nginx reload and then finally starts displaying my content after 5 to 10 minutes of running a nginx reload. I don't know why this keeps on ...
1
vote
0answers
19 views

Authentication error when connecting to WCF service via Load balancer to the same server

I have 2 servers. Each of them has one WCF service installed. The client connects to the services through the load balancer. The load balancer distributes requests to these 2 servers. When the load ...
-1
votes
1answer
122 views

Forwarding HTTP to HTTPS on Elastic Beanstalk load balancer

I'm using Elastic Beanstalk, and I installed my SSL certificate in the load balancer of an EC2 instance belonging to the EB. Every time the server is not healthy, the load balancer delete the ...
1
vote
1answer
94 views

Terminate Gzip compression at AWS ELB classic load balancer

We have a set of servers in AWS that are behind an ELB. We are trying to upload data to the server. We want to enable gzip, but the servers themselves use an obscure golang framework that does not ...
0
votes
1answer
20 views

Apache Load Balance wrong balancing

I have 2 backend servers on the same network and 2 Tomcats on both machines with the same application. Additionally, I have a main machine where I load my app and which choses to which worker requests ...
-2
votes
1answer
14 views

ipvsadm - How to display hostname and port?

The output of ipvs rules in the above example one is as follows: [root@penguin sbin]# ipvsadm -ln IP Virtual Server version 1.0.8 (size=65536) Prot LocalAddress:Port Scheduler Flags -> ...
0
votes
0answers
30 views

Apache Load Balancer For 2 Tomee Instances

I'm trying to configure a service by adding an apache loader balance to it, but unsure of the configuration. The first tomee operates normally even after adding the apache load balancer to it. Now, I ...
0
votes
0answers
19 views

IIS shared storage vs local

I'm currently setting up a new test environment as part of the porcess of moving to a new hosting provider. The current architecture has 3 load balanced hosts each with a local copy of all the ...
0
votes
1answer
50 views

Tcp port forwarding in Google cloud to gke cluster

I am fairly experienced with kuberenetes but very new to Google cloud. I have an haproxy-ingress controller running with nodeports of 30080 30443. I need to have a static IP that can forward port 80 ...
1
vote
0answers
45 views

Load balancer keeps EC2 instance out of service

When I set the ssl ciphers list in the EC2 instance to the below one, ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-...
0
votes
1answer
46 views

How do I load balance outgoing connections with iptables and iproute2?

I have a server behind two public facing gateways INTERNET | | GW1 GW2 | | SERVER GW1's IP is 192.168.w.x, MAC aa:bb:cc:dd:ee:ff GW2's IP is 192.168.y.z, MAC ff:ee:dd:cc:bb:aa # note: w != y ...
0
votes
1answer
66 views

Nginx shows 15k active connections, few are reading/writing/waiting - what are they doing?

Currently using NGINX as a load balancer for an upstream to a sharded mongo cluster. .conf reads: stream { upstream prodapp_mongo { least_conn; server xxx.xxx.xxx.xxx:27017; ...
0
votes
0answers
35 views

DigitalOcean swarm between regions

Im asking this on StackOverflow but maybe on ServerFault it will be better I'm building docker swarm cluster for my backend and wanna join nodes from different regions for example manager on NY1 and ...
0
votes
1answer
29 views

Windows Network Load Balancing Duplicates UDP Packages?

Background I have two Windows Server 2012R2 VMs (each with one NIC) listening on port 514 for Syslog UDP messages, which process and then persist the messages to a database. I tried setting up ...
1
vote
1answer
29 views

Determine load balancer health check timeout

How do you determine reasonable health check timeouts for load balancers? My application is failing load balancer health checks. I'm using the default health check timeout of 5 seconds, but I've ...
0
votes
1answer
59 views

Nginx Load Balancing an Application Using Multiple Ports

I am trying to set up load balancing for an application that utilizes multiple ports. The application's initial connection being made on TCP port "A" and a secondary connection being made on TCP port "...
0
votes
0answers
35 views

Allow port 3000 through Apache load balancer

I have set up 2 apache web servers 2 run the web application on port 80 and nodejs on port 3000. 1 apache load balancer that successfully routes traffic between the 2 web servers. I installed let's ...
0
votes
0answers
20 views

High performance, high availability backend configuration [duplicate]

We have a mobile app project which at this moment gets very low traffic (few server hits per day) but due to potential cooperation with a big company we might soon start serving as much as 500.000 ...
0
votes
0answers
20 views

AWS: Which is better between more instances from load balancing and better instance type? [duplicate]

I'm trying to expose our business website to the public. It's a reviewing website with a lot of images and pages to review a lot of stores. I'm currently confused about choosing the best instance ...
1
vote
1answer
58 views

Real World Architecture [closed]

I am kind of confused about the way real-world web applications are architectured and I would be happy for some clarification . I know that there are many methods and different approaches but an ...
0
votes
1answer
26 views

New Azure Standard LB doesn't allow inbound connection

I have setup a LB with a backend pool (only one host for test). I setup network security group on test host with following rule: Source: AzureLoadBalancer Destination: Any Action: Allow Source: ...
0
votes
0answers
33 views

How to have Squid work with two NICs?

I currently have a Squid 3 installation on Windows Server 2016 with a couple of rules to relay incoming data to different parent cache_peers based on some preset ACLs. (10.0.1.5) ...