You can attach an SSD persistent disk in multi-writer mode to up to two N2 VMs simultaneously so that both VMs can read and write to the disk.[1]
TLDR: 2
[1] https://cloud.google.com/compute/docs/disks#:~:text=You%20can%20attach%20an%20SSD%20persistent%20disk%20in%20multi%2Dwriter%20mode%20to%20up%20to%20two%20N2%20VMs%20simultaneously%20so%20that%20both%20VMs%20can%20read%20and%20write%20to%20the%20disk.
Hi bbuddha,
For filestore, the constraint is only 1 VM writing for the same file, and 128 VMs for different files.[1]
[1]https://cloud.google.com/filestore/docs/limits#file_locks