title: Can I get region value for a given instance using boto 3 by passing on just private IP of ec2-instance
body: <p>Trying to get AWS Region for particular instance. Is that possible that by passing on only ec2 instance ip to get to know its region ?</p>
  <p>What I tried:</p>
  <pre><code>import boto3
  client = boto3.client('s3') # example client, could be any
  client.meta.region_name
  </code></pre>
  <p>but it showing same region for all servers..</p>