AWS EC2:无法获取裸机实例 [英] AWS EC2: cannot get bare metal instance

查看:123
本文介绍了AWS EC2:无法获取裸机实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的两周中,我已经尝试过几次登录c5.metal实例.每次我在状态检查字段中获得正在初始化"时,但是10分钟后,它仍然是正在初始化",并且我无法登录.我以前在c5.metal上取得过成功,但现在再也没有.

I have tried several times in the last two weeks to log on to a c5.metal instance. Each time I get "Initializing" in the status checks field, but after 10 minutes it is still "Initializing" and I'm not able to log on. I have had success with c5.metal before, but not any more.

今天,我还尝试获取一个m5.metal实例.这次实例在10分钟后成功初始化,但是我无法使用Putty登录.我停止了该实例,然后在大约30分钟后再次尝试,这次我没有超过状态检查字段中的正在初始化",并且在15分钟后停止了该实例.

Today I also tried to get an m5.metal instance. This time the instance successfully initialized after 10 minutes but I was not able to log on with Putty. I stopped the instance, then after about 30 minutes I tried again and this time I did not get past "Initializing" in the status check field and I stopped it after 15 minutes.

即使初始化未完成,我也会为10到15分钟的裸机等待时间付费.我对AWS虚拟实例没有任何问题.

I get billed for the 10 to 15 minute bare metal wait periods, even when initialization doesn't complete. I have no problems with AWS virtual instances.

感谢您对我可以做什么来使裸机实例正常工作的任何想法.

Thanks for any ideas on what I can do to get the bare metal instances to work.

推荐答案

为重现您的情况,我执行了以下操作:

To reproduce your situation, I did the following:

  • 在俄亥俄州启动了Amazon EC2实例:
    • 实例类型:c5.metal
    • AMI: Ubuntu Server 18.04 LTS(HVM),SSD卷类型
    • 网络:在我的默认VPC 中,以便使用公共子网
    • 安全组:默认设置,该端口授予Internet上的端口22访问权限
    • Launched an Amazon EC2 instance in Ohio:
      • Instance Type: c5.metal
      • AMI: Ubuntu Server 18.04 LTS (HVM), SSD Volume Type
      • Network: In my Default VPC so that it uses a Public Subnet
      • Security Group: Default settings, which grants port 22 access from the Internet

      状态检查显示2/2 checks大约需要8分钟的时间(可能更快一些,但与此同时我正在测试其他内容).

      It took about 8 minutes until the status checks were showing 2/2 checks (it might have been faster, but I was testing other things in the meantime).

      我能够成功登录到实例:

      I was able to successfully login to the instance:

      Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-1065-aws x86_64)
      
       * Documentation:  https://help.ubuntu.com
       * Management:     https://landscape.canonical.com
       * Support:        https://ubuntu.com/advantage
      
        System information as of Sat Jun  6 23:21:18 UTC 2020
      
        System load:  0.02              Processes:               924
        Usage of /:   13.7% of 7.69GB   Users logged in:         0
        Memory usage: 0%                IP address for enp125s0: 172.31.9.77
        Swap usage:   0%
      
      0 packages can be updated.
      0 updates are security updates.
      
      
      
      The programs included with the Ubuntu system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
      applicable law.
      
      To run a command as administrator (user "root"), use "sudo <command>".
      See "man sudo_root" for details.
      
      ubuntu@ip-172-31-9-77:~$ 
      

      (实际上,我首先尝试以ec2-user身份登录,花了一段时间才意识到这是Ubuntu AMI,所以我以ubuntu身份连接).

      (Actually, I first tried to login as ec2-user and it took me a while to realize this was an Ubuntu AMI, so I connected as ubuntu).

      启动缓慢可能是由于操作系统或硬件检查了分配给实例的192GB RAM.

      It is possible that the slow startup is due to the Operating System or hardware checking the 192GB of RAM that is allocated to the instance.

      我使用 Amazon Linux 2 AMI启动了另一个实例,大约需要7分钟才能连接.

      I booted another instance using an Amazon Linux 2 AMI and it required approximately 7 minutes before I could connect.

      我还注意到c5.metal实例没有为获取系统日志"或获取实例屏幕截图"提供任何内容.这可能是使用裸机实例的结果.

      I also noticed that the c5.metal instances did not provide anything for "Get System Log" or "Get Instance Screenshot". This might be a result of using a bare-metal instance.

      这篇关于AWS EC2:无法获取裸机实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆