Just testing a remote instance would be a good first step to ensure nothing is broken and works correctly.
It might make sense to figure out AWS deployment (#35) at this stage before converting to Flask. Test if the server would work with AWS as-is.
Second step could be to add a Flask wrapping if it is deemed necessary for the AWS deployment.
Trim down the server to only support LungAir requirements (perhaps bi-directional communication is not required, not maintaining session info). Here uni-directional means that the server cannot send requests to clients and cannot maintain any info about connected clients.
This may require wrapping it into a flask app.
Notes: