๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Intermediate

What is Service Discovery?

A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.

In dynamic environments where service instances are constantly created and destroyed, service discovery eliminates hardcoded addresses. Services register themselves when starting and deregister when stopping. Clients query the discovery system to find available instances. Tools include Consul (HashiCorp), etcd, ZooKeeper, and DNS-based discovery in Kubernetes. Client-side discovery (the client picks an instance) and server-side discovery (a load balancer routes requests) are the two main patterns. Service discovery is foundational for microservices architectures and container orchestration.

Related Terms

SRE (Site Reliability Engineering)
An engineering discipline that applies software engineering principles to infrastructure and operations to create reliable systems.
GitHub Actions
A CI/CD platform integrated into GitHub that automates build, test, and deployment workflows using YAML configuration.
Terraform
An open-source tool for provisioning and managing cloud infrastructure using declarative configuration files.
Pipeline as Code
Defining CI/CD pipeline configurations as version-controlled code files rather than through UI-based pipeline builders.
Istio
An open-source service mesh that provides traffic management, security, and observability for microservices on Kubernetes.
Monitoring
The practice of collecting, analyzing, and alerting on system metrics and logs to ensure application health and performance.
View All DevOps Terms โ†’