Prefect's
hybrid execution model
keeps your code and data private while still taking full advantage of
our managed workflow orchestration service.
It's so innovative, we patented it.
Execution in your cloud; orchestration in ours.
We designed the hybrid model to meet the strict standards of major
financial institutions and companies that work with regulated data.
Prefect Cloud never receives your code or data. It orchestrates
Prefect Core, running on your private infrastructure, by exchanging
state information and metadata.
STEP 01
|
CORE
Build Your Flow
Design and test your workflow with our open-source Prefect Core
framework.
STEP 02
|
CLOUD
Register Your Flow
Send metadata (but never code!) to Prefect Cloud in order to
register your flow for execution.
STEP 03
|
CORE
Run an Agent
Run an open-source Prefect Agent on your infrastructure. The Agent
monitors Cloud for scheduled work.
STEP 04
|
CLOUD
Schedule Work
Use Prefect Cloud to schedule a new run of your flow.
STEP 05
|
CORE
Run the Flow
The Agent runs the flow on your infrastructure and sends state
updates back to Cloud.
STEP 06
|
CLOUD
Monitor and Manage
Use the Cloud UI to monitor all of your flow runs, no matter where
or how often they run.
1 2 3 4 5 6 7 8 9 10 11 12
from prefect import task, Flow
@task
defsay_hello():print("Hello, world!")with Flow("My First Flow")as flow:
say_hello()
flow.run()# "Hello, world!"