Introducing microservice deployment options
The success of an application not only depends on how well we design it. It depends on how well we implement (deploy and maintain) it.
A well-designed microservice application in a low-availability environment is useless. So it is equally important to decide on a deployment strategy that increases its chances to succeed. When it comes to deployment, there is a plethora of tools available. Each one of them has its pros and cons, and we have to choose one that is suitable for our needs. JHipster currently provides sub-generators to create configuration files to containerize, deploy, and manage the microservices via the following:
- Docker
- Kubernetes (also helps to orchestrate your deployment)
- OpenShift (also provides private cloud deployment)
- Rancher (also provides complete container management)
We will see them in detail in the following sections.
A short introduction to Docker Compose
Shipping code to the server is always difficult, especially when you...