Saving cost on your machine learning training and inference on AWS