Increase EBS Volume Size without Stopping EC2 Instance in AWS | Extend EBS Volume size in EC2 | AWS
Вставка
- Опубліковано 17 вер 2022
- Increase EBS Volume Size without Stopping EC2 Instance in AWS | Extend EBS Volume size in EC2 | AWS
Hi Learner,
In this video I have shared an exciting information on How to extend/increase/modify EBS volume size.
This can be done on the fly, without even stopping the EC2 instance. Just follow the steps given in the video.
Do let me know in comments if you face any problem.
Increase EBS Volume Size in AWS
===========================================================
Step 1: Take Snapshot of EBS Volume (to be Safe).
Step 2: Increase EBS Volume Size in AWS Console.
Step 3: Extend a Linux file system after resizing a volume.
Command to Extend the file system:
===========================================================
df -hT
Check whether the volume has a partition:
sudo lsblk
Extend the partition:
sudo growpart /dev/xvda 1
Extend the file system on /:
[XFS file system]: sudo xfs_growfs -d /
[Ext4 file system]: sudo resize2fs /dev/xvda1
If you like the video please consider subscribing to the channel and hit the like button and share among your friends.
AWS Playlist: • AWS
Subscribe to the Channel: / amonkincloud
Thank you. I hope this helps. If you find this video useful please Like, Share and Subscribe to the channel!
Subscribe to the Channel: / amonkincloud
Regards,
A Monk in Cloud
(amonkincloud@gmail.com)
#AWS #LearnAWSforFree #Free #FreeResources #Top5 #2022 #AWSCommunityBuilderProgram #Community #UA-cam
#MySql #Server #AWS #EC2 #Instance #EC2_Instance #Demo #MySqlServer #Commands #Queries #LearnAWS #AWSCommunityBuilder #AWSCertified #Backup #Snapshot
#AWS,#LearnAWSforFree,#Free,#FreeResources,#2022,#AWSCommunityBuilderProgram,#Community,#Server,#EC2,#Instance,#EC2_Instance,#Demo,#Commands,
#LearnAWS,#AWSCommunityBuilder,#AWSCertified,#Automation,#SnapshotCreation,#AWSEC2Instance,#CompleteTutorial,#LiveDemo,#ProjectBasedLearning,
#ClearAWSInterview,#InterviewPreparation,#OnlineLearning,#SelfThoughtLearner,#Opportunity,#DevOps,#ITCareer,#DevOpsRoles,#Jobs,#India,#AWSDevops,
#Happy,#AWSAccount,#Protect,#EBSVolume,#AttachEBSVolume,#ExtraEBS - Наука та технологія
Excellent Tutorial... For so many days...I have been looking for it....Thanks
Glad that it helped you
Than you so much. It seems initially not easy for me. Your video helped to do in quick easy steps.
Glad that it helped you.
Thanks for sharing. This example is much easier than stopping the EC2 instance.
You're welcome!
Thanks a lot man. Nice instruction with growpart. Didn't know that command.
Thank you 🙏
Will resizing the EBS volume attached to a PRODUCTION EC2 instance hosting a website result in any downtime during the resizing process?
Thanks Buddy! This was great!!
Thank you 🙏
Thanks for wonderfull content. loved it.
Glad that it helped you
I was facing issue but after renaming the path with /dev/xxxxx it worked. Thanks for nice video.
Glad that it helped
thanks a lot. simple instruction
Thank you
Keep supporting 🙌
Perfect video.
Thank you 🙏
Keep supporting
very helpful Tutorial
Thank you 🙏
Keep supporting
Thanks for very good content
Glad that it helped you
thank you for helping !!
Thank you 🙏
Keep supporting
you are amazin
thanks!!!!
Thank you
Keep supporting 🙏
Thank you very much dear
You are welcome
Great video.
Glad that it helped you
Thank you
You’re welcome
Thank u so much bro
You’re welcome
Thank you sir
Thank you
Keep supporting
Excellent
Thank you 🙏
Thanks
You’re welcome
I only say thank you and subscribe to your youtube.
Thank you 🙏
When you increase the volume, for example if currently my instance has 100GB and I would like to add another 50 GB, should I put size 50GB or I need to add it from the current size 100GB+50GB and with that I have to put 150GB?
Yes
it looks like all my space was used up so it was struggling to extend the storage, fresh start. Terminate instance and increase volume from the start of AMI to 30 GB free for the first year - right :) I didn't realise they were only giving 8GB on Linux platform
Does this replace the root ebs volume with this new one and can i use this method to reduce the ebs ?
It is not recommended to alter the root volume
Df -hT command will work windows ec2 as well?
Nope
while resizing 8g to the 20g is there any data loss, no right?
Nope you have the back up
Hi , can you do a video about resizing the volumes using autoscaling
Did not get your question
I want a video on, Ebs under-provisioned volumes and Ebs over-provisioned volumes...the volume resizes should be done with autoscaling appraoch
Sir how we can extend the partition if filesystem is vfat?
Not sure about vfat
Once the instance size has been increased, how long after the snapshot has to be deleted?
Sorry didn’t get your question
should i delete the snapshot after that
Yes if the restoration is ✅
Helllo sir how to go in terminal plz reply 🥺
Sorry didn’t get your question. Can you please elaborate
@@amonkincloudIn this video, after increasing the storage volume, there is a command step, how to do that 🥺 1:16
Connect to the instance using Instance Connect method or SSH
@@amonkincloud ok sir i will do that ✨
awesome one..thanks
Glad that it helped you
please stop backgroud beats..
Sure