One approach is to convert the code to use parallelism. For an example of how to do it in Python using joblib see this article: http://blog.dominodatalab.com/simple-parallelization/
Even if you can't afford a 32-core instance, you might get to use 4 cores in your laptop.