title: AWS SageMaker Notebook instance cannot connect to internet
body: <p>Trying to understand why my SageMaker notebook instance cannot connect to the internet.</p>
  
  <pre><code># jupyter notebook running conda_python3 kernel
  
  from sagemaker import get_execution_role
  role = get_execution_role()
  print(role)
  
  'Could not connect to the endpoint URL: "https://api.sagemaker.us-east-1.amazonaws.com/"'
  </code></pre>
  
  <p><br></p>
  
  <pre><code># terminal
  
  wget tools.geekflare.com
  
  'unable to resolve host address "tools.geekflare.com"'
  </code></pre>
  
  <p>Any tips on how to debug the issue?</p>