Before we write code for EBS volumes, we need to know about device name:
Device name: When we attach an EBS volume to our instance, we assign a device name (such as /dev/xvdf or /dev/xvdj, and so on) for our instance which is used by Amazon EC2. While EC2 requires this parameter, the block driver of the instance assigns the actual name for mounting that volume. The name assigned by the block driver can be different that the one that we specify while attaching the volume.