R
R
revukvr2021-06-03 15:18:02
Java
revukvr, 2021-06-03 15:18:02

Where to deploy a microservice application?

Hello! I am studying the topic of microservice architecture. I had a Java monolith that 50 people use. I broke it into microservices and as a result 17 microservices came out. Each service is packaged in Docker. I deploy them all on a local computer and everything works. But the question arose, where is it now better to deploy all 17 microservices for the customer? Order a virtual machine and deploy everything on it or GCP, AWS? Since there are few users, you do not want to take something very expensive. + one microservice works with files and it needs about 200 GB of storage. How to do it better? Now the monolith is running on a $100 virtual machine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Karasik, 2021-06-03
@vitaly_il1

If the task is to learn how to do what everyone is doing today, then managed k8s in GCP, AWS.
If you want cheaper - look at digitalocean.
Option - without k8s, containers in AWS - ECS (elastic container service).

O
Orkhan, 2021-06-03
Hasanly @azerphoenix

Good afternoon!
I myself recently deployed microservices.
If you need cheap and cheerful, then look towards Hetzner Cloud
https://www.hetzner.com/cloud-ru

that is, on a virtual machine, run everything the same way as I run it on my LAN via docker-compose, or kubernetes?

There is not much point in using kubernetes. Docker will be enough. Use Docker Compose.
If you are using Config Server then make sure your applications are waiting for the config server to start and crashing (trying to reconnect).
Well, if the budget allows, then AWS is also possible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question