New answers tagged

0

Load balancing aspects To decide which load balancer best suits your implementation of Google Cloud, consider the following aspects of Cloud Load Balancing: External versus internal load balancing Global versus regional load balancing Premium versus Standard Network Service Tiers Proxy versus pass-through load balancing Traffic type DDoS protections I ...


1

I hope you have set the service type as loadbalancer. Additionally please check the following link. https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#endpoint-load-balancing


1

In addition to the previous suggestions keep in mind that Google-managed SSL certificates aren't supported for regional external HTTP(S) load balancers and internal HTTP(S) load balancers. For these load balancers you will need to use self-managed SSL certificates. I have not seen what type of load balancer you are using, however before trying to set this ...


0

The problem ended up being that my ACL was only allowing ipv4 traffic in. My guess is that it would work sometimes when my router was using ipv4 and wouldn’t when it switched to ipv6. Why it would switch at random I don’t know but it’s working now. If anyone could comment on why id appreciate it


2

You will have downtime. You can follow these tips to minimize downtime. With proper planning the downtime will be very short and in some cases automatic retries will make this invisible to clients. However, I do not know the design of your site, the usage of cookies, authentication, session management, etc. There might be disruptions that are unavoidable. If ...


0

To answer your question - it is possible to configure one GCP load balancer with multiple backends such as: instance groups single VM's GAE applications Cloud Run functions network endpoint groups (consisting from external hosts) storage buckets For example let say you have a load balancer with dwo backends: GAE app Cloud Run function One of them will be ...


1

The answer that @mattpr gave is really detailed, and very thoughtful. It has a lot of useful information that is very accurate. I don't want to take away from that answer, and how amazing it is. My approach would be much more simplistic. I would setup a proxy host in [insert cloud vendor of choice], and use something like nginx proxy manager (https://...


1

The most basic solution in DNS is indeed simply setting multiple records of the same type with different values and having your name server return all of them to clients when they request that resource record. The effect of that is usually called round robin DNS and although it comes with several drawbacks, it is well supported by DNS servers and clients ...


2

No, DNS is not the only way to switch between load balancers. Consider this multi-tier load balancer design. Scalable and resilient. Layer 7 tier has many instances that provide application aware proxy to backends. Terminates TCP connection, and possibly TLS. HAProxy, for example. Layer 4 tier in front of that, which routes packets consistently. keepalived ...


2

My understanding is that DNS was designed for name resolution, not load balancing. For both, because (almost) all records can be sets, hence for a given question a client can get multiple answers and then is free to choose whatever item it prefers. Which is why a frequent pattern is round-robin among replies, so that the client picks the "first" ...


3

I guess you are referring to this shopify DNS setup. Point the A record to the Shopify IP address 23.227.38.65. Point the CNAME record with the name www to shops.myshopify.com root domain (@) Well as you are aware, you cannot have a CNAME on the root (@) domain, so root domain needs to be handled with a A and AAAA records pointing at fixed IP addresses. ...


0

If you hover your mouse over underscored number in Sessions->Total and you will see something like this:


3

After testing, cloud-init is the root cause. According to this comment, disable_network_activation: true should be set to avoid conflict with the google-guest-agent service. The solution is adding the setting in cloud-init config. cat > /etc/cloud/cloud.cfg.d/99-disable-network-activation.cfg <<EOF # Disable network activation to prevent \`cloud-...


0

Possible causes of unhealhy or failing heath check: Firewall rules are blocking access for source IP ranges for health checks Instance is not listening on the destination port Guest Environment is not installed Confirm Firewall Rules are allowing the source IP ranges for health checks to connect to instances: Rules for health checks Ensure you can telnet ...


0

With these settings, the health check behaves as follows: Interval : 30 seconds Timeout : 15 seconds Healthy threshold: 1 success Unhealthy threshold : 2 consecutive failures Multiple redundant systems are simultaneously configured with the health check parameters. Interval and timeout settings are applied to each system. Each health check prober does the ...


1

If you are using metalb, I think you don't need to have an external vm with haproxy, you could install an ingress controller in kubernetes and change the service type of the ingress controller to LoadBalancer. Now You will have an external ip in your lan to access your local service through the ingress controller ip. (Internet) -> (Router) -> Nat -> ...


0

I have a machine running Ubuntu 18.04.5, met the same problem after running apt dist-upgrade, also upgrade google-guest-agent 20210629.00-0ubuntu1~18.04.1 (upgradable from: 20210414.00-0ubuntu1~18.04.0). Finding that google-guest-agent is not running after upgrade. When I execute /usr/bin/google_guest_agent manually, the problem is solved. Still don't know ...


1

Well, recently I also did the test... just like @alberto-mendoza: upstream a { least_conn; server main_server:8080 max_fails=2 fail_timeout=5; server backup1:8080 backup max_fails=1 fail_timeout=30; server backup2:8080 backup max_fails=1 fail_timeout=60; } And nginx did the right load balance betwen the backup servers when the main goes down ...


-1

How could we configure in a load balancer like HA Proxy to split read operation from writes and send to node 2 and 3 only read operations? Not at all. There is no way that a load balancer would know what happens in a SQL Server connection and understand logically what can and what can not be considered a read only or a write only or a mixed (which is a ...


Top 50 recent answers are included