Python Boto code from the AWS Training