Simple AWS webapp

I have a python script that reads some text files, performs a few operations on the data, and outputs a PDF file with some data formatted.  I’d like to put this on AWS so it is accessable to me anywhere.

So I think my question is… how can I have a static webpage accept this file, send it to a python script running in AWS, and send back the output as a file that the user can download?  I understand the individual parts but I can’t seem to make them work together in AWS, and the examples I’ve found seem to address more complicated requirements.

This is probably very simple to most of you, so I thank you for your help addressing this.