title: Best way to access SQLite database on AWS EC2 server from iOS app?
body: <p>I have a web server set up on an EC2 instance where I have a SQLite database stored. For testing purposes, I currently have a PHP file that I can hit by sending an NSURLRequest to <code>http://&lt;my-instance-ip&gt;/foo.php</code>, where the script will access the SQLite database and return the information in JSON. Would I want to do the same thing in a live application or am I thinking of this completely the wrong way? I'm new to AWS so I'm not too sure about how these services are used. </p>