{"id":278038,"date":"2021-06-18T15:00:45","date_gmt":"2021-06-18T12:00:45","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service-cloudsavvy-it\/"},"modified":"2021-06-18T15:00:45","modified_gmt":"2021-06-18T12:00:45","slug":"how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service-cloudsavvy-it\/","title":{"rendered":"#How To Migrate Servers To The Cloud Easily With AWS\u2019s Application Migration Service \u2013 CloudSavvy IT"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6aeed7026e35d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" 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: #dd3333;color:#dd3333\" 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><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6aeed7026e35d\" checked aria-label=\"Toggle\" \/><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:\/\/buradabiliyorum.com\/en\/how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service-cloudsavvy-it\/#What_Is_AWS_Application_Migration_Service\" >What Is AWS Application Migration Service?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service-cloudsavvy-it\/#Moving_Servers_With_AWS_MGN\" >Moving Servers With AWS MGN<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#How To Migrate Servers To The Cloud Easily With AWS\u2019s <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">App<\/a>lication Migration Service \u2013 CloudSavvy IT&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage alignnone size-full wp-image-5269\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2020\/06\/e601b806.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"AWS Logo\" width=\"700\" height=\"300\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>AWS\u2019s new Application Migration service is a tool for performing Lift-and Shift migrations, where servers are copied entirely automatically, and lifted to the cloud, where application service is transferred over. It\u2019s easy to use, and can move servers with minimal downtime.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Is_AWS_Application_Migration_Service\"><\/span>What Is AWS Application Migration Service?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Recently, AWS launched Application Migration Service, called AWS MGN for short. It\u2019s based on\u00a0CloudEndure Migration, an older company AWS bought and has been running for some time. Now, AWS recommends using MGN, which is a first-class feature of the AWS ecosystem.<\/p>\n<p>The process is very simple. You install the MGN Replication Agent on the server you want to migrate, and configure it in the MGN Management Console. It copies the OS, applications, and all data, and transfers them to a staging environment made of low cost EC2 instances.<\/p>\n<p>Then, when the transfer is complete, these EC2 instances can be converted into the high-powered instances you\u2019ll use for production, and the original server can be shut off.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11884\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/050a5745.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"266\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Of course, this is simply a lift-and-shift migration. Moving your servers directly to AWS won\u2019t change anything about your network right away. What it does give you is a starting point in the cloud, and the ability to slowly modernize your infrastructure using AWS services.<\/p>\n<p>For example, maybe you have a small service running on the machine that could be better off as an AWS Lambda function, or maybe you\u2019re running an internal database that could be better off if it was moved to AWS RDS.<\/p>\n<p>Either way, moving to the cloud is something most businesses are doing nowadays, and AWS\u2019s\u00a0Application Migration Service makes it extremely easy.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Moving_Servers_With_AWS_MGN\"><\/span>Moving Servers With AWS MGN<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you will need to set up the replication in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/console.aws.amazon.com\/mgn\/home#?tag=reviewgeek-20\">MGN Management Console<\/a>. Head over there, and click \u201cGet Started,\u201d or create a new settings template from the sidebar.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12035\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/d166df89.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"189\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The main thing you\u2019ll need to configure is which replication server instance to use. This is only temporary, but you\u2019ll want to choose something that you can at least test your network on before swapping to production-grade instances. For most lightweight workloads though, <code>t2.small<\/code>\u00a0should be fine for a server that isn\u2019t receiving traffic.<\/p>\n<p>You\u2019ll also need to select a subnet, whether or not you want a hard drive based EBS instance, and any additional security groups (AWS\u2019s firewall system) you may want.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12036\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/1f21ba57.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"671\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Then, you\u2019ll need to download the MGN Replication Agent to your server. This is a Python script, but it\u2019s region-dependent. You\u2019ll need to replace \u201cREGION\u201d in the following command with the AWS region that you\u2019re transferring the servers to, which is displayed in the top right of the management console.<\/p>\n<pre>wget -O .\/aws-replication-installer-init.py https:\/\/aws-application-migration-service-REGION.s3.amazonaws.com\/latest\/linux\/aws-replication-installer-init.py<\/pre>\n<p>Then, you will need to run it with administrator privileges with <code>sudo python3\u00a0aws-replication-installer-init.py<\/code>. You may need to install python3 if your system doesn\u2019t have it already.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12046\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/c1f2e2a2.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"238\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once run, the server will be added to the MGN Console. You\u2019ll be able to monitor the progress of the data transfer from here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12047\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/2441a895.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"366\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once it\u2019s ready for testing, you\u2019ll be able to launch test images by selecting all the servers you wish to launch and selecting \u201cLaunch Test Instances\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12048\" src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/06\/126f7afd.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"678\" height=\"250\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Then, once it\u2019s ready to be swapped to the new machine, you can launch cutover instances using the Launch Settings defined for each server in the console.\n<\/p><\/div>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.cloudsavvyit.com\/11882\/how-to-migrate-servers-to-the-cloud-easily-with-awss-application-migration-service\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How To Migrate Servers To The Cloud Easily With AWS\u2019s Application Migration Service \u2013 CloudSavvy IT&#8221; AWS\u2019s new Application Migration service is a tool for performing Lift-and Shift migrations, where servers are copied entirely automatically, and lifted to the cloud, where application service is transferred over. It\u2019s easy to use, and can move servers with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":278039,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2020\/06\/e601b806.png","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-278038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/278038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=278038"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/278038\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/278039"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=278038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=278038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=278038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}