AWS/EC2 – Adding Elastic Block Storage ( EBS )

Background

Wanted to quickly go over the process of adding Elastic Block Storage ( EBS ) to an EC2 Instance.

What is Elastic Block Storage

A quick definition is available here.

Amazon Elastic Block Store (Amazon EBS) provides persistent block storage volumes for use with Amazon EC2 instances in the AWS Cloud. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability. Amazon EBS volumes offer the consistent and low-latency performance needed to run your workloads. With Amazon EBS, you can scale your usage up or down within minutes – all while paying a low price for only what you provision.

Amazon EBS is designed for application workloads that benefit from fine tuning for performance, cost and capacity. Typical use cases include Big Data analytics engines (like the Hadoop/HDFS ecosystem and Amazon EMR clusters), relational and NoSQL databases (like Microsoft SQL Server and MySQL or Cassandra and MongoDB), stream and log processing applications (like Kafka and Splunk), and data warehousing applications (like Vertica and Teradata).

Overview

  1. Logon to your AWS Console
  2. EC2 Instance
    • Access EC2 Instance page ( https://console.aws.amazon.com/ec2/v2/ –  Link )
    • On the left panel,  Access Instances
    • Search for host among list of EC2 Instances
    • Note Instance Information
      • Instance Name
      • Availability Zone
        • Ours is us-east-1c
  3. Storage
    • Access EC2 Page
    • On the left panel,  Access Elastic Block Storage ( EBS ) / Volumes
    • Volumes
      • The EBS Volumes are listed
      • Click on the “Create Volume” link
      • Fill out information on new storage
        • Volume Type
          • General Purpose SSD ( gp2)
        • Storage Size
          • For us we specified 1200 GB
        • Availability Zone
          • The zones is your current region are listed
          • We chose us-east-1c to match our targeted host’s zone
        • Tags
          • Please provide useful identifying tags
  4. Attach Instance to Host
    • Using Remote Desktop connect to host
    • Launch Computer Management
    • Access Storage / Disk Management
    • Scan Disks
    • Initialize Disk
    • Format Disk
    • Assign Drive Letter

 

ScreenShot

Instances

Instance – 01

Find Instance ( using Private IP Address )

management-integrationservices.20190416.0258PM.PNG

Elastic Block Storage ( EBS )

Elastic Block Storage – Volumes

List Volumes

ElasticBlockStorage.List.01.20190416.0228AM.PNG

 

Create Volume

Enter Volume Information

ElasticBlockStorage.CreateVolume.01.20190416.0301AM.PNG

Volume Create Successfully

ElasticBlockStorage.CreateVolume.02.successful.20190416.0302AM.PNG

Attach Volume

Attaching Volume

ElasticBlockStorage.AttachVolumes.01.20190416.0958AM.png

Host

Computer Management

Computer Management \ Storage \ Disk Management

Screen – 01

ComputerManagement.20190416.0235AM.PNG

 

Screen – 03

Disk Scanned

ComputerManagement.03.20190416.0308AM.PNG

Screen – 04

Prepare to Initialize Disk ..

ComputerManagement.04.InitializeDisk.20190416.0309AM.PNG

Screen – 05

Initialize Disk ..

ComputerManagement.05.InitializeDisk.20190416.0310AM.PNG

Screen – 06

Disk Initialized

ComputerManagement.Browse.01.20190416.0311AM.PNG

Screen – 08

New Simple Volume Wizard

ComputerManagement.SimpleVolumeWizard.01.0311AM.PNG

Screen – 08

New Simple Volume Wizard – Specify Volume Size

ComputerManagement.SimpleVolumeWizard.SpecifyVolumeSize.02.0312AM.PNG

Screen – 09

New Simple Volume Wizard – Assign Drive Letter or Path

ComputerManagement.SimpleVolumeWizard.AssignDriveLetter.01.0313AM.PNG

 

Screen – 09

New Simple Volume Wizard – Format Partition

ComputerManagement.SimpleVolumeWizard.FormatPartition.01.0315AM.PNG

Screen – 10

New Simple Volume Wizard – Completing the New Simple Volume Wizard

ComputerManagement.SimpleVolumeWizard.Completing.01.0315AM.PNG

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s