<@ULVA73B9P> When I use deploy my flow via python ...
# marvin-in-the-wild
a
@Marvin When I use deploy my flow via python for an ecs push work pool, is the flow code housed on the prefect cloud side?
m
Prefect does not store your flow code on the Prefect Cloud side. Instead, Prefect allows you to handle your code independently. Here are some key points to answer your question: 1. Flow Code Storage Options: - Docker-Based Storage: You can include your flow code in a Docker image. The worker will pull the Docker image and run it inside a container when a deployment runs. - Cloud-Provider Storage: You can store your code in an AWS S3 bucket, Azure Blob Storage container, or GCP GCS bucket. - Custom Storage: You can manually push your code to your version control platform or CI/CD pipeline. 2. Push Work Pools: - When creating a push work pool and deploying a flow, you need to configure the deployment to specify various credentials and configurations, ensuring Prefect Cloud can securely interact with your resources. - Prefect does not push your code to your git-based version control platform; you need to handle this manually or through CI/CD. For more specific details, you can refer to the Prefect documentation on push work pools and storage options. If you have issues with deployment behaviors or scheduling when using
.deploy()
, you can check out this GitHub issue for more information. I hope this helps!