Limitations of volumes you can attach to one aws ec2 instance?

Linux-Specific Volume Limits – 40 volumes
Windows-Specific Volume Limits –

  • AWS PV – 26
  • Citrix PV – 26
  • Red Hat PV – 17

Instance Type Limits
C5, C5d, M5, M5a, M5d, R5, R5a, R5d, T3, and z1d instances support a maximum of 28 attachments, including network interfaces, EBS volumes, and
NVMe instance store volumes.

Notes – Attaching more than noted volumes to a Linux/Windows instance is supported on a best effort basis only and is not guaranteed.