I'm using a t2.micro instance on aws which is enough for daily use of running a website and a mongodb.
But sometimes I want to use a remote interpreter to train a neural network, and for that I would use a fast machine for around 1h.
Is there a quick way to change the instance type over a script? All it needs to do is the shut the server down, change the instance type and restart it. And then in the end revert to the small instance size again.
What would be the best way to handle this over a script. Ideally over python.