loadbalancer Archive

Amazon ELB and AutoScaling scripts

AutoScaling Amazon itself doesn’t provide Auto Scaling scripts, so you have to write your own ones. It’s up to you to decide when to start an instance and add it to load balancer. We can achieve this with API calls and for this purpose Amazon even provided a CLI. Link to CLI tools: http://aws.amazon.com/cli/ (Note: For

Amazon ELB and Client side certificates

The problem Amazon’s ELB only allows you to setup loadbalancer with a normal SSL certificate and does not support 2 way SSL authentication. To overcome this issue, there are certain “hacks” you can make use of. At the time of writting this post, Amazon AWS was in the process of implementing this feature, but it

Loadbalancing / failover with IPVS and keepalived

Introduction Correct failover and loadbalancing is crucial for high availablility environment. With proper setup we can eliminate single points of failure in case of server crash. I use linux kernel’s support for load balancing, since that seems as well documented and scalable method. What I want to achieve here, is actually fully redundant architecture, so