Quantcast
Channel: s9s
Viewing all articles
Browse latest Browse all 8

Galera Cluster for MySQL with Amazon Virtual Private Cloud [3]

$
0
0

Previous: Create a VPC with Public and Private subnets, Galera Configurator and deploying Galera Cluster
Next: Test your AWS VPC Galera Cluster

Setup Internal and External Load Balancers

Next we are going to add two AWS load balancers, one internal for our database nodes and one external for our clients load balancing requests across our http servers.

You can opt to install HAProxy (https://github.com/severalnines/haproxy) instead however you would need to handle failover for it.

 

Using Amazon’s elastic load balancers (ELB) we don’t need to worry about that however the ELBs are less configurable than HAProxy and lack other features as well.

 

Install the Galera http health check scripts

 

First on each Galera instances we are going to install a HTTP health check script that uses a Galera node’s state to determine whether the node should be classified as up or down.

Tags: 


Viewing all articles
Browse latest Browse all 8

Trending Articles