{"id":62404,"date":"2022-04-29T13:05:00","date_gmt":"2022-04-29T17:05:00","guid":{"rendered":"https:\/\/jumpcloud.com\/?p=62404"},"modified":"2024-08-14T17:19:51","modified_gmt":"2024-08-14T21:19:51","slug":"how-to-extend-aws-ebs-volume-without-reboot","status":"publish","type":"post","link":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot","title":{"rendered":"How To Extend an EBS Volume Without an Instance Reboot"},"content":{"rendered":"\n

Jump to Tutorial<\/a><\/p>\n\n\n\n

If you\u2019re running your organization\u2019s technical infrastructure, you\u2019ll likely need to make adjustments at some point in response to growing demands. <\/p>\n\n\n\n

In the traditional on-premise computing model, this was a tedious and time-consuming task with additional overhead costs. Thankfully, with cloud technology, scaling your resources has never been easier. You can easily add or remove resources on your cloud infrastructure with just a few clicks.<\/p>\n\n\n\n

On AWS for example, you can easily adjust the size of your EBS volumes as you deem fit. In this guide, you will learn how to extend an EBS volume without the need for an EC2 instance reboot.<\/p>\n\n\n\n

Step 1: Verify the Block Volume Size<\/h2>\n\n\n\n

The first step is to check the size of your EC2 instance\u2019s current block volume.<\/p>\n\n\n\n

$ lsblk | grep xvda<\/code><\/p>\n\n\n\n

A block size of 8G is included in AWS Free Tier if you followed the default options when creating your EC2 instance.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 2: Modify the Block Volume Size<\/h2>\n\n\n\n

Let\u2019s say you want to scale up your block size to 50G. To achieve this, head over to the \u201cElastic Block Store<\/strong>\u201d section on the left sidebar and click on Volumes<\/strong>.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

This populates the EBS block volume associated with your EC2 instance. To modify the block size, right-click and select the \u201cModify Volume<\/strong>\u201d size.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

A pop-up window appears displaying information about the volume ID, volume type, and size. To increase the size of the EBS volume, specify a block size of 50GB and then click the Modify<\/strong> button.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

On the next pop-up, click on Modify<\/strong> and confirm your changes when prompted. This takes a few minutes to complete. You\u2019ll receive a notification that indicates whether the change was successful. <\/p>\n\n\n\n

Note that additional charges may apply for the new volume size modification. Check out the Amazon EBS pricing<\/a> list for a comprehensive breakdown of the charges.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Step 3: Extend Filesystem to Match the New Block Size<\/h2>\n\n\n\n

At this point, the block size has been scaled up to 50GB. However, to use the additional space, you need to extend the filesystem to correspond to the new block size.<\/p>\n\n\n\n

To do so, use the growpart<\/code> command to extend the partition to fill the available space as follows:<\/p>\n\n\n\n

$ sudo growpart \/dev\/xvda 1<\/code><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Next, run the resize2fs<\/code> command to resize the filesystem.<\/p>\n\n\n\n

$ sudo resize2fs \/dev\/xvda 1<\/code><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

At this point, you can now use the additional space of the new block size without a problem. To confirm the new block size, run the command:<\/p>\n\n\n\n

$ lsblk | grep xvda<\/code><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Conclusion<\/h2>\n\n\n\n

You can now extend EBS volume on an Amazon EC2 instance without a reboot. As you can see, getting more storage space on your EC2 instance is a simple and straightforward process.<\/p>\n\n\n\n

An administrative process that is less straightforward, however, is securing access to your Infrastructure-as-a-Service (IaaS)<\/a> resources and ensuring only the right people have access to the right resources at the right time. <\/p>\n\n\n\n

Enter JumpCloud. Instead of managing your IaaS deployment as a separate network \u2014 and dealing with the costs, security risks, and additional complexity that come along for the ride \u2014 you can unify the identity and access management<\/a> (IAM) needs of your IT environment into a single cloud-based directory platform<\/a>.<\/p>\n\n\n\n

Learn more about how to streamline the way you manage and provision access to your organization\u2019s servers<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"

Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.<\/p>\n","protected":false},"author":131,"featured_media":62406,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"categories":[23,2337],"tags":[],"collection":[2778,2777],"platform":[],"funnel_stage":[3017],"coauthors":[2568],"acf":[],"yoast_head":"\nHow To Extend Amazon EBS Volume Without an EC2 Reboot - JumpCloud<\/title>\n<meta name=\"description\" content=\"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Extend an EBS Volume Without an Instance Reboot\" \/>\n<meta property=\"og:description\" content=\"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-29T17:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-14T21:19:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"241\" \/>\n\t<meta property=\"og:image:height\" content=\"262\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kelsey Kinzer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kelsey Kinzer\" \/>\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:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#article\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\"},\"author\":{\"name\":\"Kelsey Kinzer\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/c4e9aeadd98cafbd216d3134ad10ab13\"},\"headline\":\"How To Extend an EBS Volume Without an Instance Reboot\",\"datePublished\":\"2022-04-29T17:05:00+00:00\",\"dateModified\":\"2024-08-14T21:19:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\"},\"wordCount\":543,\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png\",\"articleSection\":[\"Best Practices\",\"Remote Work\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\",\"url\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\",\"name\":\"How To Extend Amazon EBS Volume Without an EC2 Reboot - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png\",\"datePublished\":\"2022-04-29T17:05:00+00:00\",\"dateModified\":\"2024-08-14T21:19:51+00:00\",\"description\":\"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png\",\"width\":241,\"height\":262},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Extend an EBS Volume Without an Instance Reboot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/c4e9aeadd98cafbd216d3134ad10ab13\",\"name\":\"Kelsey Kinzer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/08f33caaabd3e83507748fcc2d575a67\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9a16ebe214c820d6c288597039b7e89f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9a16ebe214c820d6c288597039b7e89f?s=96&d=mm&r=g\",\"caption\":\"Kelsey Kinzer\"},\"description\":\"Kelsey is a passionate storyteller and Content Writer at JumpCloud. She is particularly inspired by the people who drive innovation in B2B tech. When away from her screen, you can find her climbing mountains and (unsuccessfully) trying to quit cold brew coffee.\",\"sameAs\":[\"https:\/\/jumpcloud.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Extend Amazon EBS Volume Without an EC2 Reboot - JumpCloud","description":"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.","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:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot","og_locale":"en_US","og_type":"article","og_title":"How To Extend an EBS Volume Without an Instance Reboot","og_description":"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.","og_url":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot","og_site_name":"JumpCloud","article_published_time":"2022-04-29T17:05:00+00:00","article_modified_time":"2024-08-14T21:19:51+00:00","og_image":[{"width":241,"height":262,"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png","type":"image\/png"}],"author":"Kelsey Kinzer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kelsey Kinzer","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#article","isPartOf":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot"},"author":{"name":"Kelsey Kinzer","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/c4e9aeadd98cafbd216d3134ad10ab13"},"headline":"How To Extend an EBS Volume Without an Instance Reboot","datePublished":"2022-04-29T17:05:00+00:00","dateModified":"2024-08-14T21:19:51+00:00","mainEntityOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot"},"wordCount":543,"publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png","articleSection":["Best Practices","Remote Work"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot","url":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot","name":"How To Extend Amazon EBS Volume Without an EC2 Reboot - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage"},"image":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png","datePublished":"2022-04-29T17:05:00+00:00","dateModified":"2024-08-14T21:19:51+00:00","description":"Ready to scale your AWS resources? Learn how to extend an EBS volume without the need for an EC2 instance reboot.","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#primaryimage","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2022\/04\/extend-ebs-volume-2.png","width":241,"height":262},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/blog\/how-to-extend-aws-ebs-volume-without-reboot#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"How To Extend an EBS Volume Without an Instance Reboot"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/c4e9aeadd98cafbd216d3134ad10ab13","name":"Kelsey Kinzer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/person\/image\/08f33caaabd3e83507748fcc2d575a67","url":"https:\/\/secure.gravatar.com\/avatar\/9a16ebe214c820d6c288597039b7e89f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9a16ebe214c820d6c288597039b7e89f?s=96&d=mm&r=g","caption":"Kelsey Kinzer"},"description":"Kelsey is a passionate storyteller and Content Writer at JumpCloud. She is particularly inspired by the people who drive innovation in B2B tech. When away from her screen, you can find her climbing mountains and (unsuccessfully) trying to quit cold brew coffee.","sameAs":["https:\/\/jumpcloud.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/62404"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/131"}],"replies":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/comments?post=62404"}],"version-history":[{"count":3,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/62404\/revisions"}],"predecessor-version":[{"id":113945,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/posts\/62404\/revisions\/113945"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media\/62406"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=62404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/categories?post=62404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/tags?post=62404"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/collection?post=62404"},{"taxonomy":"platform","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/platform?post=62404"},{"taxonomy":"funnel_stage","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/funnel_stage?post=62404"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=62404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}