<@ULVA73B9P> Can Github and Serverless Push Work P...
# ask-marvin
c
@Marvin Can Github and Serverless Push Work Pools can be used together. I haven't found anything in the documentation saying that they could be used together. I'm not sure if I'm doing it correctly
m
It seems there's no explicit documentation linking GitHub directly with Serverless Push Work Pools in Prefect. However, based on available information, here's what you can consider: 1. Serverless Push Work Pools Setup: These are typically configured using AWS Fargate, which requires you to store your AWS credentials in Prefect Cloud. You create a "Credentials block" for AWS and set up a push work pool to deploy flows. More details can be found here. 2. Integration with GitHub: Prefect supports integrations with GitHub, which can be used to trigger workflows based on repository events. However, this is generally more about triggering Prefect flows rather than directly interacting with work pools. 3. Common Issues and Considerations: There are some nuances, especially around using ECS and Fargate. For instance, GPU-based tasks are not supported on Fargate, which might require using a hybrid ECS pool instead. This is an indirect indication that certain configurations might not be straightforward. You can see more on this GitHub issue. In summary, while there isn't direct documentation on using GitHub with Serverless Push Work Pools, you can use GitHub to trigger Prefect flows that are deployed to these pools. Ensure your configurations align with the capabilities of AWS Fargate if you're using it for serverless execution.