Playing with EC2 Instances and Elastic Block Storage Volumes | Scribe

    Playing with EC2 Instances and Elastic Block Storage Volumes

    • Hafeez Baig |
    • 26 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>
    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 to view the Volumes dashboard
    information ordinal icon
    **What are Volumes in Amazon EC2?** In Amazon EC2 (Elastic Compute Cloud), volumes refer to the virtual block storage devices that you can attach to EC2 instances to provide persistent storage. These volumes are used for storing data, operating system files, and application files.
    4
    Click on the **Create volume** button from the top right of the page to create a volume
    5
    **Create volume** wizard will open, select **General Purpose SSD (gp3)** from the Volume type dropdown
    information ordinal icon
    **What is General Purpose SSD (gp3) in Amazon volumes?** General Purpose SSD (gp3) is a type of Amazon Elastic Block Store (EBS) volume type designed to offer a balance of price and performance for a wide variety of workloads. These volumes provide low-latency performance suited for a broad range of transactional workloads, including small to medium-sized databases, development and testing environments, and boot volumes.
    6
    On the **Size (GiB)** section type "**1"** in the text input field
    7
    Scroll to the **Availability Zone** section and select the option **us-east-2b** from the dropdown
    8
    Scroll the page and click on **Create volume** button
    9
    Successfully created volume
    10
    On the **Volumes** dashboard, select the volume which is recently created
    11
    Scroll the page to the selected volume and locate the **Attached resources** section. You can view that there is no resources attached
    12
    Hover over the **Name** section and click on the pencil wiget to rename the selected volume
    13
    Edit Name wizard will open, provide the name as "**CustomCreatedVolume"** and click on the **Save** button
    14
    On the top right top corner click on the **Actions** dropdown button and select the option **Attach volume**
    15
    **Attach volume** wizard will open, verify the **Availability zone** in which the voulme is created
    16
    Scroll to the **Instance** section and from the dropdown select the option **EBS Instance C**