Useful bits and pieces for working with Amazon services