title: Find out if the current machine is on aws in python
body: <p>I have a python script that runs on aws machines, as well as on other machines.
  The functionality of the script depends on whether or not it is on AWS.</p>
  
  <p>Is there a way to programmatically discover whether or not it runs on AWS? (maybe using boto?)</p>