Book Image

The Definitive Guide to Modernizing Applications on Google Cloud

By : Steve (Satish) Sangapu, Dheeraj Panyam, Jason Marston
Book Image

The Definitive Guide to Modernizing Applications on Google Cloud

By: Steve (Satish) Sangapu, Dheeraj Panyam, Jason Marston

Overview of this book

Legacy applications, which comprise 75–80% of all enterprise applications, often end up being stuck in data centers. Modernizing these applications to make them cloud-native enables them to scale in a cloud environment without taking months or years to start seeing the benefits. This book will help software developers and solutions architects to modernize their applications on Google Cloud and transform them into cloud-native applications. This book helps you to build on your existing knowledge of enterprise application development and takes you on a journey through the six Rs: rehosting, replatforming, rearchitecting, repurchasing, retiring, and retaining. You'll learn how to modernize a legacy enterprise application on Google Cloud and build on existing assets and skills effectively. Taking an iterative and incremental approach to modernization, the book introduces the main services in Google Cloud in an easy-to-understand way that can be applied immediately to an application. By the end of this Google Cloud book, you'll have learned how to modernize a legacy enterprise application by exploring various interim architectures and tooling to develop a cloud-native microservices-based application.
Table of Contents (26 chapters)
1
Section 1: Cloud-Native Application Development and App Modernization in Google Cloud
5
Section 2: Selecting the Right Google Cloud Services
10
Section 3: Rehosting and Replatforming the Application
17
Section 4: Refactoring the Application on Cloud-Native/PaaS and Serverless in Google Cloud

Preparing to modernize Java apps

Many of the steps and best practices from Appendix A still apply to old Java apps but the overall planning process has been narrowed down, so it should be easier to follow.

For instance, in most cases, developers choose the lift and modernize method. The entire process can be summarized in two phases:

  1. The first phase is the lift part of the job and refers to containerizing the applications and creating CI/CD pipelines.
  2. The second phase is the modernize part and refers to refactoring the apps to modern Java frameworks.

Some Java applications may not be suitable for the lift-and-modernize approach. In general, packaged Java apps and those running on modern Java frameworks can be containerized using Anthos. On the other hand, traditional monolithic Java apps must be run in VMs until they can be refactored into microservices, while apps with legacy backends cannot be migrated to the cloud.

With this clear, let's dive into...