{"id":6193,"date":"2019-12-11T17:25:36","date_gmt":"2019-12-11T10:25:36","guid":{"rendered":"http:\/\/gcloudvn.wam.vn\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/"},"modified":"2024-05-24T13:27:31","modified_gmt":"2024-05-24T06:27:31","slug":"hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/","title":{"rendered":"Modernize your application with Migrate for Anthos"},"content":{"rendered":"<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17591 size-full\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2019\/12\/hien-dai-hoa-ung-dung-migrate-for-anthos.png\" alt=\"Modernize your application with Migrate for Anthos 1\" width=\"794\" height=\"511\" \/><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">With a comprehensive cloud system, you will host all your applications in containers running on Kubernetes and Istio. Applications then benefit from the portability and improved resource usage of containers, plus a powerful orchestration platform with advanced security, network, and application management. All of this is very easy to do only when you are developing a new application, but with existing applications it can be difficult to take advantage of those capabilities.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Many of the applications that you want to move to the cloud have existed for a long time, but you may not have specific knowledge of that application, which will cause you to be required to rewrite them to be closer to the cloud architecture. -native \u2014 and it will take a lot of time to do so. Another option for you is to take that application and switch to a virtual machine (VM) hosting platform like <a href=\"https:\/\/gcloudvn.com\/en\/compute-engine\/\">Compute Engine<\/a>, but that means you still need to maintain the virtual machines. Even if you can&#039;t fully upgrade an existing application, with Migrate for Anthos you still get some of the benefits of containers and Kubernetes.<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Migrate_for_Anthos_la_gi\" >What is Migrate for Anthos?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Bat_dau_voi_Migrate_for_Anthos\" >Getting Started with Migrate for Anthos<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Ung_dung_nay_co_nen_dat_tren_Cloud\" >Should this application be placed on the Cloud?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Ung_dung_nay_co_nen_dat_trong_Kubernetes\" >Should this app be in Kubernetes?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Co_nen_chuyen_dich_ung_dung_nay_voi_Migrate_for_Anthos\" >Should I migrate this application with Migrate for Anthos?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/hien-dai-hoa-ung-dung-cua-ban-voi-migrate-for-anthos\/#Nhung_buoc_tiep_theo\" >Next steps<\/a><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Migrate_for_Anthos_la_gi\"><\/span><strong>What is Migrate for Anthos?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Tr\u1ea3i nghi\u1ec7m Migrate for Anthos, m\u1ed9t c\u00e1ch nhanh ch\u00f3ng v\u00e0 d\u1ec5 d\u00e0ng \u0111\u1ec3 \u0111\u1ed5i m\u1edbi c\u00e1c \u1ee9ng d\u1ee5ng hi\u1ec7n c\u00f3 c\u1ee7a b\u1ea1n v\u1edbi m\u1ed9t d\u1ecbch v\u1ee5 \u0111\u00f3ng g\u00f3i ch\u00fang trong m\u1ed9t container. Di chuy\u1ec3n m\u00e1y ch\u1ee7 v\u1eadt l\u00fd ho\u1eb7c m\u00e1y \u1ea3o hi\u1ec7n c\u00f3 c\u1ee7a b\u1ea1n v\u00e0o v\u00f9ng ch\u1ee9a Kubernetes mang l\u1ea1i cho b\u1ea1n nh\u1eefng l\u1ee3i \u00edch quan tr\u1ecdng v\u1ec1 kh\u1ea3 n\u0103ng migrate v\u00e0 s\u1eed d\u1ee5ng t\u00e0i nguy\u00ean m\u00e0 kh\u00f4ng c\u1ea7n ph\u1ea3i vi\u1ebft l\u1ea1i \u1ee9ng d\u1ee5ng c\u01a1 b\u1ea3n. V\u00ec Migrate for Anthos \u0111\u01b0\u1ee3c x\u00e2y d\u1ef1ng cho <a href=\"https:\/\/gcloudvn.com\/en\/google-kubernetes-engine-gke\/\">Google Kubernetes Engine<\/a> (GKE), you also automatically see the scale and flexibility benefits of a cloud-managed Kubernetes environment. Recently, Migrate for Anthos has become quite popular.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Migrate an application with Migrate for Anthos happens in two phases. First, it creates a wrapper around your application that makes it appear to be running in a VM environment. You then run the Migrate for Anthos software on the Kubernetes cluster to run the containerized application. You can find more details about this in <a href=\"https:\/\/cloud.google.com\/migrate\/anthos\/docs\/getting-started\" target=\"_blank\" rel=\"nofollow noopener\">document<\/a> and in our blog post: <a href=\"https:\/\/medium.com\/google-cloud\/migrating-from-compute-engine-to-kubernetes-engine-with-migrate-for-anthos-b6fcc5ffb2fa\" target=\"_blank\" rel=\"nofollow noopener\">Switch from Compute Engine to Kubernetes Engine with Migrate for Anthos.<\/a><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">As the name suggests, Migrate for Anthos works with Anthos GKE. However, you can also use Migrate for Anthos with just GKE \u2014 all that is required is your application and a GKE cluster running the Migrate for Anthos software. <\/span><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Bat_dau_voi_Migrate_for_Anthos\"><\/span><strong>Getting Started with Migrate for Anthos<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Migrate for Anthos works with a variety but not all workloads. It is particularly specialized in migrating legacy apps, standalone apps, and monolithic apps. As you begin the innovation process, here are some questions to ask to determine if Migrate for Anthos should be used with your applications:<\/span><\/p>\n<ol style=\"text-align: justify;\">\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Ung_dung_nay_co_nen_dat_tren_Cloud\"><\/span><b> Should this application be placed on the Cloud?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">In essence, the cloud may not support certain characteristics of your on-prem environment, such as geography and legal compliance. The best way to find out if the cloud is working for each of your apps is to plan a full migration. That will allow you to define groups of applications that can benefit from cloud services, such as a global network, and easily resize resources. Then try to test the idea by testing cloud apps to see if it fits your business needs.<\/span><\/p>\n<ol style=\"text-align: justify;\" start=\"2\">\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Ung_dung_nay_co_nen_dat_trong_Kubernetes\"><\/span><b> Should this app be in Kubernetes?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Packing an application in a container simplifies workload management, improves scalability (both up and down), and increases server usability. Kubernetes distributes containers and GKE handles upgrades to Node, while add-ons like Istio let you manage security and network policies independent of your application.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">With those advantages, it can be said that containers are always the right direction, but there are some cases where it is necessary to use a VM. Strict hardware requirements, specialized kernel modules, and license constraints can make containers harder to run and negate their advantages.<\/span><\/p>\n<ol style=\"text-align: justify;\" start=\"3\">\n<li>\n<h3><span class=\"ez-toc-section\" id=\"Co_nen_chuyen_dich_ung_dung_nay_voi_Migrate_for_Anthos\"><\/span><b> Should I migrate this application with Migrate for Anthos?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Vi\u1ec7c chuy\u1ec3n \u1ee9ng d\u1ee5ng ho\u1eb7c kh\u1ed1i l\u01b0\u1ee3ng c\u00f4ng vi\u1ec7c c\u1ee7a b\u1ea1n l\u00ean cloud kh\u00f4ng ch\u1ec9 l\u00e0 chuy\u1ec3n n\u01a1i ch\u1ea1y c\u00e1c t\u00e0i nguy\u00ean m\u00e1y t\u00ednh; \u0111\u00e2y c\u0169ng l\u00e0 c\u01a1 h\u1ed9i \u0111\u1ec3 hi\u1ec7n \u0111\u1ea1i h\u00f3a ch\u00fang b\u1eb1ng c\u00e1c containers. Vi\u1ec7c s\u1eed d\u1ee5ng Migrate for <a href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/anthos-la-gi-the-manh-cua-anthos-la-gi\/\">Anthos's reach<\/a> (ho\u1eb7c Migrate for Compute Engine) mang \u0111\u1ebfn cho b\u1ea1n kh\u1ea3 n\u0103ng t\u1ea3i c\u00f4ng vi\u1ec7c c\u1ee7a m\u00ecnh l\u00ean cloud m\u1ed9t c\u00e1ch nhanh ch\u00f3ng, h\u1ea1n ch\u1ebf t\u1ed1i thi\u1ec3u th\u1eddi gian gi\u00e1n \u0111o\u1ea1n hay ng\u1eebng ho\u1ea1t \u0111\u1ed9ng gi\u00fap d\u1ec5 d\u00e0ng l\u1eadp k\u1ebf ho\u1ea1ch.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">However, even if you use the Migrate for Anthos wrapper, your application will still be preserved. The benefits of a modern platform may not outweigh the legacy application, and rewriting the application may be the only way to meet your business needs. There are also some specific services from your virtual machine that may not work with Migrate for Anthos, such as licensing requirements.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Migrate for Anthos can also be the first step in a larger migration effort. After migrating your application to GKE, you can gradually break down a monolithic application into microservices by manually rewriting the parts. Migration efforts make apps available in the cloud sooner, giving you more time to innovate.<\/span><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Nhung_buoc_tiep_theo\"><\/span><strong>Next steps<br \/>\n<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">A successful innovation process begins with creating a full migration plan, testing workloads, and monitoring them. You can experience the benefits of application modernization with Migrate for Anthos by picking up a small workload and trying it out for yourself!<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">As you test different workloads for your migration, remember <a href=\"https:\/\/cloud.google.com\/migrate\/anthos\/docs\/getting-started\" target=\"_blank\" rel=\"nofollow noopener\">Reference documents<\/a>. V\u00e0 h\u00e3y theo d\u00f5i lo\u1ea1t blog s\u1eafp t\u1edbi v\u1ec1 qu\u00e1 tr\u00ecnh migrate. Blog \u0111\u1ea7u ti\u00ean c\u1ee7a ch\u00fang t\u00f4i h\u01b0\u1edbng d\u1eabn c\u00e1ch hi\u1ec7n \u0111\u1ea1i h\u00f3a phi\u00ean b\u1ea3n Compute Engine v\u00e0 l\u01b0u tr\u1eef n\u00f3 tr\u00ean GKE.<\/span><\/p>\n<p style=\"text-align: right;\"><strong>Source: Gimasys<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>V\u1edbi m\u1ed9t h\u1ec7 th\u1ed1ng cloud to\u00e0n di\u1ec7n, b\u1ea1n s\u1ebd l\u01b0u tr\u1eef t\u1ea5t c\u1ea3 c\u00e1c \u1ee9ng d\u1ee5ng c\u1ee7a m\u00ecnh trong c\u00e1c containers ch\u1ea1y tr\u00ean Kubernetes v\u00e0 Istio. Khi \u0111\u00f3, c\u00e1c \u1ee9ng d\u1ee5ng \u0111\u01b0\u1ee3c h\u01b0\u1edfng l\u1ee3i t\u1eeb t\u00ednh di \u0111\u1ed9ng v\u00e0 vi\u1ec7c&hellip;<\/p>","protected":false},"author":1,"featured_media":6194,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6193","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/6193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=6193"}],"version-history":[{"count":0,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/6193\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/6194"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=6193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=6193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=6193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}