I've been reading through the nameko docs, and it is all good and clear, except for one part. How do you actually deploy your nameko microservice? I mean, it is clear how we deploy RESTful APIs in flask_restful, for instance. But with nameko? If two microservices should communicate, how do we move them into the "listening" state?
How to deploy a nameko microservice
133 Views Asked by Ian Gabaraev At
1
There are 1 best solutions below
Related Questions in MICROSERVICES
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- Separation of Students and Users in NestJS Microservice architecture
- How to choose port number for various microservices? whatever port number I use is already used-blocked or I'm not able to use them
- Handling feign exception in Spring boot using RestControllerAdvice
- Javers in microservice architecture
- Kafka integration between two micro service which can respond back to the same function initiated the request
- HTTP 401 unauthorized ASP.NET Core Web API microservices
- Minikube tunnel - Ingress not working on windows
- importing class in microservice 1 from another microservice 2
- Eureka Discovery client is not register under API-GATEWAY\host.docker.internal
- Unable to PUT JSON using ADF Dataflow, the error is "the JSON value could not be converted to System.Collections.Generic.List"
- Using Django as API gateway & authorizations service in Microservice
- How to fix HTTPS on express-gateway
- Websocket duplicate on headers
- migrate from django migrations to fastapi alembic
Related Questions in NAMEKO
- Is it possible to use multiple queues for the same service while using nameko?
- Implement reverse proxy in nameko HTTP route
- How to invoke the microservice from a Python script
- How to publish to and consume from other rabbitmq exchange in nameko service?
- nameko http micro service run fail with cyphon compiled pyd file but py file well
- Pydantic validation issue when using pagination with FastApi
- How can I get the dispatch service name?
- Potential Nameko concurrency issues with pyscopg2 driver for Postgresql
- Nameko - Cannot find reference 'config' in '__init__.py'
- Nameko and ImportError
- Getting "failed to resolve broker hostname" when trying to connect to rabbitmq in another docker container
- Python microservices with task management queues
- Can't invoke nameko shell within Docker container
- I'm having trouble starting up my first python nameko service
- Python Microservices with Nameko
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I am not sure I understand your problem. For each nameko service you define
AMQP_URIconstant that point to your RabbitMQ instance. If each of your services have the same AMQP_URI, it make possible communication through sending rpc calls (where you have a queue per service endpoint) or using pub/sub messaging because service use the same RabbitMQ instance.You can also have HTTP REST API. You must define endpoint in nameko service with
httpdecorator (see example here: https://nameko.readthedocs.io/en/stable/built_in_extensions.html). In your confguration you have to define PORT for you web server, e.g. port 8000:WEB_SERVER_ADDRESS: 0.0.0.0:8000. And make this port accessible for the World.