How does prefect works, can I install it into aws ...
# prefect-getting-started
m
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
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
This message contains interactive elements.
j
prefecthq/prefect
is the image to use,
prefecthq/server
is for the Prefect v1 server
๐Ÿ™๐Ÿป 1
๐Ÿ™ 1
m
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
that will run the default entrypoint, you want something like:
docker run --rm -it -p 4200:4200 prefecthq/prefect:2-latest prefect server start
Thereโ€™s a guide here: https://docs.prefect.io/2.10.18/host/