The way we design applications for the cloud is different from traditional approaches. The 12-Factor methodology, consisting of best practices and development patterns, is a good starting point for building applications that can be considered cloud native. I’ll explain the methodology in the first part of this chapter, and I’ll expand on it throughout the book.
Later in this chapter, we’ll build a simple Spring Boot application and run it with Java, Docker, and Kubernetes, as shown in figure 2.1. Throughout the book I’ll go deeper into each of those topics, so don’t worry if something is not entirely clear. This chapter aims to provide you with a mental map of the journey we’ll undertake from code to production in a cloud environment, while familiarizing you with patterns and technologies that we’ll use in the rest of the book.