我严格按照anaconda的介绍设置我自己的集群,似乎有一些问题,希望有人可以帮助我。 https://docs.continuum.io/anaconda-cluster/
我的提供商配置文件
aws_east:
cloud_provider: ec2
keyname: my-private-key
location: us-east-1
private_key: /home/master/Desktop/my-private-key.pem
secret_id: A*********
secret_key: AInbsUf*******
ERROR: The Key Pair 'my-private-key' was not found in AWS region us-east-1.
master@ubuntu:~$ acluster create spark_cluster -p aws_profile_sample
Creating cluster
**********************************************************************
UserWarning:ssh private key /home/master/my-private-key.pem for provider aws_east does not exist
No license files found in:
/home/master/.acluster
/home/master/.continuum
Using unlicensed limits.
Number of existing nodes: 0
Number of requested nodes: 4
Licensed nodes: 4
License is valid for the current number of nodes.
INFO: Creating new cluster "spark_cluster" with profile "aws_profile_sample"
INFO: Creating 4 instances
ERROR: The Key Pair 'my-private-key' was not found in AWS region us-east-1.
Please create a new Key Pair on AWS or change the keyname configured in
~/.acluster/providers.yaml
答案 0 :(得分:2)
使用EC2管理控制台查看美国东部(N.Virginia)地区的密钥对。
您应该会看到密钥对及其名称的列表。寻找一个名为my-private-key
的人。
如果它不在那里,那就是它没有连接的原因。您可以从控制台创建一个新的密钥对 - 只需使用新名称和PEM文件,它就可以工作。