Elastic-beanstalk is a project mainly written in Java, it's free.
Source code and examples for the Elastic Beanstalk book (O'Reilly)