FOMO Daily
Feed
AWS Databasesยท

Distribute Amazon RDS traffic between read replicas using Network Load Balancer

DatabasesAmazon RDSRead ReplicasNetwork Load BalancerAWS Lambda

TL;DR

Balancing Amazon RDS read traffic across replicas can lead to uneven routing, extra proxy maintenance, and complicated on-premises connectivity. This approach uses a Network Load Balancer as a stable endpoint, with a scheduled Lambda function keeping replica IP addresses synchronized and health checks guiding connections. It supports same-zone routing to reduce latency and transfer costs while simplifying hybrid access without PrivateLink or extra DNS infrastructure.

Relevant links

Sign in to save links
Read the original post Sign in to mark as read or skip