Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Clouds > AWS > Tutorials > Create a New EBS Volume

Create a New EBS Volume

Objective

Create an EBS Volume from scratch in EC2.

Table of Contents

Overview

When creating an EBS volume, there are three EBS volume types to be aware of: Standard, Provisioned IOPS, and General Purpose (SSD). A Standard volume is best suited for boot volumes and provides roughly 100 IOPS (Input/Output Operations Per Second) on average. Provisioned IOPS volumes are designed to provide predictable, high performance I/O workloads that range up to 4000 IOPS and are best suited for database workloads. General Purpose (SSD) volumes are a good choice for small and medium databases, development and test environments, and boot volumes with an initial burst allocation of up to 3,000 IOPS for 30 minutes.You can either create an EBS Volume from scratch or create an EBS Volume from an existing EBS Snapshot.  This tutorial focuses on creating an EBS volume from scratch.

When you create an EBS Volume, you should carefully consider where it should be created.  The first question you should ask yourself is "Where is my instance?"  Remember, you can only attach a volume to an instance in the same availability zone.  Once you create a volume and specify its location, you will not be able to change its availability zone.  To launch a volume into a different Availability Zone you need to Create an EBS Standard Volume from a Snapshot or, if you're creating a Provisioned IOPS, see Create an EBS Provisioned IOPS Volume from a Snapshot.

EBS volumes and snapshots are EC2 region-specific.  You cannot use a volume/snapshot that you created in EC2-US in a different region like EC2-EU.  This tutorial assumes you are creating an EBS volume for EC2-US.

 

ebs_diagram_create_zones.gif

Steps

Create an EBS Volume from Scratch

  1. To create an EBS Volume from scratch, go to Clouds > AWS Region > Volumes.
  2. Click the New button.

 

screen-clouds-aws-new-volume_v2.png

 

  • Name - Specify a Name for your volume.  You can change the name at any time, but it will still be associated with the correct snapshot.   NOTE: Amazon will create a unique AWS ID for each volume (ex: vol-6052E7b23)
  • Description (optional) - Provide a short description that explains the purpose of the volume.  You can change the description at any time.
  • Datacenter/Zone (required) - Specify the Availability Zone where you would like this volume to be placed.  Remember, you can only attach a volume to an instance in the same Availability Zone. 
  • Snapshot - Since you are creating a volume from scratch, leave this value as "-none-."
  • Attach To - Select a deployment you want the volume to attach to.
  • Device - Select a device node identifier.
  • Volume Type - The type of EBS volume. Either "Standard", "io1", or "gp2" can be selected. A Standard volume is best suited for boot volumes and provides roughly 100 IOPS (Input/Output Per Second) on average. Provisioned IOPS volumes (io1) are designed to provide predictable, high performance I/O workloads that range up to 2000 IOPS and are best suited for database workloads. General Purpose (SSD) volumes (gp2) are a good choice for small and medium databases, development and test environments, and boot volumes with an initial burst allocation of up to 3,000 IOPS for 30 minutes.
  • Size in GB - Specify the desired size of the volume.  (The minimum size is 1GB, the maximum is 1TB.  One terabyte is 1000 gigabytes, so you the maximum you can enter in this field is 1000.)   $0.10/GB per month.
  • IOPS - This field will appear if "io1" is chosen as a Type. The IOPS to volume size ratio can be a maximum of 30 IOPS/GB. Therefore, if the Size in GB is 10GB, the highest the IOPS value can be set to is 300. The range to create a Provisioned IOPS volume is is 300 IOPS and 10GB up to 4,000 IOPS and 133GB.
  • Encrypted - Enable this checkbox if you need your volume encrypted.

 

Note: When you select Provisioned IOPS volumes, you are charged by the amount you provision in GB per month as well as the amount you provision in IOPS. For more information about EBS pricing, see Amazon Elastic Block Store (EBS) Pricing.

 

  1. Click Create when ready.

Next Steps

Now you're ready to attach your EBS volume. See Attach an EBS Volume to an instance.

Post Tutorial Steps

Once you create an EBS Volume, you will no longer be able to make changes to its size or availability zone, etc.  You will only be able to change what's inside the volume.  However, there is a procedure for growing an EBS volume.  (Warning:  As with any procedure involving sensitive data, the procedure should be completed with great care by those who know what they are doing.)

See also

You must to post a comment.
Last modified
14:37, 18 Sep 2014

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.