Seem like the Prefect 2.0 REST API is mostly for O...
# prefect-community
z
Seem like the Prefect 2.0 REST API is mostly for Orion Client? I have no idea how to use them. Seem like I could use AWS API Gateway + Lambda(Python) + Prefect to make a API endpoint, then I can send a http request to that API endpoint -> AWS API Gateway -> Lambda -> Prefect. Seem a bit over complicated
I think for now AWS API Gateway + AWS Lambda + Prefect to make a API endpoint instead of using Prefect Cloud Deployment would be a better choice. (easier) I just need to set Environment Variable in Lambda with PREFECT_API_URL=http://beta.prefect.io/api and PREFECT_API_KEY=xxx
I don’t need to config work queue or agent, Lambda would run Python + Prefect for me. Prefect became more of a retry + logging tools
k
It’s mostly through Orion Client because there is a lot of work to shape the requests that happens so doing a manual request would repeat a lot of the work
z
understood, Thanks @Kevin Kho!