Discover Services with DNS

Objective

This guide provides instructions on how to discover existing service endpoints using DNS. Service discovery enables you to find the endpoints where a given service is available. To know more information about service discovery, see Volterra Service Discovery.

Using the instructions provided in this guide, you can create an endpoint for a service using the DNS server name and the location where the service is available.


Prerequisites

VES account

Note: If you do not have an account, see Create a VES Account.


Configuration

Volterra enables users to discover existing service endpoints either natively or using external methods. This guide covers service discovery on sites, virtual sites, or virtual networks using DNS.

Configuration Sequence

Discovering service using DNS requires creating an endpoint with DNS name through which the service is resolved and associating it with site, virtual site, or virtual network.

The following figure shows sequence of creating service discovery with DNS:

FlowChart
Figure: Setting up Service Discovery with DNS

Create Endpoint Using DNS Name and Associate Site

Step 1: Select the desired namespace or create a namespace where endpoint with DNS name needs to be created.

NavNS
Figure: Navigate to Namespace

Step 2: Select Manage from configuration menu and Endpoints from the options pane. Click Add endpoint.

EPCreate
Figure: Endpoint Creation

Step 3: Enter name, labels, and description in the Name, Labels, and Description fields respectively.

AddEP
Figure: Add Endpoint

Step 4: Select DNS name for the field Endpoint Address and enter DNS name in the DNS name field.

EPDNSCfg
Figure: Endpoint Address DNS Config Option

Step 5: Select Site in the RefOrSelector field and click the Select ref to select the site where the endpoint is to be discovered.

EPSiteRefSelector
Figure: Endpoint Address Site Reference Selector

Note: Any reference object (site, virtual site, and virtual network) needs to be created and listed before configuring the RefOrSelector field. All the available object list gets displayed on a cascading menu where you can select one or more objects.

EPSiteRefSelction
Figure: Endpoint Site Reference Selection

Step 6: Enter port and protocol values for the fields Port and Protocol respectively.

EPPortProto
Figure: Endpoint Port and Protocol

With the steps above, you can discover a service endpoint using DNS on a location specified using selector. Once the service is discovered, the object can be used with other configuration objects of Volterra platform.

EPCreated
Figure: Endpoint Created

Concepts


API References