[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[],[],null,["# Benefits of migrating to containers\n===================================\n\nMigrate to Containers is a tool to containerize existing VM-based\napplications to run on [Google Kubernetes Engine (GKE)](/kubernetes-engine), [GKE Autopilot clusters](/kubernetes-engine/docs/concepts/autopilot-overview), [GKE Enterprise](/anthos), or [Cloud Run](/run/docs).\nBy taking advantage of the GKE and GKE Enterprise ecosystems,\nMigrate to Containers provides a fast and simple way to move to modernized\norchestration and application management. Modernization and management can be done without requiring access to source code,\nrewriting, or rearchitecting applications.\n\nMigrate to containers versus lift-and-shift to Compute Engine\n-------------------------------------------------------------\n\nToday, you can migrate VM workloads into VM instances in\nCompute Engine using [Migrate to VMs](/migrate/virtual-machines).\nThis \"lift and shift\"\nmethod offers the simplest steps for cloud migration. This method consistently preserves\nthe same operational model used for running and managing applications on-premises,\nmodernizing only the underlying infrastructure.\n\nWhile \"lift and shift\" is a viable option\nfor certain workloads, many customers that are moving to the\ncloud want to take a step further. They are taking advantage\nof cloud-specific tools, methods, and managed services. In particular, they want\nto shift from VMs to containers, and manage their workloads on GKE\nor GKE Enterprise.\n\nBenefits of containers\n----------------------\n\nMigrate to Containers lets you modernize application workloads by converting\nthem to containers. There are several key benefits to containerizing workloads:\n\n- **Density.** Containers are much lighter than VMs since they don't contain the operating system, and therefore require considerably fewer compute and memory resources. Containers provide greater density of workloads across your clusters, fine-grained resource allocations, and overall **lower infrastructure\n costs.**\n- **Security optimized node kernel.** GKE and GKE Enterprise offer automatic operating system upgrades, freeing you from the burden of maintaining their operating system.\n- **Augment legacy apps with modern services.** GKE and GKE Enterprise let you use platform add-on services to seamlessly integrate up-to-date functionality with existing apps. For instance, you can take advantage of [Istio on GKE](/istio/docs/istio-on-gke/overview) or [Cloud Service Mesh](/anthos/service-mesh) to automate network and security policies without changing your application code. Also, you can use monitoring and logging with Cloud Logging and Cloud Monitoring by changing configurations and not changing your applications.\n- **Unified policy and integrated resource management.** GKE and GKE Enterprise let you focus on managing applications, not infrastructure. They offer the power of declarative desired-state management with powerful tagging strategies and selector policies.\n- **Modern image-based management and orchestration.** Migrate to Containers offers a unique capability to extract an image from the VM workload and construct a Docker image and related artifacts. This extraction in turn lets you modernize your application lifecycle and operations management, including integrating with a CI/CD pipeline. Integration with a CI/CD pipeline uses tools like Cloud Build to implement day-2 maintenance procedures. Furthermore, image-based management enables customers to perform rolling updates, dynamic scaling, self-healing, and more.\n\nWhat's next\n-----------\n\n- Learn about [migration journey phases](/migrate/containers/docs/migration-journey)."]]