Category: EC2

Backup Mongodb with LVM Snapshots

Today I decided I would write a little blog entry about how to backup mongodb using Linux LVM snapshots. I have seen a lot of questions regarding “what” is the best method to backup mongodb lately on the IRC channel #mongodb.

Ubuntu & EC2 – Device or resource busy

I’m currently in the process of writing automation to deploy replica sets of mongodb to the cloud with a single command. When attaching my EBS volumes I noticed that I was regularly getting an error that stated: mdadm: cannot open /dev/xvdf: Device or resource busy

Zabbix EC2 Monitoring With Mikoomi

First I want to give credit and “props” to to the original author, Jayesh Thakrar, of the Zabbix Mikoomi plugins not just the EC2 plugin but also the mongodb plugin as well. The origional EC2 plugin for Zabbix offers many great features I simply needed to extend it to add support for VPN, VPCs and

Using Fabric To Deploy EC2 Instances

This article goes on to explain how you can use fabric to deploy EC2 instances with a single command on Ubuntu. I’m sure the steps are fairly similar with other Linux distros. We will cover how to setup your user’s ssh-key, as well as SSL certificate for use with the AWS API and finally what