Whenever an additional storage is mounted on the ec2 instance, we need to add the details of the device and the mount location in /etc/fstab which will make sure that the volumes are mounted when the instance restarts. Hence added the above piece of code because of as today if we use the gen 5 template to spin up ADOP and then stop and start the instance the volumes gets detached.
Whenever an additional storage is mounted on the ec2 instance, we need to add the details of the device and the mount location in /etc/fstab which will make sure that the volumes are mounted when the instance restarts. Hence added the above piece of code because of as today if we use the gen 5 template to spin up ADOP and then stop and start the instance the volumes gets detached.