title: AWS Command Line: What "Outbound connections on 443 must be enabled" means?
body: <p>Network Newbie here.</p>
  
  <p><strong>Background</strong></p>
  
  <p>I am trying to use the AWS Command Line utility to connect to my instances on the AWS cloud. </p>
  
  <p><strong>Problem</strong></p>
  
  <p>When I try a simple command (from either local machine or EC2) such as...</p>
  
  <pre><code>aws ec2 describe-instances
  </code></pre>
  
  <p>I get...</p>
  
  <pre><code>Could not connect to the endpoint URL: "https://ec2.sa-east-1a.amazonaws.com/"
  </code></pre>
  
  <p>Which is fine and dandy because according to the <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html">AWS Command Line User Manual</a> I should take note of:</p>
  
  <blockquote>
    <p>The AWS CLI makes API calls to services over HTTPS. Outbound connections 
    on TCP port 443 must be enabled in order to perform calls.</p>
  </blockquote>
  
  <p>But what that is suppose to mean in the first place? I find the above statement as clear as a glass of muddy water.</p>
  
  <p>1) Should I go to the 'Security Group' of my instance and set inbound rules to 'HTTPS TCP 443 0.0.0.0/0'? (Doesn't work)</p>
  
  <p>2) Or set outbound rules and set 'HTTPS TCP 443 0.0.0.0/0' ? (Doesn't work)</p>
  
  <p>3) Does the above statement has anything to do with the 'Security Groups'? </p>
  
  <p>4) If it doesn't has to then, what should I do in my machine in order to 'enable the port 443. That being said...</p>
  
  <p>5) Should I RUN the AWS Command Line utility from my local machine or from my EC2 remote server?</p>
  
  <p>I'd appreciate some guidance so I can start solving my problem. </p>
  
  <p>Thanks in advance!</p>