5

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):

enter image description here

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

enter image description here

... 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.

Avión
  • 7,963
  • 11
  • 64
  • 105

1 Answers1

3

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).
Avión
  • 7,963
  • 11
  • 64
  • 105