title: leave AWS EC2 instance properly
body: <p>I am new to AWS EC2 instance. I use ssh to connect to the instance and just want to know how to leave the instance properly. Sometimes I just close the terminal but I couldn't connect to it next time. Then I use </p>
  
  <pre><code>shutdown -h now
  </code></pre>
  
  <p>It works, but this way I need to restart the instance next time. Is any proper way to leave the instance? </p>