Key Concepts
Service Discovery
Services register themselves and can be discovered by name, enabling dynamic configuration.
Multiple Instances
Each service can have multiple instances running on different addresses and ports.
Tags
Categorize and filter services using tags (e.g.,
production, v2, primary).Metadata
Attach key-value metadata for configuration, versioning, or custom attributes.
Required Permissions
| Action | Permission |
|---|---|
| View services | iam:project:cicd:consul:read |
| Register/Update services | iam:project:cicd:consul:write |
| Delete services | iam:project:cicd:consul:delete |
Service vs Instance
| Term | Description |
|---|---|
| Service | Logical name for a capability (e.g., api, web, database) |
| Instance | A running copy of the service at a specific address:port |
api service might have 3 instances running on different servers for load balancing.
How to Register a Service
Enter Service Details
- Service Name (required): Logical name (e.g.,
my-api) - Service ID (required): Unique instance identifier
- Address (required): IP address or hostname
- Port (required): Port number (1-65535)
Add Tags (Optional)
Type a tag and press Enter or click + to add. Tags help with filtering and routing.
How to View Service Instances
How to Add an Instance to Existing Service
How to Duplicate an Instance
Create a copy of an existing instance with the same configuration.How to Delete a Service Instance
How to Delete an Entire Service
Deleting a service removes all its instances.Bulk Operations
Select multiple instances for bulk operations.Selecting Instances
- Expand a service to show instances
- Check individual instance checkboxes, or
- Use the Select All checkbox to select all instances of a service
Available Bulk Actions
When instances are selected, a floating action bar appears:| Action | Description |
|---|---|
| Add Tags | Add tags to all selected instances |
| Add Meta | Add metadata key-value pairs to all selected instances |
| Export | Download selected instances as JSON |
| Clear | Deselect all instances |
Tags Best Practices
Use tags for:- Filtering in the UI
- Service mesh routing rules
- DNS-based service discovery
Metadata Best Practices
Use metadata for:- Version tracking
- Ownership information
- Documentation links
- Custom configuration
Troubleshooting
Service not appearing in list
Service not appearing in list
- Refresh the page or click the refresh button
- Verify the correct Consul instance is selected
- Check that the service was registered successfully
- Confirm network connectivity to Consul
Cannot register service
Cannot register service
- You need write permission for Consul services
- Verify port is a valid number (1-65535)
- Service name is required
- Check Consul instance is healthy
Instances not showing when expanded
Instances not showing when expanded
- The service may have no registered instances
- Instances may have been deregistered
- Check network connectivity
- Try refreshing the page
Cannot delete service
Cannot delete service
- You need delete permission for Consul services
- The operation may be in progress
- Some instances may fail to deregister
Tags not saving
Tags not saving
FAQ
What's the difference between Service Name and Service ID?
What's the difference between Service Name and Service ID?
Service Name is the logical name shared by all instances (e.g.,
api). Service ID is a unique identifier for each specific instance (e.g., api-server-1, api-server-2). Multiple instances share the same service name but have different IDs.Can I edit an existing service instance?
Can I edit an existing service instance?
Consul doesn’t support in-place editing. To modify an instance, delete it and re-register with the new configuration, or use the duplicate feature as a starting point.
What happens when I delete an instance?
What happens when I delete an instance?
The instance is deregistered from Consul immediately. Applications using service discovery will no longer route traffic to that instance. Health checks for that instance are also removed.
How do health checks work?
How do health checks work?
Health checks are configured separately in Consul. This UI shows services and their registration status. For health check configuration, use Consul directly or configure checks when deploying services.
Can I register the same service in multiple datacenters?
Can I register the same service in multiple datacenters?
Yes. Each Consul instance (datacenter) has its own service catalog. Register services in each datacenter where they run. Cross-datacenter discovery requires Consul federation.
What's the address field for?
What's the address field for?
The address is the IP or hostname where the service instance is reachable. If left empty, Consul uses the agent’s address. For containers, use the container’s IP or the host’s IP with appropriate port mapping.