gpt4 book ai didi

linux - 错误: Unable to find keypair GraphLab in ec2

转载 作者:太空宇宙 更新时间:2023-11-04 05:30:34 25 4
gpt4 key购买 nike

我正在尝试在 Amazon ec2 集群中运行 GraphLab。但是我遇到了一些有关设置的问题。我知道这是一个基本问题,但我无法弄清楚这个问题。1)当我运行命令时/gl-ec2 -i ~/.ssh/graphlab.pem -k graphlabkey -s 1 启动 launchtest用于 ubuntu 中的 graphlab它给了我错误

Launching instances...
ERROR:boto:400 Bad Request
ERROR:boto:<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidKeyPair.NotFound</Code><Message>The key pair 'Prashant-Raghav' does not exist</Message></Error></Errors><RequestID>366d452a-921d-4feb-a9d1-50bf8ccc2f55</RequestID></Response>
Traceback (most recent call last):
File "./gl_ec2.py", line 750, in <module>
main()
File "./gl_ec2.py", line 532, in main
conn, opts, cluster_name)
File "./gl_ec2.py", line 282, in launch_cluster
block_device_map = block_map)
File "/home/hduser/graphlab/scripts/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/ec2/image.py", line 255, in run
File "/home/hduser/graphlab/scripts/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/ec2/connection.py", line 678, in run_instances
File "/home/hduser/graphlab/scripts/ec2/third_party/boto-2.4.1.zip/boto-2.4.1/boto/connection.py", line 925, in get_object
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidKeyPair.NotFound</Code><Message>The key pair 'Prashant-Raghav' does not exist</Message></Error></Errors><RequestID>366d452a-921d-4feb-a9d1-50bf8ccc2f55</RequestID></Response>

1) 我无法在 ssh 中找到生成的 .pem 文件。2)我已经创建了一个 ppk 文件,我可以用它来运行 GraphLab3).ppk 和 .pem 有什么区别4)当我创建 key 对时, key 对存储在Ec2中的哪里,它存储在Windows中,但有什么方法可以进入Linux以便我可以指定路径..请帮助

谢谢

最佳答案

我对此有一些改进..我尝试了在线生成 key 对的方法。在我的机器中下载它,然后将其上传到亚马逊s3。您可以通过执行wget进入您的ubuntu。但现在的问题是它无法找到 key 对。谢谢

关于linux - 错误: Unable to find keypair GraphLab in ec2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20364890/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com