We're continuing to make deploying flows with Pref...
# announcements
j
We're continuing to make deploying flows with Prefect easier with today's 2.14.9 release! prefect rocket Prefect now supports Automatic infrastructure provisioning for ECS push work pools aws You can create a new ECS push work pool and provision infrastructure in your AWS account with the following command:
prefect work-pool create --type ecs:push --provision-infra my-pool
Using the
--provision-infra
flag will automatically set up your default AWS account to be ready to execute flows via ECS tasks:
Copy code
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Provisioning infrastructure for your work pool my-work-pool will require:                                         │
│                                                                                                                   │
│          - Creating an IAM user for managing ECS tasks: prefect-ecs-user                                          │
│          - Creating and attaching an IAM policy for managing ECS tasks: prefect-ecs-policy                        │
│          - Storing generated AWS credentials in a block                                                           │
│          - Creating an ECS cluster for running Prefect flows: prefect-ecs-cluster                                 │
│          - Creating a VPC with CIDR 172.31.0.0/16 for running ECS tasks: prefect-ecs-vpc                          │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Proceed with infrastructure provisioning? [y/n]: y
Provisioning IAM user
Creating IAM policy
Generating AWS credentials
Creating AWS credentials block
Provisioning ECS cluster
Provisioning VPC
Creating internet gateway
Setting up subnets
Setting up security group
Provisioning Infrastructure ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
Infrastructure successfully provisioned!
Created work pool 'my-pool'!
If you haven't tried an ECS push pool yet, now is a great time! Don't fret, Azure users; we will add support for Azure Container Instances push work pools soon! soon horse See the release notes for information on the other enhancements and fixes in today's release. Happy engineering! marvin duck
typingcat 6
prefect build 12
🚀 8
catjam 6