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 […]

Deleting EC2 Volumes with the Status of “Available”

Occasionally you might find your self with lots of “available” EC2 volumes that are not attached to any EC2 Instances. If you find yourself wanting to delete them then this little powershell snippet can help. NOTE: I will create a shell / Awk based snippet at some point also for the Linux / Mac users […]