title: Why can't I connect to AWS using awscli?
body: <p>How should I debug this?</p>
  
  <p>Trying:</p>
  
  <pre><code>aws --debug ec2 describe-instances
  </code></pre>
  
  <p>Gives:</p>
  
  <blockquote>
    <p>2014-11-07 10:27:49,394 - MainThread - botocore.endpoint - DEBUG -
    Sending http request:  2014-11-07 10:27:49,395
    - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO -
    Starting new HTTPS connection (1): ec2.us-east-1c.amazonaws.com</p>
  </blockquote>
  
  <p>And then:</p>
  
  <blockquote>
    <p>Timeout: (, 'Connection to ec2.us-east-1c.amazonaws.com timed out. (connect timeout=60)')</p>
  </blockquote>
  
  <p>Trying:</p>
  
  <blockquote>
    <p>nc -vz ec2.us-east-1c.amazonaws.com 443</p>
  </blockquote>
  
  <p>Gives:</p>
  
  <blockquote>
    <p>DNS fwd/rev mismatch: ec2.us-east-1c.amazonaws.com !=</p>
  </blockquote>
  
  <p>And then:</p>
  
  <blockquote>
    <p>unallocated.barefruit.co.uk ec2.us-east-1c.amazonaws.com
    [92.242.140.21] 443 (https) : Connection timed out</p>
  </blockquote>