-1

I have launched an ec2 RHEL instance and have attached EBS volume to it.

How do I know when I access data from /tmp or /opt or any other directory, whether the data is accessed from Instance Store or EBS?

Divs
  • 1,578
  • 2
  • 24
  • 51
  • 2
    What type of EC2 instance did you launch, and what do you see when you type `df -kh` at the command line? – kdgregory Jun 16 '18 at 12:42
  • Does the instance type make a difference? I am using t2.medium. I do not see any of the block devices listed on the console to appear as o/p of the command.. – Divs Jun 16 '18 at 18:27

1 Answers1

1

The t2.medium instance type (mentioned in comments) does not include instance store volumes. You can review all instance types with instance store volumes 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 instance, by default your instance store NVMe drive is available at /dev/nvme1n1 in linux, but is not used at launch time. You can format and use the instance store volume as you please, after launch.

Brandon Miller
  • 4,695
  • 1
  • 20
  • 27