mercredi 27 mai 2015

How to keep EC2 Script Running Forever

For simplicity's sake, I want my EC2 app to return the total number of requests that it has received. I am using Flask which is a python framework for accepting web requests. Upon each time I call my API, my script returns that the count is zero. In other words, my script stops running until the next request and I want my script to run forever. Is there a configuration file that I can look at for EC2 that controls this?




Aucun commentaire:

Enregistrer un commentaire