Deployment in the cloud
The models have to be deployed in the cloud for several applications. We will look at major cloud service providers for this purpose.
AWS
The Amazon Web Services (AWS) extends support to the development and deployment of TensorFlow-based models. Sign up for AWS at https://aws.amazon.com/ and select one of the Amazon Machine Images (AMI). AMIs are images of machines with all the required software installed. You need not worry about installing the packages. AWS provides Deep Learning AMI (DLAMI) for ease of training and deploying deep learning models. There are several options to choose from. Here, we will use Conda as it comes with several packages required for running TensorFlow. There are two options for Python: version 2 and 3. The following code will activate TensorFlow with Keras 2 on Python 3 on CUDA 8:
source activate tensorflow_p36
The following code will activate TensorFlow with Keras 2 on Python 2 on CUDA 8:
source activate tensorflow_p27
Note
You can visit https...