<p>I have several microservices around 20 or something to check their services in my local development. The micro-services are spring boot services with maven build. So wanted to know when I have to run them on my aws server can I run all these containers individually like they might have shared database so will that be one issue i might face.Or is it possible to run all these services together in one single docker image.
Also I have to configure it with Kubernetes so I have configured Minikube in my local dev would be helpful if there are some considerations to be taken while running around 20services on my minikube or even Kubernetes env</p>

<p>PS: I know this is a basic question but dont have much idea about Devops</p>

Noobster
<p>Ideally you should have different docker image for each of the micro services and create kubernetes <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/" rel="nofollow noreferrer">deployment</a> for each of the micro services.This makes scaling individual micro services de coupled from each other. Also  communication between micro services should be via kubernetes <a href="https://kubernetes.io/docs/concepts/services-networking/service/" rel="nofollow noreferrer">service</a>. This makes communication stable because service IPs and FQDN don't change even if pods are created, deleted, scaled up and down.</p>

<p>Just be cautious of how much memory and CPU the micros services will need and if the system with minikube has that much resource or not. If the available memory and CPU of a Kubernetes node is not enough to schedule the pod then pods will be stuck in pending state.</p>
