Archive

Posts Tagged ‘elb’

How to get varnish client.ip behind ELB

June 19th, 2015 No comments

How to get varnish client.ip behind ELB

I needed to filter access by IP using varnish acl, but when your varnish is behind a Amazon ELB Load Balancer, by default it doesn’t work, so here is the solution! Tested using Linux Amazon Linux AMI release 2015.03

Read more…

check aws elb hosts

September 2nd, 2013 1 comment

This scripts counts how many active instances are inService of a AWS ElasticLoadBalancer (ELB).

The code is based on a simple API call via bash
elb-describe-instance-health

Read more…