developer-professional video for the task at hand is to move a single Java program that is running on a Linux virtual machine (VM) in an on-premises location to
The task at hand is to move a single Java program that is running on a Linux virtual machine (VM) in an on-premises location to Google Cloud. The objective is to do so in a cost-effective manner. To achieve this, the lift-and-shift approach will not be adopted. Instead, the plan is to modernize the application by transforming it into a container. What is the recommended approach for completing this task?