Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

EC2 – EBS Volume Demo:

In this tutorial we are going to Explore and setup extra volume to EC2 instance

Step 1 – Login to AWS console, launch EC2 launch wizard page.

New EC2 console

Step 2 – Launch and Ec2 instance – traverse to Storage selection block.

It will look something like this, and default view where an EC2 is having root volume only

Now we will add another volume – click on add new volume button

Have added another EBS volume, of size 2gb and of type GP2. Termination protection is on – means it will be terminated if and when EC2 instance gets terminated.

Device column stores information about the path where we would be mounting the addition volume.

Snapshot column gives us option about taking base backup snapshot – new volume would be created from that . More on this in the upcoming EBS tutorials Stay Tuned 🙂

Launch the EC2 instance now, keep the key pair handy. SSH into the EC2 once its initialised.

Step 3 – Setting up the new addition volume in the EC2.

After SSH, you will have window like below, I’m using Mac Terminal for SSH. Windows we can use putty.

Lets list all the volumes attached to the EC2 instance

// this will return all the volumes attached
$ lsblk 

We should get something like this, if not trying going back to EC2 details and see if you have missed anything in Step 2 above.

So it’s showing we have two volumes xvda and xvdb. Out of which xvda is mounted as root volume ‘/’ and the other one is not.

xvdb is the volume which we have selected additional volume.

Now we fill format the new volume with file system type and post the we would mount it. After which can be used.

Follow along with me.

// if this returns data means new added volume is not having file system
$ sudo file -f /dev/xvdb

For me it came data after executing above command, as we choose blank in snapshot column.

Let’s create a file system in the volume.

// this will create file system
$ sudo mkfs -t xfs /dev/xvdb

We will create mount point, to mount this volume.

$ sudo mkdir /newvolume

Mount the volume to this mount point

$ sudo mount /dev/xvdb /newvolume

Let’s try to list attached volumes now – try lsblk command again.

If you see something like this – you are good to go.

Thank you for reading, Have a great day and and awesome year !!

Gaurav Bajpai