0

I wish to implement Green-Blue deployment on my server with Java Sprint Boot.

As I understand the script should:

  1. Detect which version is currently run (Green or Blue).
  2. Deploy files into another slot
  3. Replace the port in the config of new app
  4. Run the app
  5. Route NGinx to newly used port
  6. ..testing...
  7. By admin's request save that this slot is tested and used, kill old slot's instance, update systemd startup scripts.

Actually I'm a bit scared of writing such tools for existing production server. Maybe I miss something and Spring Boot already has a feature to do this?

Dan Spirit
  • 327
  • 1
  • 8

0 Answers0