I'm not really sure what the pattern is - but it looks like we've got some instances that use /dev/xvdf and others use nvme. EBS volumes get mounted (sometimes?) as NVME. I'd like to identify the pattern here.
Alternatively if we could dynamically figure out what devices are available, I'd be more than OK with mounting them. The tricky part is the instances that use more than 1 device such as the i3.4xlarge.
Let's decide on our strategy here before writing any code, there's a lot of edge cases.
I'm not really sure what the pattern is - but it looks like we've got some instances that use /dev/xvdf and others use nvme. EBS volumes get mounted (sometimes?) as NVME. I'd like to identify the pattern here.
Alternatively if we could dynamically figure out what devices are available, I'd be more than OK with mounting them. The tricky part is the instances that use more than 1 device such as the i3.4xlarge.
Let's decide on our strategy here before writing any code, there's a lot of edge cases.