Create an EBS Volume from scratch in EC2.
Table of Contents
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.
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.
Now you're ready to attach your EBS volume. See Attach an EBS Volume to an instance.
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.)
© 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.