title: Running AWS EC2 CentOS 7 continuously after connecting by Session Manager
body: <p>When running Kafka Consumer in an EC2 that is connected by Session Manager, given maximum idle time set at 60min, the session keeps getting terminated. This requires restarting the session and rerunning the process.</p>
  <p>Is it possible to run a process (such as Kafka Consumer) perpetually on an EC2 even when the session is closed?</p>
  <p>For eg., running this consumer command:</p>
  <pre><code>bin/kafka-console-consumer.sh --topic my_kafka_topic --from-beginning --bootstrap-server &quot;my_dns:9092&quot;
  </code></pre>