How to restream mms to wowza (Centos 6 and Linux AMI) Add these repos /etc/yum.repos.d/centos.repo [centos] name=CentOS-6 – Base baseurl=http://mirror.centos.org/centos/6/os/x86_64/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 enabled=1 priority=1 protect=1 includepkgs=SDL libtheora gsm libdc1394 libdrm liboil mesa-dri-drivers mesa-dri1-drivers mesa-dri-filesystem libraw1394 libpciaccess cppunit libLLVM /etc/yum.repos.d/dag.repo [dag] […]
check aws elb hosts
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 Here is the code: #!/bin/bash #This script uses AWS command line tools to get […]
AWS Summit and Roadshow
I attended to two AWS events this month. Here I let you have both PDF’s of the event. AWS Summit – Sao Paulo 2013 AWS_RoadShow_RiodeJaneiro Many videos in youtube
varnish dynamic backend
Varnish pointing to a Amazon ELB (elastic load balance) does not work. Error: Backend host “XXXXXXXXXXX-123456789.us-east-1.elb.amazonaws.com”: resolves to multiple IPv4 addresses. Only one address is allowed. I wrote this script to have a way to auto update the vcl once […]
check_aws.sh
I wrote this script to monitor my Amazon EC2 servers and LoadBalancers, this script is able to get any metrics avaiable at the cloud-watch. For it to work you will need the amazon api commands working, here is how to […]
How to setup aws cmd line tools
To be able to execute the many API command line tools you will need to setup and configure the authentication correctly. This will help you to do just that. 1. Download the Autoscalling CLI, CloudWatch and ec2-API-Tools cd /opt wget […]
auto scale script
This can help if you are creating any kind of auto scale on Amazon AWS. It is not a 100% automatic, as you will need to prior to running this have: Pre-requisites on how to run the AWS command lines […]