code: def mount_volume(volume, device='/dev/xvdf', mountpoint='/mnt/data', fstype='ext4'):
      '''
      Mount an EBS volume
  
      Args:
          volume (str): EBS volume ID
          device (str): default /dev/xvdf
          mountpoint (str): default /mnt/data
          fstype (str): default ext4
      '''
      _ec2().attach_volume(volume, _host_node()['id'], device)
      time.sleep(1)
      sudo('mkdir -p "%s"' % mountpoint)
      sudo('mount -t "%s" "%s" "%s"' % (fstype, device, mountpoint)f mount_volume(volume, device='/dev/xvdf', mountpoint='/mnt/data', fstype='ext4'):
      '''
      Mount an EBS volume
  
      Args:
          volume (str): EBS volume ID
          device (str): default /dev/xvdf
          mountpoint (str): default /mnt/data
          fstype (str): default ext4
      '''
      _ec2().attach_volume(volume, _host_node()['id'], device)
      time.sleep(1)
      sudo('mkdir -p "%s"' % mountpoint)
      sudo('mount -t "%s" "%s" "%s"' % (fstype, device, mountpoint))
docs: Mount an EBS volume
  
      Args:
          volume (str): EBS volume ID
          device (str): default /dev/xvdf
          mountpoint (str): default /mnt/data
          fstype (str): default ext4