Web Infrastructure — static publishing, CDN, indexing, and domain services

Publish, deploy, index, and run mail on your domain.

Page content

Web infrastructure here means the systems that make publishing work on the open web. Static builds, object storage, CDN behavior, DNS for mail and verification, and indexing signals (sitemaps plus push protocols like IndexNow) sit in one cluster so you can ship fast, stay correct, and avoid reinventing SMTP or search engine plumbing.

Most posts are CLI-first and AWS-flavored because that is what I run in production. The point is not vendor loyalty. It is repeatable commands, clear trade-offs, and when to skip the clever self-hosted path.

Infrastructure and services


Hugo deployment to AWS S3

Deploying Hugo to S3 is the main workload here. Prefer AWS CLI or CI so deploys are repeatable and you can wire cache invalidation and versioning the same way every time.

After a successful deploy, IndexNow (below) is the natural next step so new URLs are not stuck waiting for crawlers only.


CloudFront setup

CloudFront pricing is easy to get wrong from the console alone. You often see Free or Pro flat-rate framing, while pay-as-you-go matches real traffic patterns better for many static sites.


Indexing and search engine notification

Sitemaps help discovery. IndexNow pushes URL changes so participating engines can fetch sooner than crawl-only schedules.

Run it after deploy when you care about fresh indexing for new or moved pages.


Domain services

Custom domain email is MX, SPF, DKIM, and DMARC in practice. Pick a hosted provider unless mail is your product.


See also

  • Data infrastructure — storage, pipelines, and retrieval when the problem is data, not the public web.