Questions tagged [load-balance]

Load-balancing is the practice of distributing workloads or data between segregated services to provide improved reliability and increased performance characteristics.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How can I get everything to use the same load balancer on DigitalOcean?

I have a LoadBalancer service, and an Ingress that routes to various ClusterIP services. I've given both of them the following annotation: annotations: kubernetes.digitalocean.com/load-balancer-id: '...
1 vote
1 answer
29 views

AWS- How to estimate a server configuration for nginx load balancer?

What kind of parameters can be used to estimate how much memory and the number of CPU cores are required for a load balancer? I have a requirement to setup LB based on Nginx to route the traffic to ...
0 votes
0 answers
21 views

Load balancing while deployment

How does a L4 or L7 load balancer knows how to route traffic during deployments. Say, In Canary deployment strategy, how does LB route only 10% traffic to a certain server or in case of Blue-Green ...
0 votes
0 answers
52 views

Unable to get complete response when using api gateway

I have created API Gateway with mtls enabled and with integration type as vpc link to NLB. Below screenshot is from Integration Request. URL Path Parameters , URL Query String Parameters , HTTP ...
0 votes
0 answers
149 views

Error certificate does not match in API gateway (500 internal server error)

I am getting below error when calling my custom domain name url. Execution failed due to configuration error: Host name 'xx-1247c652476caa.elb.eu-west-1.amazonaws.com' does not match the certificate ...
3 votes
0 answers
618 views

Kubernetes deployement with minimum disruption to websocket connections

Problem statement: Make a deployment with minimum disruption to clients connected via websockets. Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update. Our ...
0 votes
0 answers
11 views

How's it possible that ingress-nginx create a LoadBalancer in a Bare Metal K8s Cluster?

I have a bare-metal k8s cluster. I set up Ingress Nginx + MetalLB because, if I understood correctly, Ingress Nginx can't provide a LoadBalancer. Everything was working right until I realized that, if ...
1 vote
1 answer
53 views

Is it possible to split traffic by fixed ratio among two Deployments using only Service

Context: Kubernetes (1.23), 2 Deployments of the same app with different version/config/etc., 1 Service Let's say I have a web application deployed in Kubernetes using a Deployment. I want to add a ...
0 votes
0 answers
21 views

How to create Backend pool in internal load balancer using ARM template

Written below code : "backendAddressPools": [ { "name": "frontend", "properties": {} } ] { "type": "Microsoft.Network/loadBalancers/...
3 votes
2 answers
396 views

Ingress vs Load Balancer

I am new to kubernetes and I am trying to expose an application publicly. I am using Scaleway as the cloud provider (if it matters). From what I understand, there are multiple ways of doing this. ...
0 votes
0 answers
55 views

Connect Docker Swarm to AWS Application Load Balancer

What is the best practice to connect a Docker Swarm that is deployed in EC2 with an Application Load Balancer? In my configuration the ALB is what Route53 resolves to. The Docker Swarm is configured ...
2 votes
1 answer
139 views

HAProxy Not Working with Kubernetes NodePort for Backend (Bare Metal)

I have a host running HAProxy already. It's been up and running since before I did anything with Kubernetes. It works flawlessly as a reverse proxy and SSL terminator for various web things in ...
0 votes
1 answer
154 views

Kubernetes pods scaling doesnt increase throughput

I have a simple Django web application running on AWS EC2 instance (2 vCPU, 4Gi). For that type of deployment I have a performance (measured with Hey) $ hey -t 30 -z 1m https://mydomain.com/my/...
1 vote
1 answer
890 views

How to Integrate Amazon API Gateway with EKS using Application Load Balancer (ALB)?

According to the AWS documentation, it is possible to integrate Amazon API Gateway with EKS using ALB. However, by far most of this documentation explains how to do this with NLB instead of ALB. So ...
1 vote
1 answer
144 views

AWS ELB Application Load balancer, SSL not working

I've setup an "Application Load balancer" in AWS. It has two Listeners, one on HTTP (port 80) and one on HTTPS (port 443). It also has one target group that with only one FARGATE instance ...
2 votes
1 answer
852 views

Redirect to a custom page on 503 error in Ingress

When our site is getting deployed, the Ingress gets created and before I could get any response I get 503 for 5-6 minutes (time taken to startup). We need to configure our ingress to redirect to a ...
0 votes
1 answer
289 views

Create backend Address pool for basic load balancer azure arm template

I'm attempting to create a backend address pool via an ARM template for a load balancer with the following code: "type": "Microsoft.Network/loadBalancers/backendAddressPools&...
0 votes
1 answer
485 views

AWS ECS Fargate, auto scaling and load balancer

For a ECS service with launch type "fargate", it is possible to configure a load balancer and auto scaling. I don`t understand, how those two types of scaling work in this case, and how they ...
0 votes
1 answer
19 views

Looking for a good book explaining how things work in the industrial system test environment and production environment

Any advice on a good book explaining how things work in the industrial system test environment and production environment? It's my first time in this topic, so I would need a general overview. Key ...
1 vote
1 answer
65 views

Is there a way through which I can control type of load balancer like round robin , least-connections etc using helm charts?

I am researching different types of loadbalancing methods available through kubernetes .I want to implement & see before deciding on one .I'm stuck at how to actually define typeof-loadbalancer.If ...
1 vote
1 answer
2k views

AWS API Gateway as an http proxy to ALB

I have a setup of API Gateway proxying all the requests to my EC2 instances behind load balancer (ALB). But I want api endpoint to have a nice domain my-api.mydomain.com. I'm trying to accomplish that ...
14 votes
4 answers
6k views

Open Ports on Google Cloud Load Balancer

It seems that by default, Google Cloud load balancers expose a number of ports unecessarily. I haven't found a way to expose only 80/443 and every time I make one of their load balancers, the ...
1 vote
2 answers
1k views

Load Balancer and EC2 in same subnet?

I have a custom VPC with 3 public subnets and 3 private subnets. I have three ec2 instances with elastic IP addresses in the public subnets taking traffic on port 80 (security group is configured to ...
1 vote
0 answers
36 views

kubernetes - load balancing where ressources are available [closed]

I would like to know how could I set up a load balancer at the Kubernetes level so my services point to the pods that have more RAM/CPU resources available, and not randomly. It would be co-existing ...
1 vote
1 answer
1k views

How to setup Cloudfront for Load balancer for a private staging domain name?

I've got a domain name foobar-staging.com, that I use for the staging environment to get feedback, testing or demo before releasing to production. Recently, decided to deploy the UI static files to s3 ...
2 votes
1 answer
54 views

How to connect GCP Load balancer to Kubernetes cluster(single node cluster)

I'm creating a single node(name: node1) k8 cluster for demos. I have setup a nginx-ingress controller. service/volted-marmot-nginx-ingress-controller LoadBalancer 10.100.132.29 <pending&...
1 vote
1 answer
3k views

Load Balancing of Jenkins Nodes without Load Balancing Plugin?

we currently want to introduce a loadbalancing on the Jenkins server and our nodes. I have already created several nodes. Currently it is also so that if a node is blocked accordingly, that the next ...
1 vote
2 answers
658 views

How can I achieve better load balancing of different systems on a Jenkins?

We have four test machines spread over a Jenkins. We would like to have a better distribution. Example: If machine one is running with a test job, the second job should detect that node one is ...
0 votes
1 answer
63 views

multiple projects per EC2 with Load Balancers

I have 2 EC2 instances and an Application Load Balancer. The Load is not too high, but I'm keeping both instances working just in case. Plus, it saves the time on deployment with (one at a time) and ...
11 votes
1 answer
4k views

Load balancing Nexus artifact repository

Load balancing Nexus is currently not supported by Sonatype, except by putting a Nexus instance in front of two with smart-proxying enabled or via a newer feature. Still, I gave it a shot, by ...
2 votes
1 answer
555 views

How do I configure an AWS network load balancer with an A record in Cloudflare

I am trying to use an AWS Network Load Balancer to point at a group of servers. I would then like to take my DNS and point it at the load balancer. However, after I set everything up I cannot find and ...
3 votes
1 answer
505 views

AWS: Application vs Classic Load Balancer

My senario is this: I am using 2 EC2 instances which I want reachable via urls as follows: sub1.domain.com sub2.domain.com I am aware of the fact that AWS Application Load Balancers currently ...
0 votes
1 answer
100 views

How to update frontend servers behind a load balancer

I have multiple frontend servers churning out the HTML pages , behind a load balancer. Just wondering what is the best practice to update the frontend app while users are surfing the site. The ...
2 votes
1 answer
49 views

Is it possible to set up Microsoft Sql Server in a scalable way?

I am working on some architecture where we need to have a Microsoft Sql Server database that is scalable, with one writable master and many read-only slaves. Ideally I should be able to hit a load ...
5 votes
2 answers
329 views

Load balancing kubernetes cluster on budget KVM provider?

There are a lot of cheap KVM providers these days that offer simple nodes with just a single external IP per node, without any load balancing. What is a typical budget load balancing solution for ...
0 votes
1 answer
715 views

Reverse Proxy and TCP Optimization Inside the Network

Need to make some optimizations and have been reading articles such as linux-tcp-tuning In a world of load balancers and revers proxy is there any value in tuning TCP connections that are inside the ...
0 votes
1 answer
42 views

How to dimmension VMWare VM linux servers to run kubernetes container clusters?

I'm designing a web apps and web services hosting platform using kubernetes clusters of VMs running docker containers (web services, web apps, databases). This application hosting platform will be ...
1 vote
1 answer
1k views

Is it possible to load balance TLS/SSL based logstash communication to elasticsearch?

if i have filebeat -> logstash -> elasticsearch pipeline with TLS or HTTPS encryption , is it possible to load balance between 2 destination elasticsearch clusters in active-standby ? what i mean is, ...
2 votes
1 answer
62 views

Custom Layer 4 Load Balancer

What are my best options for deploying a load balancer on AWS with the following requirments: Add auto scaling that will start my own EC2 instances. Deploy 3rd party SW on the load balancer. ...
2 votes
2 answers
231 views

In kubernetes, using an nginx ingress controller what is recommended way of adding back end services?

I'm running on a simple KVM host and have poor man's load balancing with round robin DNS to and nginx ingress based on this chart which is documented here So to direct traffic to backend pods it ...
2 votes
0 answers
528 views

Elastic Beanstalk: Setting parameters from a .config file in the application bundle [closed]

I am using the Elastic Beanstalk web UI to create an environment, for a single Docker container. I would like to put all the environment options into a .config file in the application bundle. I'm ...
1 vote
1 answer
435 views

Move Load balancer certificate to another AWS account

I have two AWS accounts. Created a load balancer on "first" account, requested a certificate and using it for HTTPS. Now I need to move this load balancer certificate to "second" account because it ...
9 votes
6 answers
1k views

How to prevent hug of death on EC2 Instance?

I've a iOS app on the app store and recently I've received a huge surge of traffic to my landing page hosted on EC2 and resulted in the page not responding, luckily I managed to recover it by ...
4 votes
2 answers
1k views

Where to start? Scaling PHP applications on AWS

Currently all of our PHP (Laravel) applications are running on one EC2 instance. To deploy code, we SSH onto the live box and pull from CodeCommit. We now need to scale and deploy properly. I'm not ...
9 votes
2 answers
180 views

Does load balancer F5 support CasC (Configuration as Code)?

Using CasC with F5 would allow for versioned and optionally dynamic network endpoint configuration, saving time and reducing risks. Does this tool support this? Are Single Configuration Files (SCF, ...
3 votes
1 answer
317 views

In what all cases would one use an external load balancer over the Ingress routing mesh in a Docker cluster?

Also, would the routing mesh act as an application load balancer? Like for example, if I am having a Docker cluster in AWS, how does the ELB added to it, work? And how would that be different from ...