You can't decrease the volume size directly. But you can do this by creating a new volume. You can follow the below steps.
Snapshot the volume.
Create a new smaller EBS volume.
Attach the new volume.
Format the new volume.
Mount the new volume.
Copy data from the old volume to the new volume.
Prepare the new volume.
Detach and unmount the old volume.
Try to unmount your default partition. It may crash your instance. So don't try with your original one where you have your running application. Try with a new instance.
I have golden AMI. Just I started instance from that AMI. Now I'm going to try copy data from C: to the newly created volume by using the below command.
>xcopy /s C:\*.* D:\
After copied data from C:\ to D:\
One message appeared like "sharing violation"
What's the issue?
You will access the server the same ...READ MORE
To use AWS SDK simply follow the ...READ MORE
You can try these steps to put ...READ MORE
Hey, you've been using a correct code ...READ MORE
Here for the above mentioned IAM user ...READ MORE
Check if the FTP ports are enabled ...READ MORE
To connect to EC2 instance using Filezilla, ...READ MORE
The IAM username and password can only ...READ MORE
To copy your AMI from one region ...READ MORE
You can create a session in your ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.