Open In App

How To Increase The Storage Of EC2 Instance ?

Last Updated : 12 Feb, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

EC2 or Elastic Compute Cloud is a core service provided by Amazon web services (AWS) which is used to create virtual servers on the AWS cloud platform the one that we create using the EC2 service is called an EC2 instance. we can use this ec2 instance to deploy and run a wide variety of applications ranging from simple websites to complex enterprise applications

Step-By-Step Guide To Increase The Storage Of EC2 Instance

Step 1: Log in to your AWS Management Console.

Note: You can either log in using root user credentials or IAM user credentials

aws-login
Step 2: Go to EC2 Console and launch one windows (you can user other operating system instances as well) ec2 instance and connect it using remote desktop connection by providing username and password .

Note: Default username for windows EC2 instance is Administrator

login-(1)

Step 3: In above image you can see that the default size of C drive is 29.9 GB to increase the size or storage of this ec2 instance you need to go back to ec2 console.Click on volumes under Elastic Block Store Menu.

ec2-console

Step 4: Then Select your desired volume and click on actions at top right corner after clicking on it the dropdown menu gives lot of options click on Modify volume

modify-volume

Step 5: Then this page appears here you can select your volume type and can enter your increased size of volume here we have selected the General Purpose SSD (gp2) which is by default provided by aws and increased the size by 30 GB to 40 GB after completing this click on Modify button

size-increase

Step 6: After clicking on modify it will take some time to increase the size of volume then connect to ec2 instance again after connection establishment go to disk partition in that you can see that extra 10 GB volume size is allocated.

volume-2-(1)-compressed

Step 7: You can now either extend the C: Drive from 30 GB to 40 GB or can create another disk consisting of size of 10 GB. Here in this we have extended the volume C: Drive itself!

C-DISK

Step 8: Finally you can see that we have increased to storage of EC2 our instance.

final-resultConclusion

In this article, we have gone through step by step explanation of how we can increase the Storage of our ec2 instance easily.This will helps you to accommodate more data which is incoming.

Increase The Storage Of EC2 instance – FAQ’s

What Are The Different EBS Volume Types And When To Use Each?

Answer:

General Purpose (SSD), Provisioned IOPS (SSD), Magnetic, and Cold HDD. Choose based on performance, capacity, and cost needs.

What are the different ways to increase storage on an EC2 instance?

Answer:

You can increase the size of the root volume, attach additional EBS volumes, or use Amazon FSx for file systems.

What are the different ways to increase storage on an EC2 instance?

Answer:

You can increase the size of the root volume, attach additional EBS volumes, or use Amazon FSx for file systems.

Can We increase the volume size of EC2 instance while it is running?

Answer:

Yes, You can increase the volume size while it is running.



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads