Attaching a New Volume to Your EC2 Instance

noorscript

Noor Fatima

Posted on July 21, 2024

Attaching a New Volume to Your EC2 Instance

As your application scales, you may need additional storage. Here’s how you can easily attach a new volume to your EC2 instance:

Steps to Attach a New Volume

Step 1: Create a New Volume

  • Navigate to the EC2 Dashboard: Open the AWS Management Console and go to the EC2 Dashboard.
  • Create Volume: In the left-hand menu, click on "Volumes" under "Elastic Block Store," then click "Create Volume."
  • Configure Volume: Choose the volume type, size, and availability zone (ensure it matches your instance's availability zone).

Step 2: Attach the Volume to Your Instance

  • Select Volume: In the Volumes list, select the volume you just created.
  • Attach Volume: Click "Actions" and then "Attach Volume."
  • Add Screenshot: Show the "Attach Volume" option in the Actions menu.
  • Choose Instance: Select the instance you want to attach the volume to from the list.
  • Device Name: Assign a device name (e.g., /dev/sdf).
  • Attach: Click "Attach Volume."

By following these steps, you'll successfully add a new volume to your EC2 instance, ready for further configuration.

💖 💪 🙅 🚩
noorscript
Noor Fatima

Posted on July 21, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related