Search for Well Architected Advice
< All Topics
Print

Use load balancing to distribute traffic across multiple resources

Leveraging load balancing is crucial for optimizing network performance in cloud workloads. It ensures even distribution of traffic, which enhances resource utilization and responsiveness while accommodating varying demand levels.

Best Practices

  • Choose the Right Load Balancer: Selecting the appropriate type of load balancer (Application, Network, or Classic) is vital. Application Load Balancers are ideal for HTTP/HTTPS traffic, while Network Load Balancers excel in handling TCP traffic and connections requiring high throughput.
  • Implement Health Checks: Configure health checks for your load balancer to ensure traffic is only directed to healthy instances, improving overall reliability and performance. This reduces downtime and maintains a seamless user experience.

Supporting Questions

  • Is your load balancing solution effectively distributing traffic based on current load?
  • Are you monitoring the performance metrics to optimize load balancing?

Roles and Responsibilities

  • Cloud Architect: Responsible for designing the network architecture, selecting appropriate load balancing strategies, and ensuring alignment with performance and availability goals.
  • DevOps Engineer: Manages the deployment pipeline and monitors infrastructure, ensuring load balancer configurations align with operational needs and performance efficiency.

Artifacts

  • Load Balancer Configuration Document: A detailed document outlining the selection criteria, configurations, and policies for the load balancing solution within your cloud architecture.

Cloud Services

AWS

  • Elastic Load Balancing (ELB): AWS Elastic Load Balancing automatically distributes incoming application traffic across multiple targets to ensure high availability, fault tolerance, and scalability.
  • Amazon CloudFront: Amazon CloudFront can act as a global load balancer by routing requests to the nearest edge location, further reducing latency and improving performance.

Question: How do you select and configure networking resources in your workload?
Pillar: Performance Efficiency (Code: PERF)

Table of Contents