亚马逊ec2 – 所有地区的单一关键词

前端之家收集整理的这篇文章主要介绍了亚马逊ec2 – 所有地区的单一关键词前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我可以在所有地区使用相同的密钥对文件吗?我想保持ssh访问尽可能简单.

我已经为每个地区设置了一个文件.我试图在不同的地区上传相同的文件,但它并没有按预期的方式工作.

这是不可能的,当使用由 Amazon EC2生成的keypairs,但同时已通过使用您自己的键盘启用,请参阅介绍性帖子 New Amazon EC2 Feature: Bring Your Own Keypair

You can now import your own RSA keypair (or the public half,to be
precise) for use with your 07000 instances.

Why would you want to do this? Here are a couple of reasons:

  1. Trust – By importing your own keypair you can ensure that you have
    complete control over your keys.
  2. Security -You can be confident that
    your private key has never been transmitted over the wire.
  3. Management of Multiple Regions – You can use the same public key across multiple
    AWS Regions.
    [emphasis mine]

这种方法实际上是非常有益的/方便的 – 我已经使用了很长一段时间了,而且它确实有助于EC2的工作.

Eric Hammond在他的文章Uploading Personal ssh Keys to Amazon EC2中提供了更多的细节和简短的教程:

Amazon recently launched the ability to upload your own ssh public key
to EC2 so that it can be passed to new instances when they are
launched. Prior to this you always had to use an ssh keypair that was
generated by Amazon.

因此,我建议遵循他的文章,了解实现这一点所需的(少数和简单的)步骤.

原文链接:/javaschema/281959.html

猜你在找的设计模式相关文章