Preferred resources for Jenkins CI AWS

Hi All

Ive setup Jenkins on AWS EC2 with a t3.small but finding that on the builds it sometimes runs into high loads. Recently the high load came from docker() testing and doing a npm install and nom run prod command.

Im wondering if this is enough to host Jenkins on? I am new to using Jenkins and ive read about using agents.

Wanted to know what the best environment is to host Jenkins?

Thank you