title: Why does AWS SageMaker create an S3 Bucket
body: <p>Upon deploying a custom pytorch model with the boto3 client in python. I noticed that a new S3 bucket had been created with no visible objects. Is there a reason for this?</p>
  <p>The bucket that contained my model was named with the keyword &quot;sagemaker&quot; included, so I don't any issue there.</p>
  <p>Here is the code that I used for deployment:</p>
  <pre><code>remote_model = PyTorchModel(
                       name = model_name, 
                       model_data=model_url,
                       role=role,
                       sagemaker_session = sess,
                       entry_point=&quot;inference.py&quot;,
                       # image=image, 
                       framework_version=&quot;1.5.0&quot;,
                       py_version='py3'
                      )
  
  remote_predictor = remote_model.deploy(
                           instance_type='ml.g4dn.xlarge', 
                           initial_instance_count=1,
                           #update_endpoint = True, # comment or False if endpoint doesns't exist
                           endpoint_name=endpoint_name, # define a unique endpoint name; if ommited, Sagemaker will generate it based on used container
                           wait=True
                           )
  </code></pre>