Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-curran committed Jul 31, 2023
1 parent 7ac24e4 commit 05a21f9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/ecs_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ ECS (Elastic Container Service) tasks are a good option for executing Prefect 2

## ECS Flow Run Execution

To set up Prefect flow execution in your cloud infrastructure, you need to understand two key Prefect concepts a [worker](https://docs.prefect.io/2.11.1/concepts/work-pools/#worker-overview) and [work pool](https://docs.prefect.io/2.11.1/concepts/work-pools/#work-pool-overview). To learn more about these concepts please see our [deployment tutorial](https://docs.prefect.io/2.11.1/tutorial/deployments/).
Prefect enables remote flow execution via [workers](https://docs.prefect.io/2.11.1/concepts/work-pools/#worker-overview) and [work pools](https://docs.prefect.io/2.11.1/concepts/work-pools/#work-pool-overview). To learn more about these concepts please see our [deployment tutorial](https://docs.prefect.io/2.11.1/tutorial/deployments/).

For details on how workers and work pools are implemented in ECS, see the diagram below:
For details on how workers and work pools are implemented for ECS, see the diagram below:
#### Architecture Diagram
```mermaid
graph TB
Expand Down Expand Up @@ -106,7 +106,6 @@ Configuring custom fields is easiest from the UI.
You need to have a VPC specified for your work pool if you are using AWS Fargate.

![Launch](img/LaunchType_UI.png)
<sub>Pictures of UI Cropped

Next, set up a Prefect ECS worker that will discover and pull work from this work pool.

Expand Down Expand Up @@ -167,7 +166,7 @@ To create an [IAM role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_role

Next, create an ECS task definition that specifies the Docker image for the Prefect worker, the resources it requires, and the command it should run. In this example, the command to start the worker is `prefect worker start --pool my-ecs-pool`.

5. **Create a JSON file with the following contents:**
**Create a JSON file with the following contents:**

```json
{
Expand Down

0 comments on commit 05a21f9

Please sign in to comment.