0

I'm new to AWS Lightsail. I'm experimenting with the Nginx image with a static IP and a simple Python Flask hello world application. From an SSH session, I start my Python app. I can navigate to its home page at http://ip:port. I would have thought when I closed the SSH session, the virtual server with my app would continue running. But that appears to not be the case. I think I'm missing something basic.

KineticSquid
  • 316
  • 3
  • 13
  • 1
    This isn't really an AWS or Lightsail issue. It's just a general Linux process issue. You are just starting the app as a process inside your SSH session, while you need to be starting it as a service instead: https://stackoverflow.com/questions/36465899/how-to-run-flask-server-in-the-background – Mark B Sep 24 '21 at 17:52
  • Thanks, yes, that does it. – KineticSquid Sep 25 '21 at 20:15

0 Answers0