Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Serve Tiles with S3

TL;DR
Serve static z/x/y map tiles directly from an S3 bucket over HTTP. Best for simple, public, low-traffic use cases.

Tiles with S3 architecture

Description

A web map requests tiles using the standard /z/x/y path structure. S3 responds with the corresponding file, e.g. 10/512/384.png.

This pattern serves static web map tiles (vector or raster in the z/x/y format) directly from an Amazon S3 bucket. S3 provides HTTP access, allowing you to use it as a basic tile server with minimal setup.

When to Use

  • Prototyping or internal demos
  • Public datasets with light to moderate traffic
  • Regional or low-resolution base maps
  • Situations where simplicity is more important than performance

Trade-offs

  • No caching — every tile request hits S3
  • Higher latency compared to CDN-backed solutions
  • S3 request and data transfer costs add up quickly
  • Not suitable for authenticated access

Alternatives

Resources