Running Spring Boot in Production
4h 55mAdvanced2022-02-10
Authors

Michael D. Rodgers, Jr
Java Web Applications Engineer and Consultant
Course details
If you know all about developing a Spring Boot application, but aren’t sure about putting your app into production, then this course is for you. Production is where your Spring Boot applications live after being developed. In this course, instructor Michael D. Rodgers, Jr., explains the main options available to deploy your application to production, so you can choose the one that best suits your needs. Michael walks you through the Spring Boot configurations that you must have for production, including environmental profiles, Spring Profiles, the Spring Boot Actuator, and more. He introduces options for packaging your Spring Boot app for production, including WAR, JAR, AWS Elastic Beanstalk, and more. Michael steps through production deployments with AWS, as well as how you can use GitHub to automate with AWS. Plus, he goes over deployments and automation with Azure.
Skills covered
SpringWeb Development ToolsAzureWeb DevelopmentOpen SourceMicrosoftDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Quickly stand up containerless architectures
- 02 - What you should know
- 03 - Project overview and working with exercise files
- 04 - Set up your environment on a Mac
1. Spring Boot Configurations - Must-Haves for Production
- 05 - Why use environmental profiles in your architecture
- 06 - Enhance property files with Spring Profiles
- 07 - Enhancing Spring Profiles with beans
- 08 - Monitor your app using Spring Boot Actuator
- 09 - Enable and use other actuators
- 10 - Create custom health checks with Spring Boot Actuator
2. Spring Boot Packaging for Production
- 11 - Know your packaging requirement types
- 12 - Package a Spring Boot Tomcat WAR file
- 13 - Build a Linux service RPM from JAR
- 14 - Build a Docker image with a setup config file
- 15 - Going native with Spring
3. Spring Boot Production Deployments with AWS
- 16 - Create an AWS account
- 17 - Deploy a JAR file to AWS Elastic Beanstalk
- 18 - Deploy a Tomcat WAR file on AWS Elastic Beanstalk
- 19 - Install the AWS EB CLI
- 20 - Deploy a Docker image on AWS Elastic Beanstalk with EB CLI
4. Spring Boot CI CD - Automating with AWS
- 21 - Create a GitHub account, repository, and GitHub action
- 22 - Configure a GitHub action to build a Spring Boot artifact
- 23 - Deploy a JAR file to Elastic Beanstalk with GitHub Actions
- 24 - Deploy a WAR file to Elastic Beanstalk with GitHub Actions
- 25 - Deploy a Docker image to AWS with GitHub Actions
5. Spring Boot Production Deployments with Azure
- 26 - Set up Azure for Spring Boot
- 27 - Deploy a Spring Boot JAR file to Azure
- 28 - Deploy a Spring Boot WAR file to Azure
- 29 - Deploy a Docker Spring Boot image on Azure
6. Spring Boot CI CD - Automating with Azure
- 30 - Create deployment files with Azure and GitHub for a JAR file
- 31 - Create deployment files with Azure and GitHub for a WAR file
- 32 - Create deployment files with Azure and GitHub for Docker
Conclusion
- 33 - Where to go next
Related courses
- Introduction to Docker for Java Developers
- Spring Data 3
- Advanced Spring: Effective Integration Testing with Spring Boot
- Spring Boot 2.0 Essential Training
- Spring Boot Observability: Deep Dive into Logging, Metrics, and Tracing
- Practical Test-Driven Development for Java Programmers
- Building Full-Stack Apps with React and Spring
- Execute a Design Sprint with Framer X