Deploy Ethereum RPC Provider Load Balancer with HAProxy in Kubernetes (AWS EKS)

To achieve high availability and better performance, we could build a HAProxy load balancer in front of multiple Ethereum RPC providers, and also automatically adjust traffic weights based on the latency and block timestamp of each RPC endpoints. ref: https://www.haproxy.org/ Configurations In haproxy.cfg, we have a backend named rpc-backend, and two RPC endpoints: quicknode and… Read More

Amazon EKS: Setup Cluster Autoscaler

The Kubernetes's Cluster Autoscaler automatically adjusts the number of nodes in your cluster when pods fail or are rescheduled onto other nodes. Here we're going to deploy the AWS implementation that implements the decisions of Cluster Autoscaler by communicating with AWS products and services such as Amazon EC2. ref: https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html Configure IAM Permissions If your… Read More