Monday, October 31, 2011

Python and AWS Cookbook Available


I recently completed a short book for O'Reilly called "Python and AWS Cookbook".  It's a collection of recipes for solving common problems in Amazon Web Services.  The solutions are all in Python and, of course, use boto heavily.  The focus of this book is EC2 and S3 although there are a couple of quick detours into IAM and SNS.  Many of the examples also work with Eucalyptus so I have included some information about using boto with Eucalyptus as well as with Google Cloud Storage for some of the S3-related recipes.

You can get a hardcopy of the book but if you buy the e-book, you get free updates and I am expecting to do quite a few updates.  Many of the recipes came from problems people have posted on the boto users group or on the boto IRC channel but I'm sure there are lots of other areas where additional example code would be useful.  If you have specific requests, let me know.  Depending on the response, I might also do additional cookbooks that focus on other services.

The bird on the cover is a Sand Grouse.  I lobbied heavily for a Honey Badger but to no avail.

10 comments:

  1. Congrats! Looks like a great book to have.

    ReplyDelete
  2. Congrats on the new book - does it cover any sort of parallel/HPC uses for AWS, or is it mostly oriented toward hosting?

    ReplyDelete
  3. It doesn't yet. It's more focused on standard compute models. But I am planning on updates so feel free to make suggestions for things you would like to see.

    ReplyDelete
  4. Hey is the sample code that is in the book available somewhere? I'm at example 2-1 and wouldn't mind hacking on the example. If I type it in it won't even start with all of your nice commenting although on the upside it will grow my own.

    ReplyDelete
  5. It is supposed to be available. I'll check with O'Reilly to see if they have made it available. If not, I'll put it up on github. Thanks for pointing this out.

    ReplyDelete
  6. It's at the standard place by ISBN, http://examples.oreilly.com/0636920020202/ but not linked from the book page for some reason.

    ReplyDelete
  7. I have also put the examples on github. https://github.com/garnaat/paws

    ReplyDelete