'Factory for EasyEC2 class that attempts to load AWS credentials from
the StarCluster config file. Returns an EasyS3 object if
successful.'

def get_easy_s3(self):

    try:
        s3 = awsutils.EasyS3(**self.aws)
        return s3
    except TypeError:
        raise exception.ConfigError('no    aws    credentials    found')
