title: EC2 instance shuts down when disconnected from Cloud 9 despite pm2 working
body: <p>I have a website (Nodejs) on EC2 instance (Ubuntu) which is accessible and runs via pm2 process</p>
  <p>Problem is - After closing IDE (cloud 9) the website stops working after some time, As soon as I login back to &quot;Cloud 9&quot; pm2 kick-starts automatically after EC2 Instance restarts.
  pm2 setup seems to be working fine that way. (I did run pm2 startup, pm2 save</p>
  <p>From logs :</p>
  <p>*PM2 log: App [app:0] exited with code [1] via signal [SIGINT]</p>
  <p>PM2 error: Error: kill EPERM*</p>
  <p>As mentioned in -- <a href="https://aws.amazon.com/cloud9/faqs/" rel="nofollow noreferrer">https://aws.amazon.com/cloud9/faqs/</a>
  <em>AWS Cloud9 EC2 environment – Enables you to launch a new Amazon EC2 instance that Cloud9 connects to. By default, these instances stop 30 minutes after you close the IDE and start automatically when you open the IDE.</em></p>
  <p>Does this means in PROD we can only do SSH so Instance does not stop and website remains live?
  Or how do I ensure Instance is not stopping?</p>