code ready to be tested on Amazon EC2