Fina Silva-Santisteban02/18/2021, 1:27 AM
in a terminal, and then use the prefect dashboard to trigger that run. I’d like to build a standalone app, so have a custom GUI that lets a user input flow parameters and trigger a flow run. I’m imagining that I’ll have to create a prefect ecs agent using the prefect api instead of running it in a separate terminal but I’m not sure how to go about that. Pls let me know of any deployment recipes that fit my use case! 🙏
prefect ecs agent
Spencer02/18/2021, 1:34 AM
Fina Silva-Santisteban02/18/2021, 1:37 AM
. Let’s say I have a file called
open terminal->run prefect ecs agent start
, what would the set up of an agent look like in that file? I hope this makes it more clear!
Spencer02/18/2021, 1:39 AM
script would call the Prefect API with the desired
parameters and the agent would eventually pick up those parameters from the API.
object itself rather than going through the scheduler/API.
Fina Silva-Santisteban02/18/2021, 1:46 AM
Mariia Kerimova02/18/2021, 3:11 PM
Fina Silva-Santisteban02/18/2021, 4:56 PM
FROM prefecthq/prefect:latest # other commands you want to run
Fina Silva-Santisteban02/19/2021, 4:59 PM
attached to the name as well. Since I’m using prefect 0.14.5 locally it seems like that version would make the most sense for us, but there are 5 different images with that version number. Which one would you suggest and why? 🤔
are built with a specific version of python installed (the version is also in the tag) - use those if you need to pin to a specific python version for your code. Otherwise you could use the
images to get the utils you'll need for your flows (without things like the CLI or Server)
Fina Silva-Santisteban02/19/2021, 5:22 PM