Skip to main content

Questions tagged [microservices]

If a question is related to microservices, then this tag could be used.

Filter by
Sorted by
Tagged with
0 votes
2 answers
335 views

Deploy multiple instances of the same application Kubernetes

I'm developing a web application in NodeJS and I want to create multiple instances of the same application to deploy it in multiple subdomains of my main domain. I want each instance to have the same ...
1 vote
1 answer
39 views

Best practice to update (migrate) e.g. users on database server on several clusters

we have multiple clusters - like 6 - and of course, as a dev makes changes to an application and it is deployed it will migrate the table data and so on by flyway/liquibase. But what if there is the ...
0 votes
1 answer
93 views

Automated preview environments from microservices in multiple repositories?

I have multiple microservices (with Dockerfiles) in GitHub repositories. Although I do unit testing on each microservice, I want to spin up all the services as a preview environment for E2E testing (...
1 vote
3 answers
122 views

Monitoring tool to microservices on Kubernetes

I'm deploying an instance with kubernetes on Azure public cloud, and I need a tool to monitor the microservices and pods inside this instance, the question is, what tool are you using to do that? I've ...
3 votes
5 answers
814 views

Digital Ocean vs AWS EC2 for Laravel based application

I'm working on a project based on Microservice architecture in Laravel, which means I'll have many small apps and Databases, I'm confused weather I should buy AWS EC2 or Digital Ocean's hosting. My ...
2 votes
1 answer
91 views

Measure service unavailability during upgrade

I am deploying a microservices - based application using an orchestrator (Rancher specifically). During the service upgrade (when new images are being pulled and services re-discover one another), ...
5 votes
4 answers
5k views

Is there an equivilent of a Kubernetes ingress for Docker Compose?

I'm more of a software developer than a networking/ops person to give you some context. I'm currently creating an application that is a standard containerised microservices architecture, where my ...
1 vote
1 answer
84 views

Automating deployment of microservices from start to finish

I'm currently part of a team that trains multiple pods of new hires. Each pod creates a client simulated project that involves the following steps: Creating kubernetes namespaces for each pod for ...
1 vote
1 answer
633 views

kubernetes nodeport service load balancing

Let's assume I have three node named n1, n2, n3. created four pods named p1, p2, p3, p4, k8s scheduler placed pods in nodes as follows n1 -> p1 n2 -> p2 n3 -> p3, p4 Now, to access these pods ...
0 votes
2 answers
237 views

Service to service communication - through proxy or direct?

A common scenario is two or more services behind a reverse proxy, typically each deployed in a container: | service 1 | | service 2 | \ / \ / ...
8 votes
3 answers
827 views

How to test a cluster of microservices?

I took a look into Server Spec and it says it clearly: Remark: serverspec test suites are meant to be run against a single machine (or docker container). In other words, you should not try to ...
2 votes
1 answer
1k views

Why is it necessary to have virtual machines to run multiple server instances?

I'm trying to learn about virtualization and containers. In an educational video it is said that the introduction of virtual machines was a big deal because it made companies available to run multiple ...
7 votes
2 answers
250 views

Is this an appropriate architecture, or can improvements be made?

Due to a combination of business/enterprise requirements and our architect's preferences we have arrived at a particular architecture that seems a bit off to me, but I have very limited architectural ...
3 votes
1 answer
1k views

Logging & Monitoring on multiple servers

I lead a small project with 2 groups of servers (servers in a single group are clones with the same microservices, like pods in the k8s), a balance loader, and a DB. Docker & k8s aren't used ...
0 votes
1 answer
45 views

Should my zombie backend container be restarted when database is down?

I have a situation where I have a Postgres and a Node server which connects to it. I am using Kubernetes to deploy them. If my Postgres container fails and stops working then its livenessProbe will ...
0 votes
1 answer
48 views

How to handle resource creation?

We're moving from a .NET monolithic application to a microservices architecture hosted on Azure. Until now, we only had one build definition on TFS and a release definition for each environment (...
6 votes
2 answers
365 views

What is a "mesh"?

In this context and cloud computing, I read about "service mesh" and/or "serverless mesh" but I don't fully understand what it is. Can you explain?
4 votes
1 answer
95 views

Teaching an old dog new tricks: Finally adopting the micro-service architecture

Is it too late to teach an old dog a new trick? I've always been the guy with a monolithic application/codebase. For more than 10 years now, I've gotten good at caching, writing good SQL queries, ...
4 votes
1 answer
139 views

Microservices terminology i.e. distinguishing between "core " and "other service instances"

In a standard cloud based microservice application, there could be two main categories of microservices: core services such as service registry & discovery, api-gateway, load-balancer etc. ...
1 vote
1 answer
84 views

Microservices Deployment Manager

I was wondering how information on deployed applications are kept in real, production environments (yeah, I am a novice) . For example, in a microservices based set up, if 5 microservices-based ...
0 votes
1 answer
445 views

Problem with logging in docker when using fluentd for logging of three flask apps running in a docker network behind an nginx

I am facing a strange problem with logging when I set up a network of three docker containers each running a small flask app. My python application looks as follows: from flask import Flask, request ...
7 votes
3 answers
494 views

When your micro service in production needs a secret, where is the secret stored and retrieved from?

The context of the question is Secrets management. How do you manage storing and retrieving secrets for your micro service which is in production?
1 vote
1 answer
867 views

Running services on different ports in development environment and production environment

A bit of an odd question I think but here goes: I have a couple of services running in an application that I'm building. In production each service is containerised and lives on its own server. But on ...
0 votes
1 answer
71 views

How to scale the control plane of a service mesh?

Scalability in the data plane is easy to achieve by simply having more replicas. The configuration the proxies receive from the control plane makes that possible . However, if the number of services (...
1 vote
1 answer
407 views

Are using TestContainers safe for integration tests?

I have a discussion with our DevOps about using Testcontainers for integration tests. It's a tool to bring up throw-away containers for testing. The testcontainers need a environment variable ...
0 votes
2 answers
87 views

Is there a good standard to follow when choosing a service mesh for your microservice application?

The industry appears to have chosen the de facto standards for containers (docker) and orchestration (kubernetes) but this doesn't appear to be the case for the options for implementing a service mesh....
3 votes
1 answer
938 views

How to have Ansible move a microservice?

I am working with a microservices application that is using Ansible to deploy to a fleet of VMs. We have different numbers of replicas of each microservice type running across the VM fleet. ...
1 vote
1 answer
33 views

Practical reasons for 200 limit of AWS resources in CF templates

Not sure I get it. If my service layer is completely maintainable, indepedent services and very easy to maintain taking only a few minutes to deploy and has no bugs, AWS still won't let me deploy it ...
2 votes
2 answers
664 views

Gitworkflow and testing short lived feature branches in Openshift/Kubernetes

Recently my team started adapting git workflow for agile-based delivery, we've been using JIRA, TeamCity and various other CI tools to complete the pipeline. The workflow works great for monolith or ...
3 votes
1 answer
80 views

How to monitor a micro-service oriented solution?

I run a micro-service oriented system, running under a private network, composed mainly of: databases (clusters) internal API's external/public API's workers (services) monitoring servers All are ...
1 vote
2 answers
507 views

Automated tag versioning on unchanged docker images

I am starting to use Continuous Integration on my microservices solution (monorepo approach), and I am referencing this post for versioning approach. But, let's say I make some change in one of the ...
5 votes
2 answers
3k views

How to add rules to Kubernetes NGINX Ingress controller from different yml definitions?

I'm trying to implement a Kubernetes cluster with a fanout pattern using an NGINX Ingress which routes traffic on multiple different hosts and paths to different microservices. The code for each ...
1 vote
2 answers
462 views

How to deploy Envoy EDS/SDS

This is a micro services deployment question. How would you deploy Envoy SDS(service discovery service) so other envoy proxies can find the SDS server hosts, in order to discover other services to ...
2 votes
1 answer
54 views

Docker Deployment strategy for microservices project

i am new to the ops side of devops and was hoping for some clarification. Specifically, if in a microservice based project you have multiple jars and each jar gets deployed in a VM on the same ...
3 votes
2 answers
378 views

Staging - Test multiple microservice versions together

I been trying to search for answer for this question but so far I didn't found anything useful. Our problem is that we have 2 microservices with many staging branches, each of these microservices are ...
3 votes
1 answer
630 views

Blue/green deployment with micro services and DNS

Currently, we have on our test environment an ECS Cluster with micro services deployed. All micro services are talking to each other through Route53 DNS CNAMEs like service1.company.com, service2....
3 votes
2 answers
135 views

How do you know which secrets and credentials of your production services were used, and by whom/what?

The context of the question is Secrets management. As the title says, how do you know which secrets and credentials of your production services were used, and by whom/what?
9 votes
3 answers
2k views

How to deploy multiple dependent micro services

We want to deploy multiple microservices on AWS ECS. The issue that we need to solve is how to deploy them in an atomic way: Let says we have the front-end services which requires the user service ...
7 votes
2 answers
1k views

How do you monitor Node Micro services running inside of Docker Containers?

This article about "How healthy is your Dockerized application?" explains the trouble with monitoring, but it doesn't provide any good examples of how to actually monitor a microservice inside of the ...
1 vote
1 answer
73 views

In a Database Per Service model - should i include the database in the service container?

I am implementing a simple setup with two micro services and would like each of them to have their own DB - each service is running in it's own container. Should i include the DB's in each service ...
0 votes
1 answer
56 views

What percentage of microservice architectures employ polyglot programming models?

One of the tenets of microservices is the polyglot, autonomous services (developed in different programming languages). In my experience (online reading and YouTube and discussions with developers) it ...
3 votes
1 answer
117 views

Mysql with Kubernetes

I am converting a webapp from monolithic to kubernetes based architecture. But how can mysql be persistent with data when we have 2 mysql pods in each of 2 differnet nodes? I think we can mount a ...
2 votes
1 answer
3k views

API gateway and service discovery on Amazon AWS

I'm trying to build an application infrastructure on Amazon AWS following a microservice pattern. However the configuration API gateway and service discovery tool together completely puzzles me. ...
1 vote
1 answer
122 views

What are off-the-shelf options for creating a microservice that consults a REST interface and shows the outcome in a graph?

I am planning to create a microservice that reads a database and shows a graph. Are there any people who have created such a service? What are things to consider before starting? I am thinking about ...
1 vote
1 answer
192 views

Making thousands of microservice/dockers with different IPs

I need to simulate many connections. Currently using curl. What is the best way to deploy thousands of such requests with different IPs using some script?
2 votes
0 answers
46 views

Which volume solutions are the most convenient when building Docker & microservices based application? [closed]

My application consists of few microservices and web (React) frontend. Basically I have auth microservice, application backend service, various data processing services and frontend rendering server. ...
1 vote
1 answer
804 views

Consul with Nginx, not using docker

I am from development background and totally new to DevOps, I want to setup consul for service discovery for my micro-services, services are reverse proxied by Nginx. Now I want to configure Nginx ...
1 vote
2 answers
83 views

How do you change a secret that half of your production applications use right now?

The context of the question is Secrets management. As the title says, how do you change a secret that half of your production applications use right now?
2 votes
2 answers
251 views

In kubernetes, using an nginx ingress controller what is recommended way of adding back end services?

I'm running on a simple KVM host and have poor man's load balancing with round robin DNS to and nginx ingress based on this chart which is documented here So to direct traffic to backend pods it ...
0 votes
1 answer
30 views

Dynamic service redirections in Docker

Imagine you have decided to abstract from exact service location. Normally, you have a cody world with the service name=DNS. Say, you have prototyped something with S3 compatible API like exoscale/...