developmentseed / eoapi-cdk

AWS CDK constructs for deploying eoAPI
https://developmentseed.org/eoapi-cdk
11 stars 4 forks source link

Support DockerImageFunction in lambda deployments #78

Closed emileten closed 1 year ago

emileten commented 1 year ago

Adding support for DockerImageFunction would allow users to pass runtimes associated with assets > 250 MB. As of now we deploy all the lambdas using Function. See this comment https://github.com/developmentseed/eoapi-cdk/pull/74#discussion_r1349381411. cc @sharkinsspatial.

vincentsarago commented 1 year ago

FYI: DockerImage functions are really slowwwwwww and should be avoided! IMO if user do need bigger package they might be better served with an EFS storage where they store the big libraries!

emileten commented 1 year ago

Does this speed difference matter for all the applications in this stack ? I guess yes, in which case we can close

vincentsarago commented 1 year ago

Does this speed difference matter for all the applications in this stack ?

I think yes