Skip to main content

A set of constructs deploying pgSTAC with CDK

Project description

eoAPI CDK Constructs

eoapi-cdk is a package of AWS CDK constructs designed to encapsulate eoAPI services and best practices as simple reusable components.

For more background on the included services see The Earth Observation API

Included constructs

Detailed API docs for the constructs can be found here.

pgSTAC Database

An RDS instance with pgSTAC installed and the Postgres parameters optimized for the selected instance type.

STAC API

A STAC API implementation using stac-fastapi with a pgSTAC backend. Packaged as a complete runtime for deployment with API Gateway and Lambda.

pgSTAC Titiler API

A complete dynamic tiling API using titiler-pgstac to create dynamic mosaics of assets based on STAC Search queries. Packaged as a complete runtime for deployment with API Gateway and Lambda and fully integrated with the pgSTAC Database construct.

STAC browser

A CDK construct to host a static Radiant Earth STAC browser on S3.

OGC Features/Tiles API

A complete OGC Features/Tiles API using tipg. Packaged as a complete runtime for deployment with API Gateway and Lambda. By default the API will be connected to the Database's public schema.

STAC Ingestor

An API for large scale STAC data ingestion and validation into a pgSTAC instance.

ingestor

Authentication for the STAC Ingestor API can be configured with JWTs authenticated by JWKS. To learn more about securing FastAPI applications with this approach see Securing FastAPI with JWKS (AWS Cognito, Auth0).

A sample Cognito-based authentication system is available at aws-asdi-auth.

Bastion Host

A bastion host is a secure gateway that provides access to resources in a private subnet. In this case it provides the ability to make administrative connections to eoAPI's pgSTAC instance.

Alt text

For more background on bastion hosts in AWS see this article.

And for configuration instructions for this construct see the docs.

Published Packages

Release

Versioning is automatically handled via Conventional Commits and Semantic Release.

Warning: If you rebase main, you must ensure that the commits referenced by tags point to commits that are within the main branch. If a commit references a commit that is no longer on the main branch, Semantic Release will fail to detect the correct version of the project. More information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eoapi-cdk-6.0.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

eoapi_cdk-6.0.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file eoapi-cdk-6.0.2.tar.gz.

File metadata

  • Download URL: eoapi-cdk-6.0.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for eoapi-cdk-6.0.2.tar.gz
Algorithm Hash digest
SHA256 cab9e1aa97d22a8b6a1130a1df140e8ec76530656f8693a38d64a7840683b3a2
MD5 bf6b89e87b90244ac8ecf1791267c713
BLAKE2b-256 251f5e458e6a05a6523df1c317a25321af3c442dd4f08991743cb9aa67afafe3

See more details on using hashes here.

File details

Details for the file eoapi_cdk-6.0.2-py3-none-any.whl.

File metadata

  • Download URL: eoapi_cdk-6.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for eoapi_cdk-6.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 129b4fb464e91e2e409fb953a9a5a43fcfbadd626e5027da83a93417264c48de
MD5 9a1b0d67520bcc65765b59dd9f1a4683
BLAKE2b-256 3d95c1eebcc0daaf62b22fc196a13515986e756acc223320915d3d142b2b276c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page