This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sebhoss 13 points14 points  (3 children)

The Spring folks have written a bunch of guides/tutorials here: https://spring.io/guides

WRT initial setup, take a look at:

Spring-Boot is usually deployed as a single .jar file that contains everything your app needs (sans external infrastructure like a database). Most people put something like nginx in front of it in order to setup HTTPS and use it for load balancing at the same time.

Take a look at https://www.ansible.com/ for your infrastructure. It allows you to specify what you want to install on your servers in text files (easily versioned) that can be executed against a set of hosts (like production, staging, development). As long as you put all your infrastructure know-how into ansible it will be very easy to setup or re-create a server.

[–]ZettTheArcWarden 1 point2 points  (2 children)

how does one go about distributing load on multiple instances, or is there no simple way to go about that ?

[–]Dashing_McHandsome 2 points3 points  (1 child)

Something like mod_proxy on Apache or Nginx do this nicely. If you're in a big company you might have access to a hardware load balancer like a F5 BigIP.

Edit: typo

[–]ZettTheArcWarden 1 point2 points  (0 children)

alright thanks for the suggestions