prefect

How to deploy locally multiple flows using Prefect 2.0?

How to deploy locally multiple flows using Prefect 2.0? Question: I’m reading Prefect documentation and trying to understand how local deployment works. I can deploy a flow locally following the below steps. First, I build the flow: prefect deployment build ./log_flow.py:log_flow -n log-simple -q test Where ./log_flow.py:log_flow are, respectively, the flow’s location and entrypoint. log-simple …

Total answers: 2

How access to localhost:4200 running on ec2 instance

How access to localhost:4200 running on ec2 instance Question: On my EC2 I have loaded a python script running a prefect flow and I want to access to the UI from a web browser. This UI is running on localhost:4200. [ec2-user@ip-xxxx-xx-xx-xx ~]$ prefect orion start ___ ___ ___ ___ ___ ___ _____ ___ ___ ___ …

Total answers: 2

How to use Blocks correctly to load AWS S3 credentials in Prefect?

How to use Blocks correctly to load AWS S3 credentials in Prefect? Question: I am using Prefect. And I tried to download a file from S3. When I hard coded the AWS credentials, the file can be downloaded successfully: import asyncio from prefect_aws.s3 import s3_download from prefect_aws.credentials import AwsCredentials from prefect import flow, get_run_logger @flow …

Total answers: 1