I want to send a command from my Anvil website via uplink to an AWS EC2 instance to run some python code and return the output to the Anvil website
Does anyone know of a tutorial / example on the forum on how to do this or something similar? specifically:
How to setup uplink to initiate an AWS EC2 instance that will run every time the command is sent from my anvil website
@p.colbert There are a few topics that refer to connecting to an EC2 instance via uplink but there are no step-by-step examples/specific explanations:
It is clearly possible but I haven’t found any guides that “dumb it down”
I have been able to connect my Anvil app via uplink to my python local files but it requires I first run the script on my local machine (using wait forever). I don’t know how to do this on my EC2 instance, I don’t know how to keep a script running on an EC2 instance