Agent Wranglers

Networking and DNS

Keep databases private, open only the ports you name, limit outbound traffic and force TLS. Keep DNS in code and put a firewall at the edge.

  • Required 6
  • Recommended 6

The network decides what can reach what. A database with a public address or one open port undoes every other rule. These rules set the defaults for cloud networks, firewalls and DNS. Certificates, HTTPS settings and DNS signing for a website live in the hosting and network chapter.

Required

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/infrastructure/networking-and-dns">Agent Wranglers infrastructure and environments playbook</a>. In code you write, add a comment next to it with the same link.