Skip to content
14 providers 54 configurations
Independent reseller · not affiliated with any provider Telegram

Infrastructure

Networking basics: DNS, TLS and CDNs

Three pieces sit between your server and your users, and each has a failure mode worth understanding before it happens.

Networking basics: DNS, TLS and CDNs

Compute gets the attention, but a large share of user-visible incidents come from the three layers in front of it: name resolution, certificates and caching. None is complicated; each has a characteristic way of going wrong.

DNS: the TTL decides your options

Time-to-live controls how long resolvers cache a record, and therefore how quickly you can move traffic. A long TTL is efficient and slow to change; a short one is flexible and slightly chattier. The practical approach is to lower the TTL a day before a planned migration and raise it again afterwards.

  • Keep TTLs moderate normally; lower them ahead of planned changes.
  • Remember that some resolvers ignore very low TTLs.
  • Watch registrar expiry dates: an expired domain is a total outage.
  • Keep DNS configuration in code alongside the rest of your infrastructure.
  • Use health-checked records if you need automatic failover.

TLS: automate renewal or it will lapse

Certificate expiry is among the most predictable outages there is, which makes it the most embarrassing. Use automated issuance and renewal, and monitor the expiry date independently of the renewal system so that a silent failure is still noticed.

  1. Automate issuance and renewal.
  2. Alert at thirty days remaining, independently of the renewal automation.
  3. Terminate TLS in one place – the load balancer or proxy – not on every instance.
  4. Redirect plain HTTP to HTTPS and enable strict transport security once stable.
  5. Include every hostname you serve, including the one nobody remembers.

CDNs help some things and not others

What a CDN does and does not solve
Content Benefit
Static assets Large: served from an edge near the user.
Cacheable API responses Real, if you set cache headers thoughtfully.
Personalised pages Little, unless you cache fragments carefully.
Write requests None; they travel to the origin regardless.
Origin availability Partial: stale-while-revalidate can hide brief outages.

Summary

Manage DNS as code with TTLs you have thought about, automate certificates and monitor expiry separately, and use a CDN where content is genuinely cacheable. These three layers are where a surprising number of outages begin.

Keep reading

More Cloud Insights

Next step

Find the account this article describes

Compare configurations by provider, with prices and full detail on every page.

Scroll to Top
Telegram