We build our Moodle solution taking usability and security in mind. It also supports almost all the available instance types in AWS so you can deploy large servers in this cloud using our solution.
If it's supported by Moodle, you can do whatever you want.
As I mentioned, there are several instance types you can select when deploying the instance. Larger instances will provide better performance. You will need to monitor the usage of the resources of your deployment to know if you need to increase/decrease the resources of the machine