简体   繁体   中英

Trying to launch a Ubuntu 18.04 on a instance-store in AWS EC2

I'm trying to launch a Ubuntu 18.04 with a instance-stored device type on AWS. I search for Ubuntu 18.04 and find this one ( ami-02e8efe84b4da2817 ):

在此输入图像描述

Okay, then I select the simplest instance type available, m5d.large :

在此输入图像描述

... but when I launch the instance, I get the following error:

Launch Failed
AMI 'ami-02e8efe84b4da2817' with an instance-store root device is not supported for the instance type 'm5d.large'.

Why do I get this error if I followed all the launching steps? What do I have to do to run a Ubuntu 18.04 on a instance-stored ? Thanks in advance.

I raised the question to the Amazon Support team and they stated me that, currently, M5D instance type do not support instance store volume to be a root volume. Though M5D instance comes with an NVME instance store , the root volume of the instance must be an Amazon EBS volume.

So I asked why I was able to select it on the panel and they told me it's a bug and they reported it internally.

The solutions are:

  • Use X1 or D2 instance types, which are much powerful and more expensive.
  • Use a EBS (root volume) and instance-store (data volume).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM