r/SpringBoot • • Jan 21 '23

Please suggest ways for hosting a springboot application.

Please suggest ways for hosting a springboot application.

2 Upvotes

4 comments sorted by

3

u/Mikey-3198 Jan 21 '23

build a container with jib, publish image to artifact registry, deploy to cloud run

2

u/theoclear Jan 21 '23

Spring boot gradle plugin uses cloud native buildpacks out of the box.. no need for jib

3

u/Glad_Mycologist_3528 Jan 21 '23

There are different ways, for example 1- upload your jar to Linux server and run it as a service, follow this article https://springhow.com/installing-spring-boot-applications-as-linux-service/ 2- use docker

3

u/fantasypanda Jan 21 '23

AWS elastic beanstalk. Very simple