Skip to content

Commit

Permalink
add note to AWS regarding 6MB lambda size limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Oct 24, 2024
1 parent 1d8e016 commit a729b2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions deploy/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ x-cache: Hit from cloudfront

You may next want to assign a custom domain name to your distribution through Route 53 and Certificate Manager and update the public hostname in step 4 above.

::: warning
AWS Lambda limits response sizes to 6 MB. This is more than enough for typical web mapping applications; you should optimize your tilesets to fit well under this limit.
:::

## Monitoring

* CloudFront will transmit metrics to the [CloudWatch us-east-1 region](https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1).
Expand Down
6 changes: 0 additions & 6 deletions pmtiles/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,3 @@ ogr2ogr -dsco MINZOOM=0 -dsco MAXZOOM=15 -f "PMTiles" filename.pmtiles "PG:host=
```

* `MAXZOOM=15` is sufficient for street-level mapping. Choosing less detail with a lower `MAXZOOM` will reduce the size of the final file.

## Other

::: warning
This section is under construction.
:::

0 comments on commit a729b2d

Please sign in to comment.