developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
205 stars 21 forks source link

Add more deployment options #63

Closed vincentsarago closed 12 months ago

vincentsarago commented 1 year ago

Let's try to have this repo less AWS oriented.

charalamm commented 1 year ago

Hello again, I am trying to deploy eoAPI in azure.

Currently, I am working in this forked branch (which is currently pretty dirty. Sorry in advance). I managed to deploy the database with the correct schema and to add some sample data using this code. As a next step I am trying to covert the raster API as an azure serverless function but I have this problem with the azure-functions - starlette cooperation. This error occurs again when trying to register the search in the raster API. Is it something you have encountered maybe?

vincentsarago commented 1 year ago

We've started to look at Azure function for the planetary computer over https://github.com/microsoft/planetary-computer-apis/pull/47 maybe it can be of help

vincentsarago commented 1 year ago

also FYI, we're planing to remove infrastructure code from this repo to rely on other official eoapi infrastructure (eoapi-cdk and k8s-eoapi)

ref #94

charalamm commented 1 year ago

Seems like there is a bug in the azure functions side that makes the starlette app.state.dbpool throw errors but they are fixing it: https://github.com/Azure/azure-functions-python-worker/issues/1273#issuecomment-1612723497

zacharyDez commented 12 months ago

@vincentsarago @batpad; are we set to close this one?

vincentsarago commented 12 months ago

@zacharyDez 👍