Task at hand :
Host a web-server application, which upon request, executes python scripts which are reachable by the server
Background:
I have a collection of independent python scripts/projects, which when executed, generate a zip file of content. As the source code in these scripts are confidential, I need to host these scripts on a web-server. The idea would be that a separate desktop application is written which communicates with the web-server. A GET request for 1 would execute python project A, and a GET request for 2 would execute python project B. In each instance, the server would grab the output and send the ZIP file back to the originator of the request.
Question:
What hosting set-up would be considered fitting for this problem space? Do any of the amazon services check the boxes that would give me constant up-time with persistent storage? if not, is this what a Virtual Private Server is designed for?
Considerations:
- Needs to support Python 3.8
- Each GET request would return a ZIP file of between 200KB and 1MB
- Approximately between 0-200 GET requests per day
- Between 1-200 Python Projects available to be executed. Each around ~5MB.
- Adding more python projects should be achievable with degree of ease
- While not a critical service, GET requests need to be allowable 24/7 - anywhere in the world. i.e. no long spin-up time.
- Self-hosting is not an option
- Storage of the python scripts should be safe from loss (but of-course other back-ups would be done)