<@ULVA73B9P> how does anonymous infra get created ...
# ask-marvin
m
@Marvin how does anonymous infra get created in prefect 3.0?
m
Creating anonymous infrastructure in Prefect 3.0 involves using cloud providers like AWS to automatically set up everything needed for executing flows with AWS ECS tasks. You can provision infrastructure using the
--provision-infra
flag, which configures resources such as IAM users, IAM policies, ECS clusters, VPCs, and ECR repositories if they aren't already in place. For AWS, this process automatically creates necessary components in your AWS account and stores the generated credentials in an
AWSCredentials
block within your Prefect workspace. You’ll need Docker to build and push images to your container registry. It seems like a fairly straightforward process, but sadly no Rube Goldberg machines are involved! You can find more detailed information here: Prefect 3.0 Infrastructure Examples.