Building 12-Factor Spring Boot Applications: Simplicity, Scalability, and Best Practices
summary
A live 12-factor notepad demo shows a Spring Boot app wired to Postgres and Redis, uses profiles for dev/prod, exposes Actuator health endpoints, and deploys via Spring Boot + Heroku buildpacks (also built locally with pack) into two scaled web processes. Session state lives in Redis so refreshes hit different hosts but preserve session ID and counters, proving horizontal scaling works. Secrets options mentioned: Spring Cloud Vault and AWS Secrets Manager. Logs go to stdout and structured logging is recommended.
AI-written summary · about
chapters (11)
- 0:00Introduction to 12 Factor
- 2:08The 12 Factor Manifesto
- 5:57Spring Boot Alignment
- 11:2812 Factor Notepad Demo
- 17:06Config and Secrets
- 21:23Backing Services
- 25:08Build, Release, Run
- 28:07Stateless Processes
- 33:47Disposability
- 35:43Dev/Prod Parity
- 40:55Logging and Conclusion
related talks
01h 31m12 Factor, or Cloud Native Apps for Spring Developers
01h 09mFrom Zero to Hero with Spring Boot
29mIntro to Development of Java Spring Microservices with Cloud Foundry
01h 09mBootiful Spring Boot: A DOGumentary
47mBootiful Spring Boot 4!
49m10 Excellent Ways to Secure Your Spring Boot Application
47m'Bootiful' Applications with Spring Boot
55mBootiful Spring Boot 3
