在 EBS 或实例存储上安装软件?

Installed SW on EBS or Instance Store?

我启动了一个 ec2 RHEL 实例并附加了 EBS 卷。

当我从 /tmp/opt 或任何其他目录访问数据时,我如何知道是否从 Instance Store 访问了 数据] 或 EBS?

t2.medium 实例类型(在评论中提及)不包括实例存储卷。您可以查看具有实例存储卷 here. In addition when launching instances with instance store volumes these aren't your root volume and are just available storage you can mount as an additional disk on the instance. For example if you launch a M5d.large 实例的所有实例类型,默认情况下您的实例存储 NVMe 驱动器在 linux 中的 /dev/nvme1n1 可用,但在启动时不使用。启动后,您可以根据需要格式化和使用实例存储卷。