Managing EBS Volumes in AWS EC2
In this lesson, we explored how to view, create, attach, and delete EBS volumes within the AWS EC2 console. Below is a structured breakdown of the key steps and concepts.
1. Viewing EBS Volumes Attached to an EC2 Instance
- Go to the EC2 Console → Click on your instance.
- Navigate to the "Storage" tab.
- Check the Root Device and Block Devices
- The root volume (default) is typically 8GB.
- Any additional volumes attached will be listed under block devices.
- Click on a volume to view details in the EBS Volumes Console.
2. Creating a New EBS Volume
- Go to the "Volumes" section on the left-hand menu in the EC2 Console.
- Click "Create Volume".
- Choose Volume Type
- Options: GP2, GP3, IO1, IO2, ST1, SC1.
- In this case, we used GP2 (General Purpose SSD).
- Set Volume Size
- Choose the Availability Zone (AZ)
- Must match the AZ of the EC2 instance for attachment.
- Find the AZ of your instance under Instance Details → Networking.
- Click "Create Volume".
3. Attaching an EBS Volume to an EC2 Instance
- Select the newly created volume (status: Available).
- Click "Actions" → "Attach Volume".