How does prefect works, can I install it into aws ecs and manage it my own?
I'm confused because I've seen that you will have to use the prefect cloud api and what you install is the agent to run the flows.
Is this correct or I'm grown?
โ 1
c
Chris Reuter
07/06/2023, 1:57 PM
HI Mauricio - you can run
prefect server start
and manage a Prefect server on your own. This would replace the Cloud API, but you wouldn't have some of the Prefect Cloud unique features/capabilities.
For more details see here, specifically the section titled "A locally hosted open-source Prefect server".
๐๐ป 1
m
Mauricio Duarte Fiallos
07/06/2023, 3:05 PM
This message contains interactive elements.
j
jawnsy
07/06/2023, 3:11 PM
prefecthq/prefect
is the image to use,
prefecthq/server
is for the Prefect v1 server
๐๐ป 1
๐ 1
m
Mauricio Duarte Fiallos
07/06/2023, 3:51 PM
thanks @jawnsy, I downloaded the image and tried to run it from my local but have no idea about the parameters/env vars
What should be the docker run command for this image
i tried this one
docker run -d -p 4200:4200 prefecthq/prefect
j
jawnsy
07/06/2023, 3:55 PM
that will run the default entrypoint, you want something like:
docker run --rm -it -p 4200:4200 prefecthq/prefect:2-latest prefect server start
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.