在 AWS 中找不到密钥对

The Key Pair was not found in AWS

我严格按照anaconda的介绍搭建自己的集群,貌似有一些问题,希望大神们帮帮我。 https://docs.continuum.io/anaconda-cluster/

  1. 我很确定我的 pem 格式密钥对是正确的。
  2. 非常确定密钥 ID 和密钥安全正确
  3. 下面的错误。

我的提供商配置文件

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

使用 EC2 管理控制台查看美国东部 (N.Virginia) 区域的密钥对

您应该会看到密钥对及其名称的列表。寻找一个名为 my-private-key.

如果它不存在,那就是它没有连接的原因。您可以从控制台创建一个新的密钥对——只需使用新的名称和 PEM 文件,它应该可以工作。