Amazon EC2: Create Volume
Description
Use the step to create an EBS volume that you can attach to an instance in the same availability zone.
Notes:
- Size of volume in GiBs: You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. Following are the sizes of the supported volumes for each volume type:
- gp2 and gp3: 1-16,384
- io1 and io2: 4-16,384
- st1 and sc1: 125-16,384
- standard: 1-1,024
- The volume type parameter can be one of the following values:
- General Purpose SSD: gp2 | gp3
- Provisioned IOPS SSD: io1 | io2
- Throughput Optimized HDD: st1
- Cold HDD: sc1
- Magnetic: standard If you enable Multi-Attach, you can attach the volume to up to 16 Instances built on the Nitro System in the same Availability Zone. This parameter is supported with io1 and io2 volumes only.
- The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:
- gp3: 3,000-16,000 IOPS
- io1: 100-64,000 IOPS
- io2: 100-64,000 IOPS io1 and io2 volumes support up to 64,000 IOPS only on Instances built on the Nitro System. In other instances, families support performance up to 32,000 IOPS.
Configurations
Field name | Description |
---|---|
Step Name | Specify a unique name for the step. |
CONNECTION tab: | Connection fields |
Region | Specify the region where the instance is hosted or choose a region from the Region Explorer window. |
Button: Get | Click Get button to open the Region Explorer window. Choose a Region. |
Access Key: | Access key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave checkbox unchecked to accept Access Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Access Key field to appear as Text box. |
Access Key | Specify the Access Key to authenticate Amazon AWS cloud EC2 instance. If the above checkbox is enabled, Access Key field appears as Text box and accepts static values or variables. And if the above checkbox is disabled, Access Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Secret Key: | Secret key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave checkbox unchecked to accept Secret Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Secret Key field to appear as Text box. |
Secret Key | Specify the Secret Key to authenticate Amazon AWS Cloud EC2 instance. If above checkbox is enabled, Secret Key field appears as Text box and accepts static values or variables. And if the above checkbox is disabled Secret Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Button: Test Connection | Click Test Connection button to verify whether the connection is available or not. Region, Access key and Secret Key are mandatory to authenticate Amazon AWS cloud. For the purpose of verification, fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed. |
INPUT tab: | Input fields |
Availability Zone | Specify the availability zone in which to create the volume. The field type is String. This field is mandatory. |
Volume Size(GiB) | Specify the size of the volume, in GiBs. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. Note: 1 GiB = 1024^3 bytes, whereas 1 GB = 1000^3 bytes. One between Snapshot ID or Volume Size is mandatory. |
Snapshot ID | Specify the snapshot from which to create the volume. One between Snapshot ID or Volume Size is mandatory. |
Volume Type | Select the volume type. Valid Values: standard, io1, io2, gp2, sc1, st1, gp3. |
Encrypt | This Volume Indicates whether the volume should be encrypted. Allowed Values are ‘Yes’ and ‘No’. The default value is ‘No’. |
KMS Key ID | The identifier of the AWS Key Management Service (AWS KMS) KMS key is used for Amazon EBS encryption. Specify KmsKeyId, however, if you do not specify the KmsKeyId, then the AWS KMS key for Amazon EBS is used. |
Enable Multi Attach | Indicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 Instances built on the Nitro System in the same Availability Zone. This parameter is supported with io1 and io2 volumes only. Allowed Values are ‘Yes’ and ‘No’. The default value is ‘No’. |
Throughput(M/s) | Specify the throughput to provision for a volume, with a maximum of 1,000 MiB/s. This parameter is valid only for gp3 volumes. Valid Range: Minimum value of 125. The maximum value of 1000. |
Number of IOPS | Specify the number of I/O operations per second (IOPS). This parameter is required for io1 and io2 volumes. This parameter is not supported for gp2, st1, sc1, or standard volumes. |
Tags | Select if you want to give a tag to your volume. |
Key | If you want to give a tag, then provide the tag key name in this field. |
Value | Specify the value for that respective Tag Key Name. |
OUTPUT tab: | Output fields |
Volume ID | Specify the ID of the volume is given as output through this field.The default value is ‘VolumeID’. |