This page shows how to create a new volume in an avaliability zone
Note
This depends on a zone, to get a list of avaliable zone in a specific region, check –lst-zones
>>> ./volumes --create-volume OPTIONS
All parameters should be in format parameter=valie
Options:
--region, -r region of interest EU1,USE1,USW1,Asia1
--zone,-z Avaliability Zone of interest
--from-snapshot,-snap ID for a snapshot
--size,-s Size of new volume
**Note**: Either --size(-s) or -snap (--from-snapshot) should exist in the paramters
AWS Credentials
--private-Key, -pk path of the private file
--certificate, -cert path of the cert file
--conf take credentials from preconfigured file
Example 1
Create a new volume 10GB volume in zone eu-west-1b in region EU1
volumes --create-volume -r=EU1 -z=eu-west-1b -s=10
Output
vol-dc6ca2b4
Example 2
Create a new volume from snapshot snap-1626626 volume in zone eu-west-1b in region EU1
volumes --create-volume -r=EU1 -z=eu-west-1b -snap=snap-1626626
Output
vol-dc6ca2be