Logstash installation on AWS EC2 instance

Would like to know which type of AWS EC2 instance is suitable for installing the logstash.

The c5/m5 ranges are generally good as Logstash typically require more CPU than RAM.