Skip to content

earthdaily/earthone-upload-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

EarthOne Upload Lambda

This repository contains an AWS Lambda (container-based) service that:

  1. Is triggered by an S3 upload event
  2. Downloads imagery + metadata
  3. Registers the image in the EarthDaily EarthOne catalog
  4. Returns the created EarthOne image ID for downstream processing

๐Ÿš€ Architecture

S3 Upload โ†’ Lambda โ†’ EarthOne Catalog โ†’ Step Function / Inference Engine


๐Ÿ“ฆ Tech Stack

  • Python 3.12
  • AWS Lambda (Container Image)
  • AWS S3
  • EarthDaily EarthOne SDK (earthdaily-earthone)
  • Docker

๐Ÿ› ๏ธ Setup

1. Build Docker Image

docker build -t earthone-upload-lambda .

2. Push to ECR

aws ecr create-repository --repository-name earthone-upload-lambda

aws ecr get-login-password --region us-west-2 | docker login
--username AWS
--password-stdin .dkr.ecr.us-west-2.amazonaws.com

docker tag earthone-upload-lambda:latest :latest docker push :latest

About

Lambda handler to upload imagery to Earthdaily Earthone catalog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors