graphlab.deploy.environment.EC2 method is failing

User 1812 | 5/13/2015, 7:01:11 PM

I upgraded to the lastest 1.4 version and deploy method is failing....

env = gl.deploy.environment.EC2(name='divergence-ec2-env8', s3logfolderpath=pslogpath, region='us-east-1', instancetype='m3.xlarge', awsaccesskey=accesskey, awssecretkey=secretkey, num_hosts=1)

TypeError Traceback (most recent call last) <ipython-input-7-089f647ef9a2> in <module>() 18 awsaccesskey=accesskey, 19 awssecretkey=secretkey, ---> 20 numhosts=1) 21 env.save()

TypeError: init() got an unexpected keyword argument 's3logfolderpath'

Comments

User 91 | 5/13/2015, 7:12:02 PM

I believe the name of the argument has changed in 1.4. It should be 's3folderpath'

` name : str The name for the environment.

s3folderpath : str Path to an S3 folder which can written to using your AWS credentials. Format should be: 's3://bucket_name/path/'. This path will be used to store log files and results.

awsaccesskey : str, optional The AWS Access Key to use to launch the host(s). This parameter must be set or the AWSACCESSKEY_ID environment variable must be set.

awssecretkey : str, optional The AWS Secret Key to use to launch the host(s). This parameter must be set or the AWSSECRETACCESS_KEY environment variable must be set.

num_hosts : int, optional The number of EC2 host(s) to use for this environment. Default value is 1.

region : str, optional The AWS region in which to launch your instance. Default is 'us-west-2'.

instancetype : str, optional The EC2 instance type to launch, default is m3.xlarge. We support all instance types except: 't2.micro', 't2.small', 't2.medium' and 'm3.medium'. For a list of instancetypes, please refer to here <http://aws.amazon.com/ec2/instance-types/#Instance_Types>_. `


User 1812 | 5/13/2015, 7:34:51 PM

That is it - the argument name changed. Thanks.