{"id":1222,"date":"2018-11-16T16:30:15","date_gmt":"2018-11-16T11:00:15","guid":{"rendered":"https:\/\/liai.co.in\/blog\/?p=436"},"modified":"2022-01-21T03:36:56","modified_gmt":"2022-01-21T03:36:56","slug":"aws-detach-root-volume-from-an-ec2-instance","status":"publish","type":"post","link":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/","title":{"rendered":"How to detach root volume from Amazon EC2 instance?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span><div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 8,227<\/span><\/div><h6><\/h6>\n<h2><strong><span style=\"color: #ff0000;\">Question<\/span>: <em>How to detach root volume from the <a href=\"https:\/\/www.liainfraservices.com\/cloud-migration-services\">Amazon EC2<\/a> instance?<\/em><\/strong><\/h2>\n<p><em><strong><span style=\"color: #ff0000;\">Answer<\/span>:<\/strong> There could be multiple different reasons, but I generally do that to troubleshoot the booting issue, it could be related to some BCD error or some driver related or some service not starting during boot. It&#8217;s easy for me to troubleshoot in this way.<\/em><\/p>\n<pre><strong><u>Note: If you want to detach the root volume of an instance, make sure the instance is in the stopped state.<\/u><\/strong><\/pre>\n<p>Select the instance on the console<\/p>\n<p>Check for the root volume (\/dev\/sda1)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4242 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/07\/Creating-Subnets-in-Amazon-VPC.png\" alt=\"Creating Subnets in Amazon VPC\" width=\"704\" height=\"281\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/07\/Creating-Subnets-in-Amazon-VPC.png 704w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/07\/Creating-Subnets-in-Amazon-VPC-300x120.png 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/p>\n<p>click on \/dev\/sda1<span style=\"color: #008000;\"><span style=\"color: #99cc00;\"> \u2192<\/span> <\/span>This will give an EBS Volume ID<\/p>\n<p>Click on that volume ID that will redirect to the<span style=\"color: #99cc00;\"> \u201cvolume\u201d<\/span> section<\/p>\n<p>Make a note of the volume ID before detaching and its device name ( In this case it is \/dev\/sda1)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4248 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume-ID.png\" alt=\"EBS_Volume ID\" width=\"697\" height=\"382\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume-ID.png 697w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume-ID-300x164.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4249 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume_Status_Check.png\" alt=\"EBS_Volume_Status_Check\" width=\"701\" height=\"357\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume_Status_Check.png 701w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_Volume_Status_Check-300x153.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Observer, the state is showing as <span style=\"color: #99cc00;\">\u201cIn Use\u201d<\/span><\/p>\n<p>To detach that volume.<\/p>\n<p>Click on <span style=\"color: #99cc00;\">\u201cAction\u201d<\/span> (Make sure the volume is selected)<\/p>\n<p>Select <span style=\"color: #99cc00;\">\u201cDetach Volume\u201d<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4250\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Detach-EBS_Volume-300x215.png\" alt=\"Detach-EBS_Volume\" width=\"300\" height=\"215\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Detach-EBS_Volume-300x215.png 300w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Detach-EBS_Volume.png 620w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Once the volume is detached from an instance, the state changes from<span style=\"color: #99cc00;\"> \u201cIn Use\u201d<\/span> to<span style=\"color: #99cc00;\"> \u201cAvailable\u201d<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4251\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/EBS_State_After_Despatch.png\" alt=\"EBS_State_After_Despatch\" width=\"262\" height=\"188\"><\/p>\n<p><span style=\"color: #339966;\"><strong>How to attach the volume to another instance?<\/strong><\/span><\/p>\n<p><strong>Requirement:<\/strong><\/p>\n<ul>\n<li>You need to know the volume ID that you are going to attach.<\/li>\n<li>You need to know the instance ID where the volume needs to be attached.<\/li>\n<\/ul>\n<p>Select the volume(This should be in a state as \u201cAvailable\u201d)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4252\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach_EBS_Volume-281x300.png\" alt=\"Attach_EBS_Volume\" width=\"281\" height=\"300\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach_EBS_Volume-281x300.png 281w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach_EBS_Volume.png 397w\" sizes=\"auto, (max-width: 281px) 100vw, 281px\" \/><\/p>\n<p>Put the value of instance id<\/p>\n<p>Give some device name (In this case we gave xvdp)<\/p>\n<p>Then click on <span style=\"color: #99cc00;\">Attach<\/span><\/p>\n<pre>Note: Make sure the volume (EBS) and the instance are on the same availability zone.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4253 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach-root-EBS-volume.png\" alt=\"Attach root EBS volume\" width=\"698\" height=\"276\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach-root-EBS-volume.png 698w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Attach-root-EBS-volume-300x119.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>Now, what?<\/p>\n<p>I have detached my EC2 server root volume and attached it to ther<a href=\"http:\/\/liainfraservices.com\/aws-cloud-migration-services\"> EC2 instance<\/a> (Debug instance).<\/p>\n<p>How would that be helpful for me?<\/p>\n<p>To make it helpful.&nbsp; You need to RDP to your<span style=\"color: #99cc00;\"> \u201cdebug instance\u201d<\/span><\/p>\n<p>Go to the<span style=\"color: #99cc00;\"> Disk manager.<\/span><\/p>\n<p>You will find something similar to this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4254 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_Manager_EBS.png\" alt=\"Disc_Manager_EBS\" width=\"694\" height=\"488\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_Manager_EBS.png 694w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_Manager_EBS-300x211.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<p>Here, you can see, the disk1 is showing as \u201cOffline\u201d [ In your case it may be disk2 or disk3, based on how many disks you already had on the debug instance]<\/p>\n<p>Right-click on <span style=\"color: #008000;\"><span style=\"color: #99cc00;\">\u201cDisk 1<\/span>\u201d<\/span> and select<span style=\"color: #99cc00;\"> \u201cOnline\u201d<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4255\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_Offline.png\" alt=\"Disc_Offline\" width=\"238\" height=\"153\"><\/p>\n<p>This will automatically mount the volume to the next available drive letter, in my case it mounted to D:\\<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4256 size-full\" src=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_online.png\" alt=\"Disc_online\" width=\"699\" height=\"121\" srcset=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_online.png 699w, https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/Disc_online-300x52.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>Now, you are ready to do the troubleshooting based on your use case.<\/p>\n<p>Checkout our <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.liainfraservices.com\/aws-cloud-migration-services\">Aws Cloud Migration Services<\/a><\/span> Strategy.<\/p>\n<p>I will try to put some use cases in the near future in this scenario.<\/p>\n<p>Till then you can go through our <a href=\"http:\/\/liainfraservices.com\/blog\/\">other blogs<\/a>.&nbsp; Apart from <strong><a href=\"https:\/\/www.liainfraservices.com\/cloud-migration-services\">Cloud Migrations Services<\/a>, <a href=\"https:\/\/www.liainfraservices.com\/contact\">Contact Lia Infraservices<\/a><\/strong> is also an expert&nbsp; <a href=\"https:\/\/www.liainfraservices.com\/digital-marketing-company-in-chennai\"><strong>Digital Marketing Company in Chennai<\/strong><\/a> and a proven <a href=\"https:\/\/www.liainfraservices.com\/mobile-app-development-company-in-chennai\"><strong>Mobile App Development Company in Chennai<\/strong><\/a> for your all kinds of Android and iOS Mobile App Development Services.<\/p>\n<p>Cheers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>8,227 Question: How to detach root volume from the Amazon EC2 instance? Answer: There could be multiple different reasons, but I generally do that to troubleshoot the booting issue, it<\/p>\n","protected":false},"author":1,"featured_media":4261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[697],"tags":[411,412,413,414,415,416,417,418,419,420],"class_list":["post-1222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-migrations","tag-attach-volume-to-ec2-instance","tag-aws-attach-root-volume","tag-aws-attach-volume","tag-aws-console-detach-the-volume","tag-aws-detach-volume-windows","tag-aws-linux-detach-volume","tag-aws-unable-to-detach-root-volume","tag-detach-volume-aws","tag-ec2-attach-root-volume","tag-how-to-attach-root-volume-to-ec2-instance"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices<\/title>\n<meta name=\"description\" content=\"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices\" \/>\n<meta property=\"og:description\" content=\"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | Liainfraservices\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-16T11:00:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-21T03:36:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Partho\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Partho\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/\"},\"author\":{\"name\":\"Partho\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/person\\\/b5a729cb152dd3bc7f07550ca9d223e4\"},\"headline\":\"How to detach root volume from Amazon EC2 instance?\",\"datePublished\":\"2018-11-16T11:00:15+00:00\",\"dateModified\":\"2022-01-21T03:36:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/\"},\"wordCount\":420,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg\",\"keywords\":[\"attach volume to ec2 instance\",\"aws attach root volume\",\"aws attach volume\",\"aws console detach the volume\",\"aws detach volume windows\",\"aws linux detach volume\",\"aws unable to detach root volume\",\"detach volume aws\",\"ec2 attach root volume\",\"how to attach root volume to ec2 instance\"],\"articleSection\":[\"Cloud Migrations\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/\",\"name\":\"How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg\",\"datePublished\":\"2018-11-16T11:00:15+00:00\",\"dateModified\":\"2022-01-21T03:36:56+00:00\",\"description\":\"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg\",\"contentUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg\",\"width\":512,\"height\":315,\"caption\":\"How-to-detach-root-volume-from-Amazon-EC2-instance\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/aws-detach-root-volume-from-an-ec2-instance\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cloud Migrations\",\"item\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/category\\\/cloud-migrations\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to detach root volume from Amazon EC2 instance?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\",\"name\":\"Blog | Liainfraservices\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\",\"name\":\"Blog | Liainfraservices\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/lia-logo-b-e1635340384244.png\",\"contentUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/lia-logo-b-e1635340384244.png\",\"width\":308,\"height\":96,\"caption\":\"Blog | Liainfraservices\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/person\\\/b5a729cb152dd3bc7f07550ca9d223e4\",\"name\":\"Partho\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"caption\":\"Partho\"},\"description\":\"Partho Das, founder of Lia Infraservices, has 15+ years of expertise in cloud solutions, DevOps, and infrastructure security. He provides consultation on architecture planning, DevOps setup, Kubernetes, and cloud migrations. Partho holds multiple AWS and Azure certifications, along with CISCO CCNA &amp; CCNP. Connect on LinkedIn\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/partho-dev\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices","description":"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/","og_locale":"en_US","og_type":"article","og_title":"How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices","og_description":"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.","og_url":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/","og_site_name":"Blog | Liainfraservices","article_published_time":"2018-11-16T11:00:15+00:00","article_modified_time":"2022-01-21T03:36:56+00:00","og_image":[{"width":512,"height":315,"url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg","type":"image\/jpeg"}],"author":"Partho","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Partho","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#article","isPartOf":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/"},"author":{"name":"Partho","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/person\/b5a729cb152dd3bc7f07550ca9d223e4"},"headline":"How to detach root volume from Amazon EC2 instance?","datePublished":"2018-11-16T11:00:15+00:00","dateModified":"2022-01-21T03:36:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/"},"wordCount":420,"commentCount":0,"publisher":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#primaryimage"},"thumbnailUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg","keywords":["attach volume to ec2 instance","aws attach root volume","aws attach volume","aws console detach the volume","aws detach volume windows","aws linux detach volume","aws unable to detach root volume","detach volume aws","ec2 attach root volume","how to attach root volume to ec2 instance"],"articleSection":["Cloud Migrations"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/","url":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/","name":"How to detach root volume from Amazon EC2 instance? - Blog | Liainfraservices","isPartOf":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#primaryimage"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#primaryimage"},"thumbnailUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg","datePublished":"2018-11-16T11:00:15+00:00","dateModified":"2022-01-21T03:36:56+00:00","description":"This blog is about how to troubleshoot booting issue, it could be related to some BCD error or some driver related or some service not starting during boot.","breadcrumb":{"@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#primaryimage","url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg","contentUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2018\/11\/How-to-detach-root-volume-from-Amazon-EC2-instance.jpg","width":512,"height":315,"caption":"How-to-detach-root-volume-from-Amazon-EC2-instance"},{"@type":"BreadcrumbList","@id":"https:\/\/www.liainfraservices.com\/blog\/aws-detach-root-volume-from-an-ec2-instance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.liainfraservices.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Cloud Migrations","item":"https:\/\/www.liainfraservices.com\/blog\/category\/cloud-migrations\/"},{"@type":"ListItem","position":3,"name":"How to detach root volume from Amazon EC2 instance?"}]},{"@type":"WebSite","@id":"https:\/\/www.liainfraservices.com\/blog\/#website","url":"https:\/\/www.liainfraservices.com\/blog\/","name":"Blog | Liainfraservices","description":"","publisher":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.liainfraservices.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.liainfraservices.com\/blog\/#organization","name":"Blog | Liainfraservices","url":"https:\/\/www.liainfraservices.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/10\/lia-logo-b-e1635340384244.png","contentUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/10\/lia-logo-b-e1635340384244.png","width":308,"height":96,"caption":"Blog | Liainfraservices"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/person\/b5a729cb152dd3bc7f07550ca9d223e4","name":"Partho","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","caption":"Partho"},"description":"Partho Das, founder of Lia Infraservices, has 15+ years of expertise in cloud solutions, DevOps, and infrastructure security. He provides consultation on architecture planning, DevOps setup, Kubernetes, and cloud migrations. Partho holds multiple AWS and Azure certifications, along with CISCO CCNA &amp; CCNP. Connect on LinkedIn","sameAs":["https:\/\/www.linkedin.com\/in\/partho-dev\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":7,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":4262,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions\/4262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/media\/4261"}],"wp:attachment":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}