As we use readwritemany mode with pv to read and write the data from pod running on different node, but in case of aws we are using the ebs volume (i.e one ebs volume will attach to one ec2-instance at a time). So how we can achieve RWM with ebs volume?
From the docs here AWSElasticBlockStore volume plugin does not support ReadWriteMany. Hence you can not use that for ReadWriteMany. Check that table for other feasible options which support ReadWriteMany.
Refer to this question for more details https://stackoverflow.com/questions/51212904/kubernetes-pvc-with-readwritemany-on-aws
If you want ReadWriteMany use Amazon EFS CSI Driver as documented here