DHI/terracotta

Terracotta CLI / API in AWS lambda

zufryy opened this issue · 1 comments

Hi All,

I need to find the best way to run the terracotta optimize-raster and also importing the terracotta files in another python lambda to run the ingestion-script. Is it possible to run the Terracotta CLI/API through the deployed aws lambda system ?

Thanks you in advance for your time.

We have had that idea, too - Lambda-based cloud-optimize and ingestion - but never had a case to develop it, so no templates here to work out from. So you need to take the code behind the CLI functions and turn that into a Lambda function instead.

Someone else also made a little AWS-backed web app that cloud-optimizes rasters (though no Terracotta ingestion). Maybe that is interesting for reference https://github.com/developmentseed/raster-uploader.