Update README.md

This commit is contained in:
Colin Johnson 2013-11-18 16:13:50 +00:00
parent 43274cf164
commit 1b5acf6ede

View File

@ -2,14 +2,17 @@
ec2-modify-ebs-volume.py was created to modify an EBS volumes attached to a running instance. The typical use case would be to increase the size of the EBS device or to change the volume type from standard to provisioned iops. The script follows the procedure detailed in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html. The script does not change the file system on the volume itself - this is left up to the user although some operating systems may automatically grow the file system to the size of a given volume. ec2-modify-ebs-volume.py was created to modify an EBS volumes attached to a running instance. The typical use case would be to increase the size of the EBS device or to change the volume type from standard to provisioned iops. The script follows the procedure detailed in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html. The script does not change the file system on the volume itself - this is left up to the user although some operating systems may automatically grow the file system to the size of a given volume.
# Directions For Use: # Directions For Use:
## Examples of Use: ## Examples of Use:
./ec2-modify-ebs-volume.py --instance-id i-6702f11d --volume-size 60 ./ec2-modify-ebs-volume.py --instance-id i-6702f11d --volume-size 60
the above example would modify the root device of i-6702f11d to be 60 GB in size. the above example would modify the root device of i-6702f11d to be 60 GB in size.
./ec2-modify-ebs-volume.py --instance-id i-6702f11d --device /dev/sdf --volume-size 60 ./ec2-modify-ebs-volume.py --instance-id i-6702f11d --device /dev/sdf --volume-size 60
the above example would modify the /dev/sdf device to be 60 GB in size. the above example would modify the /dev/sdf device to be 60 GB in size.
./ec2-modify-ebs-volume.py --instance-id i-6702f11d --volume-type io1 --iops 527 ./ec2-modify-ebs-volume.py --instance-id i-6702f11d --volume-type io1 --iops 527
the above example would modify the root device of i-6702f11d to a provisioned iops volume with 527 iops performance. the above example would modify the root device of i-6702f11d to a provisioned iops volume with 527 iops performance.
## Required Parameters: ## Required Parameters:
ec2-modify-ebs-volume.py requires the --instance-id parameter. ec2-modify-ebs-volume.py requires the `--instance-id` parameter.
## Optional Parameters: ## Optional Parameters:
optional parameters are available by running `ec2-modify-ebs-volume.py --help`. optional parameters are available by running `ec2-modify-ebs-volume.py --help`.
# Additional Information: # Additional Information: