How do you build service discovery in a non-Kubernetes environment?
AdvancedProductionDNS & Traffic Management in Production
Answer
Options: Route 53 private zones with auto-registered records, AWS Cloud Map (API plus DNS discovery with health), Consul with DNS interface and health checks, or internal load balancers with stable names. Prefer stable names over IPs everywhere.
Consul adds agents and ops overhead but offers KV, mesh and multi-DC; for ECS, Cloud Map and Service Connect are the managed paths.
More on DNS & Traffic Management in Production
What TTL values do you choose for production records?BeginnerHow would you design DNS for high availability?AdvancedHow do you manage DNS as code?BeginnerHow do you do a zero-downtime DNS cutover?IntermediateWhy does DNS failover take longer than expected, and how do you make it faster?AdvancedHow do Route 53 health checks work and what are their pitfalls?Intermediate