Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

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:

  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

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

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