Amazon ec2 graphlab create:无法在aws中启动群集
目前,我正在尝试使用Graphlab create在aws ec2中创建集群。代码如下:Amazon ec2 graphlab create:无法在aws中启动群集,amazon-ec2,graphlab,Amazon Ec2,Graphlab,目前,我正在尝试使用Graphlab create在aws ec2中创建集群。代码如下: import graphlab as gl ec2config = gl.deploy.Ec2Config(region='us-west-2', instance_type='m3.large', aws_access_key_id='secret-acces-key-id', aws_secret_access_key='secret-access-key') ec2 = gl.d
import graphlab as gl
ec2config = gl.deploy.Ec2Config(region='us-west-2', instance_type='m3.large',
aws_access_key_id='secret-acces-key-id',
aws_secret_access_key='secret-access-key')
ec2 = gl.deploy.ec2_cluster.create(name='Test Cluster',
s3_path='s3://test-big-data-2016', ec2_config=ec2config, idle_shutdown_timeout=3600, num_hosts=1)
执行上述代码时,我得到以下错误:
回溯(最近一次呼叫最后一次):
文件“test.py”,第59行,在
ec2=gl.deploy.ec2\u cluster.create(name='Test cluster',s3\u path='s3://Test-big-data-2016',ec2\u config=ec2config,idle\u shutdown\u timeout=36000,num\u hosts=1)
文件“/Users/remco/anaconda/envs/gl env/lib/python2.7/site packages/graphlab/deploy/ec2_cluster.py”,第83行,在create中
cluster.start()
文件“/Users/remco/anaconda/envs/gl env/lib/python2.7/site packages/graphlab/deploy/ec2_cluster.py”,第233行,开始
self.idle\u关机\u超时
文件“/Users/remco/anaconda/envs/gl-env/lib/python2.7/site-packages/graphlab/deploy/_-executionenvironment.py”,第372行,在主机中
引发运行时错误('无法启动主机。请终止'
运行时错误:无法启动主机。请从AWS控制台手动终止
当我在EC2管理控制台中查看时,一个新的实例被启动并运行。但是仍然在终端中得到错误
我真的不知道我在这里做错了什么。我按照以下的确切说明进行操作: