Setting up an AWS EC2 Autoscaler and performing a simple scaling up event.

AWS autoscalers, to me at least, are the service that standout as being one of the most “Elastic-y” in the Elastic offerings from AWS. They can be configured to automatically expand and shrink on demand.  Which by most definitions is pretty elastic. Autoscalers can be configured to fire up more ec2 compute instances when demand […]

Tweaking your PHP via php.ini and Puppet Augeas

If you have ever wanted to make a change to some of the settings to your php setup viar PHP.ini file then using puppet and the augeas type could be the perfect solution. Augeas will read in a configuration file and allow you to specify changes and save them for you. Augeas is not actually […]

Delete Pyrax Cloud Block Storage Volumes Snapshots Older than N days

This very simple example shows you how to delete snapshots taken of rackspace cloud volumes older than N days. In this example N days will be 7 days. This example makes the following assumptions: -you have a Pyrax installed -you have your Rackspace API credentials key. -you know your Rackspace volume uid – which looks […]

Snapshot Rackspace CBS volume with Python Pyrax

This very simple example shows you how to take a snapshot of a Rackpace cloud volume. This document makes the following assumptions: -you have a Pyrax installed -you have your Rackspace API credentials key. -you know your Rackspace volume uid – which looks like this: 56568786-4659-67575-9ab3-6767968 1. Add the pyrax import 1 import pyraximport pyrax […]