title: AWS Sagemaker Unable to read S3 data from certain regions
body: <p>I have already uploaded my data to an AWS S3 bucket. I need to access the data in a Sagemaker notebook.</p>
  <p>I made two notebook instances. One is in an &quot;East&quot; region while the other is &quot;West&quot;. When I try to access the data in the &quot;East&quot; region it pulls up okay. But when I try to access the data from the &quot;West&quot; it give me an <code>NoCredentialsError: Unable to locate credentials</code>.</p>
  <p>How could one region work but the other fail on credentials?</p>
  <p>In both cases this is the code I am using to access the data:</p>
  <pre><code>import boto3
  import pandas as pd
  from sagemaker import get_execution_role
  import matplotlib.pyplot as plt
  
  bucket='my-bucket'
  role = get_execution_role()
  
  data_key = 'my_data.csv'
  data_location = 's3://{}/{}'.format(bucket, data_key)
  df = pd.read_csv(data_location)
  </code></pre>