title: Can't access EC2 instance through public IP
body: <p>I am using <code>free tier</code> version of <code>Ubuntu</code> on <code>EC2</code>. My <code>Security group</code> looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/ii5BS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ii5BS.png" alt="enter image description here"></a></p>
  
  <p>After installing the apache server on <code>instance</code>. I can access it through <code>public IP address</code> and <code>public DNS</code>. But the <code>SSH</code> is only accessible   through <code>public DNS</code>. Why so? I am getting <code>Operation timed out</code> while running <code>sudo ssh -i developer.pem ubuntu@52.31.45.00</code></p>