Yes, I was doing the simple and basic EBS Volume creation and mounting it. But I got stuck in the 1st point itself.
What is it?
Checking the availability zone.
Yes, this simple mistake will take you hours to debug. So, let’s start from the basics of creating volume and mounting it.
How to Create EBS Volume In AWS?
Step 1 - Start Your Instance in which you want to add a volume.
Go to EC2 Dashboard » Select the instance » Action » Start » Click Volumes under Elastic Block Store
You will be redirected to the Volumes Section.
Step 2 - Creating EBS Volumes
This is the very simple yet most confusing part.
Then you will be directed to a page where we can create the volumes.
And there is the most common mistake I made while creating the EBS Volumes, which we will see.
- Select the size of the disk that you want to add
- Select the availability zone.
The rest of the things you can keep as the default.
The Mistake that I Made While Selecting an Availability Zone
Selecting the wrong Availability Zone.
Yes, the mistake looks small, but it will totally ruin your time.
I know that I have to select an Availability zone that matches my instances. So I checked the availability zone as per the screenshot.
So, I checked at 1 and thought any of us-east-1 zone. But there are mutliple option to choose from. But I selected the default one., i.e., us-east-1a. and proceed with creating the volumes.
However on going forward, when it comes to attaching the volumes to my instance, I couldn’t simply find my instances.
On checking, everything seems fine, however, it is not working.
How To Find Out the Correct “Availability Zone”
This is a very simple and important set.
- Go back instances.
- Select Your Instance
- Click On Networking
Check Availability Zone
Now you have your correct “Availability Zone“, you can create Volumes once again with the correct Availability Zone.
**
Summing Up
**
Creating an Volume without correct availability zone will not work. You have to find correct zone before you can proceed for next step.
I hope you have enjoyed my article and will implement this into your project.






Top comments (0)