2 - Mounting Elastic Block Storage onto a EC2 Instance | Scribe

    2 - Mounting Elastic Block Storage onto a EC2 Instance

    • Hafeez Baig |
    • 21 steps |
    • 2 minutes
    information ordinal icon
    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg> Refer to this guide to learn how to create an EC2 instance with Elastic Block Storage Volumes<https://scribehow.com/shared/Creating_EC2_Instances_with_Elastic_Block_Storage_Volumes__H_2IgXHhQk62AOL09PCbxw>
    1
    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice
    2
    Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard
    information ordinal icon
    **What is EC2 in AWS?** Amazon Elastic Compute Cloud (Amazon EC2) is a web service provided by Amazon Web Services (AWS) that allows users to rent virtual servers, known as instances, on which they can run their own applications. EC2 provides resizable compute capacity in the cloud, making it easy to scale computing resources up or down based on demand.
    3
    On the EC2 dashboard click on **Volumes** from the left bar
    information ordinal icon
    **What are Volumes in AWS?** A "Volume" in AWS typically refers to an Elastic Block Store (EBS) volume, providing persistent block-level storage for Amazon EC2 instances.
    4
    **Volumes** wizard will open, select the volume with size **1 GiB**
    5
    To Detach a Volume, click on the **Actions** dropdown button and select the option **Detach volume**
    6
    **Detach** wizard will open, click on the **Detach** button
    information ordinal icon
    Congratulations on successfully detaching the volume!
    7
    To **Attach** a Volume, select the volume with size **1 GiB**
    8
    Click on the **Actions** dropdown button and select the option **Attach Volume**
    9
    Attach Volume wizard will open, Scroll to the Availability Zone section and verify it is in **us-east-2a**
    10
    Click on the Instance dropdown and select option **EBS Instance A** as we want to Attach to EBS Instance A
    11
    Keep the **Device name** section as it is, following the recommended settings and click on the **Attach volume** button
    information ordinal icon
    Congratulations on successfully attaching the volume to EBS Instance A! Well done!
    12
    To connect an Attached volume, click on **Instances** from the left bar to view the EC2 instances
    13
    **Instances** wizard will open, select the Instance **EBS Instance A**
    14
    On the top right corner click on the **Actions** dropdown button select the option **Connect**
    15
    Scroll the page and click on the **Connect** button