Puppet-ec2 is a project mainly written in Shell, it's free.
ec2 support module for puppet
ec2 configuration helpers