QuestionQ45

VerifiedDeploying applications

You need to migrate a standalone Java application that runs on an on-premises Linux virtual machine (VM) to Google Cloud cost-effectively. You choose not to use a lift-and-shift approach; instead, you plan to modernize the application by converting it into a container. How should you complete this task?

Explanation

Jib builds a container image directly from Java source and build metadata, making it suitable for containerizing a standalone Java application. The image can be stored in Artifact Registry and deployed to GKE, which runs containerized workloads. VM migration or importing a VM disk retains the VM-based deployment model rather than modernizing the application into a container.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!