koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
659 stars 127 forks source link

Koop + aws api gateway + lambda #340

Closed keithfraley closed 4 years ago

keithfraley commented 5 years ago

Has anyone tested AWS API Gateways with Koop and Lambda. Seems serverless might actually be a reality at some point. This would be extremely powerful for multiple reasons, one is it would allow you to scale unique authentication per service or per group of services.

simon-fisher commented 5 years ago

Keith, did you ever have any luck with this? I'm trying to deploy koop provider to aws lambda. None of the samples I've tried seem to work. There are always errors on the "npm run lambda-create"

keithfraley commented 5 years ago

I have not had a chance to look at this yet, but I would love to work together with you on it as it is still on our roadmap

On Thu, Jul 25, 2019, 12:50 PM Simon notifications@github.com wrote:

Keith, did you ever have any luck with this? I'm trying to deploy koop provider to aws lambda. None of the samples I've tried seem to work. There are always errors on the "npm run lambda-create"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koopjs/koop/issues/340?email_source=notifications&email_token=AA6LCVDCW5HPIJHYXGYLKILQBHYWBA5CNFSM4GY63NCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22NV6Q#issuecomment-515169018, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6LCVHRKRRP2YDL5DMAOVLQBHYWBANCNFSM4GY63NCA .

haoliangyu commented 5 years ago

We have created another example project to demonstrate how to deploy a Koop server to AWS Lambda + API Gateway. This example uses the serverless framework for AWS deployment and management.

Please try https://github.com/koopjs/koop-serverless-example and let us know if you still see any error.

simon-fisher commented 5 years ago

Awesome thanks. I'll be working through this in the next day or so. I'll let you know hope it goes.

keithfraley commented 5 years ago

brilliant, cant wait to dig in

On Wed, Aug 14, 2019 at 10:34 AM Simon notifications@github.com wrote:

Awesome thanks. I'll be working through the in the next day or so. I'll let you know hope it goes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koopjs/koop/issues/340?email_source=notifications&email_token=AA6LCVEGQZJ3YJ6WZJX43BDQEQQXLA5CNFSM4GY63NCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JGACI#issuecomment-521297929, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6LCVHT64QXEUELJDR6YA3QEQQXLANCNFSM4GY63NCA .

haoliangyu commented 5 years ago

Hey @simon-fisher @keithfraley does the example work for you?

simon-fisher commented 5 years ago

Yes it did. I'm having some issues getting my own provider to work, but working through that still.