David
07/17/2023, 3:43 PMNate
07/17/2023, 4:09 PMNate
07/17/2023, 4:09 PMDavid
07/17/2023, 4:27 PMPREFECT_API_URL on local workstations
• Prefect Server orchestration Docker Runs on same server? Or Fargate, or ECS (is there a best practice?)David
07/17/2023, 4:36 PMNate
07/17/2023, 4:36 PMpush step in your prefect.yaml that uploads deployment creators' code at deployment time to S3
• define a pull step as well that tells the worker to pull the code from S3 before runtime
when you deploy the worker, you'll have to give it the api url to talk to prefect and that ECS service the right role to pull from S3Nate
07/17/2023, 4:36 PMNate
07/17/2023, 4:37 PMNate
07/17/2023, 4:37 PMMarvin
07/17/2023, 4:38 PMDavid
07/17/2023, 5:01 PMNate
07/17/2023, 5:04 PMPREFECT_API_URL at deployment creation time, which is often from a CI/CD environment that an admin might control
a common pattern we see a lot:
• flow / deployment contributor / creator checks in a new flow to version control
• CI based on version control runs prefect deploy with an appropriate PREFECT_API_URL in the env