Block Countries Behind ELB

October 14, 2013

To block countries behind an ELB (Elastic Load Balancer) you should use Maxmind’s GeoIP Country Database. […]

logstash ec2 instanceid

October 2, 2013

How to get Logstash to read your ec2 instance id logstash.sh !/bin/bash EC2_INSTANCE_ID=$(curl -s http://169.254.169.254/latest/meta-data/instance-id) export […]

Ubuntu Set Timezone to UTC

October 2, 2013

Objective: Set Timezone to UTC on Ubuntu 12.04 LTS Howto You will be using tzdata and […]

nohup example

September 19, 2013

here’s a nohup example: nohup nice -n -19 /bin/bash cidr_to_ipset.sh all_countries.txt 2>&1 >/root/cidr_to_ipset_output.log </dev/null & nohup […]