Sample Code for Tasks using Amazon AWS