Amazon Web Services
Working with Elastic Block Storage

Welcome to Chronicles, let' explore Amazon Elastic Block Store (Amazon EBS).

Description

Working with EBS (Elastic Block Store)

Description

Amazon Elastic Block Store (Amazon EBS) provides block level storage volumes for use with EC2 instances. EBS volumes behave like raw, unformatted block devices. You can mount these volumes as devices on your instances. EBS volumes that are attached to an instance are exposed as storage volumes that persist independently from the life of the instance. You can create a file system on top of these volumes or use them in any way you would use a block device (such as a hard drive). You can dynamically change the configuration of a volume attached to an instance.

We recommend Amazon EBS for data that must be quickly accessible and requires long-term persistence. EBS volumes are particularly well-suited for use as the primary storage for file systems, databases, or for any applications that require fine granular updates and access to raw, unformatted, block-level storage. Amazon EBS is well suited to both database-style applications that rely on random reads and writes, and to throughput-intensive applications that perform long, continuous reads and writes.

Description of EBS

Working

Task 1: Create a New EBS Volume

  1. In the AWS Management Console, on the Services menu, click EC2.
  2. In the left navigation pane, choose Instances.
  3. Note the Availability Zone of the instance. It will look like us-east-1a.
  4. In the left navigation pane, choose Volumes.
  5. Choose Create Volume. Configuring storage for EBS
  6. Your new volume will appear in the list and will move from the Creating state to the Available state. You may need to choose to refresh to see your new volume.

Task 2: Attach the Volume to an Instance

  1. Select My Volume. Volume Creationg
  2. In the Actions menu, choose Attach volume.
  3. Choose the Instance field, then select the instance that appears (Lab).
  4. Note that the Device field is set to /dev/sdf. You will use this device identifier in a later task.
  5. Choose Attach volume. The volume state is now In-use. Attach New volume to the instance

Congratulations!! You have successfully explored the features of AWS EBS and a volume of 10GB has been attached along with the given 8GB volume for a Linux instance.