This is a great guide for starting out, but how do I get TensorFlow on EC2 GPU instances in a more production-ready, reproducible way? Even the results of things like<p><pre><code> sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential git swig default-jdk zip zlib1g-dev
</code></pre>
are dependent on the point in time when the commands are issued. Also, 75 minutes is a long time to spin up an instance.