title: web.py deployment for iOS app backend
body: <p>I am currently developing an iOS application that needs a backend to pull data from. I have implemented the backend using Python, web.py and pymongo.</p>
  
  <p>I deployed everything on an EC2 instance, assigned an elastic IP to the instance that the iOS devices call to access the backend, and launch the application through SSH by doing:</p>
  
  <pre><code>nohup python main.py &amp;
  </code></pre>
  
  <p>Everything works fine (couple dozen users a day, with potential to grow; data transferred is rarely more than a few kilobytes), but I'm wondering if this is the proper way to do things. </p>
  
  <p>For instance on the web.py website, they explain ways to use web.py with Apache, lightppd etc.; are these just special cases, or should I be deploying my backend using one of those full featured servers?</p>