Deploying Our Application to Production
Explore how to deploy a Spring Boot application to production by building executable über JARs and creating Docker containers with or without Dockerfiles. Understand how to use Spring Boot Actuator to monitor and manage your application, customize operational features, and include version details for better management.
We'll cover the following...
Josh Long has often referred to the production as being the happiest place on Earth. That’s because, with Spring Boot, it’s a snap to take all our hard efforts and deploy them.
The next few sections will dive into various ways we can roll all our efforts into production.
In this chapter, we’ll:
-
Build an über JAR to deploy to production.
-
Create a layer-based
Dockerfileto bake a container. -
Bake a container without using a
Dockerfile. -
Investigate using Spring Boot Actuator ...