Running multiple instances of same springboot application

I’ve a spring-boot application which i want to deploy on OVH public cloud.

I need t achieve the goal of deploying multiple instances of the same application, and each instance has to have its own resources (such as MySQL database).

Each instance has to be accessed with a special url. For example:

I’m really new to everything which concerns cloud computing and deployments.

From what i read on the internet, my doubt is to

  • Use Docker where each instance has to be running inside its own container (to have the resources separated for each instance)

  • Use Kubernetes to achieve the goal of having each instance accessable from a specific url.

Am i wrong ? any online courses / resources / videos which can help would be awsome.

Thanks in advance.

Source: StackOverflow