Skip to content

Comment on Show HN: ServerlessMaps – Host your own maps in the cloudparent

Comments

The architecture mostly is just putting things in S3 and serving them on a CDN. The diagram just goes into detail because little things like permissions and response header settings exist as separate but related "Policy" resources at the AWS level.

The only thing other than S3/CloudFront there is a lambda function endpoint that determines which tiles to serve.

Right, the diagram is generated from the IaC of the project itself, so it contains all AWS resources involved.

You could use the Lambda function to verify Access Tokens etc. before returning the tile data if that is a concern.

CloudFront as CDN will enable Edge caching, meaning that recurrent requests will serve much faster, as S3 is always region-based.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.