title: SageMaker Script Mode Serving
body: <p>I've trained a tensorflow.keras model using SageMaker Script Mode like this:</p>
  
  <pre><code>import os
  
  import sagemaker
  from sagemaker.tensorflow import TensorFlow
  
  estimator = TensorFlow(entry_point='train.py',
                         source_dir='src',
                         train_instance_type=train_instance_type,
                         train_instance_count=1,
                         hyperparameters=hyperparameters,
                         role=sagemaker.get_execution_role(),
                         framework_version='1.12.0',
                         py_version='py3', 
                         script_mode=True)
  </code></pre>
  
  <p>However, how do I specify what the serving code is when I call <code>estimator.deploy()</code>? And what is it by default? Also is there any way to modify the nginx.conf using Script Mode?</p>