MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

AWS Tutorials: EBS – Steps to Increase the Disk Size on a Running EC2 Instance:

you can increase the disk size of an Amazon EC2 instance while it is running. Amazon allows you to modify the size of an Elastic Block Store (EBS) volume, which is the disk attached to your EC2 instance. Here’s how you can do it:

Steps to Increase the Disk Size on a Running EC2 Instance:

1. Modify the EBS Volume in the AWS Console

  1. Go to the EC2 Dashboard in the AWS Management Console.
  2. Click on Volumes under the “Elastic Block Store” section on the left-hand menu.
  3. Find the EBS volume attached to your EC2 instance.
  4. Select the volume and click on the Actions dropdown menu.
  5. Choose Modify Volume.
  6. In the “Size” field, change the disk size from 50 GB to 100 GB.
  7. Click Modify to save the changes.

The disk size will be increased, but the additional space will not be available to the EC2 instance until you resize the partition on the operating system.

2. Resize the Partition on the EC2 Instance

After modifying the volume size, you need to extend the partition on your EC2 instance so that it can use the newly added space. The steps vary depending on the operating system of your instance (Linux or Windows).

For Linux Instances:

Terminal running lsblk, resize2fs, xfs_growfs and df -h showing a 97G root filesystem on EC2
  1. Connect to the EC2 instance via SSH.
  2. Check the current disk size to confirm that the volume has been extended:bash

lsblk
sudo resize2fs /dev/xvda1
sudo xfs_growfs /
df -h

For Windows Instances:

  1. Connect to the EC2 instance via Remote Desktop Protocol (RDP).
  2. Go to Disk Management:
    • Right-click the Start button and select Disk Management.
  3. Find the EBS volume (usually C:) and notice the unallocated space.
  4. Right-click on the partition and select Extend Volume.
  5. Follow the steps in the wizard to extend the volume.

Things to Note:

  • The process does not cause downtime, and the instance remains running.
  • Make sure to create a snapshot of the volume before modifying it to ensure you have a backup in case of any issues.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

AWS Tutorial: Auto mount EBS Volume to ec2 Linux instance on Reboot

By default on every reboot, the EBS volumes other than root volume will get unmounted. To enable automount, you need to make an entry in the /etc/fstab…

Read More

AWS Tutorial: How to Attach and Mount an EBS volume to EC2 Linux Instance?

Step 1 – Create a Volume Step 2 – Attach a Volume to EC2 Instance Step 3 – Verify if Volume is attached or not Verify if…

Read More

EC2 – EBS Volume Demo:

In this tutorial we are going to Explore and setup extra volume to EC2 instance Step 1 – Login to AWS console, launch EC2 launch wizard page….

Read More

EC2 Boot from EBS Explained: Architecture, Trade-offs, and an AWS CLI Workflow

Booting Amazon EC2 instances from Amazon EBS was a major shift from ephemeral root disks to persistent root volumes. This guide explains what changed, why it mattered, and how to use the model safely in modern operations.

Read More

Cloud Tools Adds Amazon EBS Support: Durable EC2 Storage for Database Workloads

This historical update covers when Cloud Tools introduced Amazon EBS support for EC2 applications, including database-backed deployments. It explains the supported storage modes, the backup/restore flow, and practical command-level equivalents.

Read More

AWS Storage: FAQ

Can u attach Aws vm or you can’t attach disks to a running VM? Yes, you can attach EBS volumes to running EC2 instances in AWS. This…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x