Add SSD storage to AWS EC2 reserved instance - amazon-web-services

I am new to AWS EC2 and I have just purchased a t3 medium reserved instance. I would like to add 100 GB of SSD storage to my instance and use it as the instance's primary hard disk. How can I do this? I did not see any option of adding and configuring the SSD disk when I purchased the instance.
I have purchased a linux/unix instance without any AMI. I intend to install Ubuntu 18.04 as the OS. Please advise.

In AWS your SSD disk is known as an EBS Volume.
To update the volume size you would from the EC2 console want to find your current volume and right click on it. Then click modify volume and select your new size.
If you haven't created your instance yet you can specify the size during the wizard.

Related

AWS EC2 how to use pre-existing EBS volume as main bootable disk?

We have a EBS volume from a previous T2 instance, which contains operating system, mysql installation, created users and all configurations.
For launching a new instance (T2), how to use
the pre-existing EBS volume as main bootable disk so that we have the operating system, apps and all configurations? This would save us days of time and efforts.
For a business application, should we choose T2 or T3?
As discussed you can perform the below steps to create an EC2 instance from a pre existing EBS volume.
Create a snapshot from the EBS volume.
Create an AMI from the same.
Look for the AMI in your private AMI.
Create the EC2 instance with desired instance-type from this AMI.
Also you need to care for the EBS volumes with this new EC2 instance with minimum EBS volume size etc.
Please let me know.

AWS EBS volume not showing up windows disk management

I created an EC2 Windows instance with gp2 EBS volume.
But on logging into the windows system and checking on Disk Management, I don't find the added volume space under both un-allocated or primary partition.
I created the instance using an AWS launch template and the Device name of EBS was given as xvda.
What am I missing here?
Changing the name of EBS from xvda to xvdd in ec2 launch template and creating a new instance solved the issue.
Seems like any EBS Device name below C is not shown in Disk Management, which is weird.
For those who cannot create a new instance, create a new volume from EBS volume and attach it to instance manually and restart the windows machine. Then it would come up in the Disk management.

How to increase the size of AWS EC2 block storage?

I am a beginner of AWS.
I've created my Windows EC2 instance and now using it as Free tier.
The default storage size is 30GB.
And I've tried to increase this. Changed volumn size to 50 GB and on Windows system, I've also expanded the size to 50GB using Disk management too.
But the size is still 30GB and the alert for size limit to me.
How can I expand the size of AWS EC2 block storage correctly?
Please help me.. thanks.
You can achieve the same by following these steps:
Create an Image/Snapshot of the current EC2 instance (FREE Tier)
Launch a new EC2 instance using that image AMI
Select the preferred disk size in disk selection step
Once the new instance is ready, you can associate the Old Elastic IP to new EC2 instance.
You are done with increasing the disk size.
You can then retire the old EC2 instance
Not sure where are you seeing this size.
Steps are,
Increase size of EBS volume from console
2.Once the volume is optimized(You can see this on EBS dashboard)
Stop/Start the machine and you will see the increase in size

AWS EC2 - Where is EBS Volume on My Instance That Was Cloned From an AMI Image?

I have an AMI image that was originally created from an instance where I had an EBS volume with 20 GBs of storage. So the original instance had a C:\ drive (runs Windows OS) of 20 GBs. When I launched another instance with the AMI image created from the original instance, I noticed that the C:\ drive is still only 20 GBs even though I requested the EBS volume on the new instance to be 200 GBs.
When I look at the EBS Volumes section of my EC2 console, I can see the new EBS storage of 200 GBs and it's attached to my new instance.
Why am I not seeing this new EBS storage as a hard drive in my server?
It may be that the space is available, you just need to extend into it. Run diskmgmt.msc in Windows and see if there is space showing on your existing 20GB volume
I followed the guide at http://technet.microsoft.com/en-us/library/cc771473.aspx on how to extend a hard drive and it did the trick

AWS EC2 extension adding disk space redhat

I would like to increase the size of EC2 disk space on AWS.
I have Redhat AMI that is connected to this volume.
What is the best way to increase the space (without losing the data)?
You can attached EBS to it.
This is a network based disk that you can create and then attach it to the instance. You can later detach it and attach it again to this or other instances. You can also take snapshot of this disk as backup or to create new EBS from it.