Google Cloud also has GPU instances. At the time of writing this book, the price of an instance with an NVIDIA Tesla K80 GPU card (which is also the GPU card in an AWS p2.xlarge instance) is $0.45 per hour on-demand. This is significantly cheaper than the AWS on-demand price. Further details of Google Cloud's GPU instances are at https://cloud.google.com/gpu/. However, for Google Cloud, we are not going to use instances. Instead, we are going to use the Google Cloud Machine Learning Engine API to submit machine learning jobs to the cloud. One big advantage of this approach over provisioning virtual machines is that you only pay for the hardware resources that you use and do not have to worry about setting up and terminating instances. More details and pricing can be found at https://cloud.google.com/ml-engine/pricing.
Go through the following...