Zachary Loertscher

03/30/2023, 1:53 PM
Hey all - I have a high level question about prefect 2. We currently have prefect 1 deployed to an ECS cluster on AWS Fargate. When it comes to deploying on Prefect 2, how do I deploy to that same environment? • Is that where infrastructure blocks come into play? • Or is this a self-hosted option? • If self-hosted, when would you use self-hosted over deploying directly to the cloud?

Ryan Brennan

03/30/2023, 3:48 PM
hey @Zachary Loertscher - It's a similar set up to 1. You create an
block that you include with each flow deployment. They documentation for an ECS block is here (you'll need to
pip install prefect-aws
I just did this migration with the same setup so happy to answer any questions
:thank-you: 1
💙 1