R-script for awsConnect tutorial - part 1