Questions tagged [service-discovery]

Network protocols which allow automatic detection of devices and services offered by these devices on a computer network.

Service discovery protocols are network protocols which allow automatic detection of devices and services offered by these devices on a computer network. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Source: http://en.wikipedia.org/wiki/Service_discovery

618 questions
5
votes
0 answers

AWS ECS DNS resolver for NGINX running with Docker Compose

I'm using Docker's Compose command with an ecs context to launch and orchestrate the containers of a web app for a branch preview feature. The problem I have is with an Nginx proxy: it can only access the other containers using their CloudMap FQDN…
Localist
  • 1,094
  • 1
  • 8
  • 14
5
votes
3 answers

Flexible, Solid and Portable Service Discovery

I am looking for a way for clients in a LAN to find all the instances of my server application without any configuration. Instead of hacking something myself, I'd like to use an existing solution. Personally, I need it to be done in Python, but I'd…
phihag
  • 278,196
  • 72
  • 453
  • 469
5
votes
1 answer

Is It Possible to Dynamically Add SwaggerEndpoints For SwaggerUI?

We're building out a services oriented architecture in .NET Core. We've decided to use Ocelot as our API gateway. I have integrated Ocelot with Consul for service discovery. Now I'm trying to attempt to create a unified Swagger UI for all the…
Mike G
  • 1,956
  • 1
  • 30
  • 62
5
votes
1 answer

Consul service discovery with DNS on Nodejs

TL;DR Hi all, I'm trying to call nodejs backend microservices from a nodejs frontend written in Express, through Consul DNS interface but I am having errors. I am using the nodejs dns api to set the dns for the sole node application in order to make…
Roberto
  • 257
  • 1
  • 4
  • 11
5
votes
2 answers

Eureka Client - can't autowire client (spring says there are 2 beans defined)

I have an application that is a eureka discovery client. It registers with my Eureka server just fine. Sadly when I try to autowire the EurekaClient in any @Component or @Service class to fetch registry instance details, I'm told that I can't…
Daisy Day
  • 652
  • 7
  • 19
5
votes
1 answer

Wildfly-Swarm Consul service discovery - Invalid service address

I’m developing Wildfly-Swarm app and I want to use Consul as my service discovery. So I added topology-consul fraction, set my Consul path in project-defaults.yml and added @Advertise("service-name") to my Endpoint. And if I start my application…
Kiki
  • 2,243
  • 5
  • 30
  • 43
5
votes
2 answers

version management in microservices

Suppose that I have a UserService in my Microservice Architecture deployed on the cloud. There is a Service Discovery for routing the requests to different host of UserService. If I have two different versions of UserService. Lets say…
sansari
  • 558
  • 1
  • 7
  • 17
5
votes
1 answer

Integration Testing Spring Boot service using Eureka services

I'm trying to figure out how to build integration tests on a Spring Boot application that uses Eureka. Say I have a test @WebAppConfiguration @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes =…
RubesMN
  • 939
  • 1
  • 12
  • 22
5
votes
2 answers

How can I lookup dns service records in consul in python?

I am using consul to discover services in my environment. Consul's DNS service is running on a non-standard DNS port. My current solution is more of a work around and I would like to find the more pythonic way to do this: digcmd='dig @127.0.0.1 -p…
wjimenez5271
  • 2,027
  • 2
  • 17
  • 24
5
votes
3 answers

Using DNS SRV records with C#

Is there a built in (to the .net framework) class or function to resolve a SRV entry to the corresponding records? IE: _dmsc._tcp.network.local to an array of information (host, port, weight, priority)
Mitch
  • 21,223
  • 6
  • 63
  • 86
4
votes
2 answers

Dynamic server discovery list

I'd like to create a web service that an application server can contact to add itself to a list of servers implementing the application. Clients could then contact the service to get a list of servers. Something similar to how minecraft's heartbeats…
jterrace
  • 64,866
  • 22
  • 157
  • 202
4
votes
2 answers

App service not being fount by nginx service after restart on aws ecs fargate with service discovery

I have two services on my cluster: myapp-service and an nginx-service. I'm using service discovery to connect the both and everything works just fine. The problem happens when i deploy a new version of myapp-service and it came with a new…
4
votes
2 answers

spring-boot eureka client error "Cannot execute request on any known server"

I am trying out eureka with spring-boot. I successfully started eureka-server. It is running at localhost:8761. Now I tried eureka-client. This is what the code is import ch.qos.logback.classic.Logger; import java.util.List; import…
Shades88
  • 7,934
  • 22
  • 88
  • 130
4
votes
1 answer

Two ECS tasks connectivity in one EC2 Host

I have 2 ECS Services running with EC2 launch type and bridge networking mode. each service is having 1 task and both tasks are running on same EC2 container host. on the Same ECS host, API container in 1st task is trying to communicate DB container…
4
votes
1 answer

How does automatic target registering happen in EC2 Target Groups for ECS Tasks?

I have an ECS Cluster with an ECS Service (Fargate) that specifies a Service Discovery Endpoint. I also have a Cloud Map Service setup with a domain and service name that matches the Service Discovery details entered for the ECS Service. Finally,…