DEV Community

Cover image for Attaching a New Volume to Your EC2 Instance
Noor Fatima
Noor Fatima

Posted on

1

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay