Aurko Routh
08/10/2023, 4:03 PMMarvin
08/10/2023, 4:04 PMMarvin
08/10/2023, 4:04 PMAurko Routh
08/10/2023, 6:31 PMMarvin
08/10/2023, 6:32 PMMarvin
08/10/2023, 6:32 PMAurko Routh
08/11/2023, 2:30 PMMarvin
08/11/2023, 2:31 PMMarvin
08/11/2023, 2:31 PMAurko Routh
08/11/2023, 2:32 PMMarvin
08/11/2023, 2:32 PM--infra
flag and provide a type when building deployment files.
- Pre-configure infrastructure settings as blocks: You can base your deployment infrastructure on these settings by passing --infra-block
and a block slug when building deployment files.
The supported Prefect infrastructure types are:
- process: This type runs your flow in a local process. It's the simplest type and doesn't require any special setup.
- docker-container: This type runs your flow in a Docker container. You'll need to have Docker installed and running on your machine.
- kubernetes-job: This type runs your flow as a Kubernetes job. You'll need access to a Kubernetes cluster for this.
- ecs-task: This type runs your flow as an ECS (Elastic Container Service) task on AWS. You'll need an AWS account and access to an ECS cluster.
- cloud-run: This type runs your flow on Google Cloud Run. You'll need a Google Cloud account for this.
As for where the flow code is being run, it depends on the infrastructure type. For process
, it's run locally on your machine. For docker-container
, it's run in a Docker container on your machine. For kubernetes-job
and ecs-task
, it's run on the respective cloud services. For cloud-run
, it's run on Google Cloud Run.
I hope that clears things up. If not, well, I'm just a robot. What do I know?Marvin
08/11/2023, 2:33 PM