Introduction to Elastic Block Storage (EBS)

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
19 hours 19 minutes
Difficulty
Intermediate
CEU/CPE
20
Video Transcription
00:00
>> Hey everybody, welcome back.
00:00
In this lecture we're going to talk about
00:00
the introduction to Elastic Block Storage,
00:00
otherwise known as EBS.
00:00
The learning objectives for this lesson are
00:00
going to meet to define what EBS volumes are,
00:00
discuss the functionality of them,
00:00
discuss the service and how it
00:00
works in correlation with EC2.
00:00
Elastic Block Storage, otherwise known as EBS is
00:00
a network drive that's attached to EC2 instances.
00:00
I'm going to go ahead and pause right there.
00:00
This is the hard drive or the solid-state drive
00:00
that you are attaching to your virtual machine.
00:00
That is what EBS is.
00:00
Now, EBS or the block storage
00:00
is something that you typically stand
00:00
up when you are configuring your EC2 instance.
00:00
But when you terminate your EC2 instance,
00:00
there's still the possibility that
00:00
your block storage will stay alive.
00:00
If that is the case, you're going to continue
00:00
to be charged because you're
00:00
using the actual storage capacity from Amazon.
00:00
If you are terminating your EC2 instance,
00:00
makes sure that you are terminating
00:00
your EBS volumes otherwise
00:00
you will continue to get charged.
00:00
If that's intentional, you want to keep it alive,
00:00
great and you want to keep your data mounted
00:00
that's okay or not mounted,
00:00
but all you know persistence if you want to keep it
00:00
alive in the Cloud, that is fine.
00:00
But if your intention is to
00:00
eradicate everything because you're done with it,
00:00
you don't want to get charged for something you're
00:00
not using then make
00:00
sure you are deleting your EBS volume.
00:00
That's the second bullet there.
00:00
When you are mounting
00:00
EBS volume to an instance that is
00:00
the only instance that it can be mounted to.
00:00
You can move it,
00:00
you can mount it to a different instance,
00:00
but you cannot mount
00:00
the same instance to multiple EC2 instances.
00:00
Let me take a step back and
00:00
maybe rephrase this in another way that might make sense.
00:00
One EBS volume to one EC2 instance.
00:00
One EC2 instance on the other hand
00:00
can have two EBS volumes.
00:00
That is okay so that's correct.
00:00
One EC2 instance can have more than one EBS volume.
00:00
However, an EBS volume can
00:00
only be connected to one instance at a time.
00:00
If you think about it in the sense of your computer,
00:00
if you install a hard drive to your computer, great,
00:00
you can install more drives to
00:00
your computer as needed but you
00:00
cannot install one hard drive to more than one computer.
00:00
That's not possible. Your EBS volumes
00:00
are bound to the specific availability zone.
00:00
You can define which one you want them to be in.
00:00
That being said, they're going to be bound to
00:00
whatever region you are in
00:00
so if you're switching regions,
00:00
you're not going to be able to access your EBS volume.
00:00
It stays within the region and the AZ
00:00
that's it was originally configured in.
00:00
EBS volumes or network drives.
00:00
They communicate to the instance over the network over
00:00
the VPC that you
00:00
create or the default one that's created for you.
00:00
They can present some latency so there may be some delay
00:00
there and they can't be
00:00
detached and reattached to other instances,
00:00
provisions, capacity and gigabytes and IOPS so
00:00
we can do billing for provision capacity.
00:00
You can alter how you're utilizing the EBS volumes.
00:00
You can pay a little bit more to get more persistence,
00:00
network bandwidth, more like steady all the way through,
00:00
making sure there's no delay
00:00
so as to reduce some of that latency there
00:00
and there is a capability of increasing the size of
00:00
your EBS volume as needed as
00:00
well so you can scale up and down.
00:00
A second ago, I verbally describes how
00:00
this relationship between EBS and EC2 works.
00:00
I wanted to visually describe this to
00:00
you here. That's what we have right here.
00:00
As you can see,
00:00
we have one EBS volume connected to
00:00
one EC2 instance right there.
00:00
We also have two EBS volumes
00:00
connected to one EC2 instance.
00:00
One EBS volume cannot connect to two EC2 instances
00:00
simultaneously but when EC2 instance
00:00
can connect to more than one EBS volume.
00:00
Is the same way with your computer.
00:00
You have a computer, it has to
00:00
have one hard drive at least.
00:00
That's actually our first bullet here.
00:00
Each EC2 instance requires
00:00
at least one EBS volume
00:00
requires one hard drive or one solid EC2 drive.
00:00
That's to run the operating system,
00:00
that's installed programs,
00:00
has to have files, all that good stuff.
00:00
But if you need to expand on that,
00:00
you can either scale your EBS volume
00:00
to increase it or you can add
00:00
more EBS volumes to
00:00
it and you'll have more storage volumes.
00:00
Just like if you wanted to pop in an extra drive and you
00:00
have now a D drive or an F drive or an E drive,
00:00
you can do that just like you would with your computer.
00:00
EC2 instances can have
00:00
more than one EBS volume attached. We just set that.
00:00
EBS volumes don't have to be
00:00
attached to an EC2 instance. We also said that.
00:00
Makes sure that if you do not want to be
00:00
charged for using that data,
00:00
there you terminate your EBS volumes
00:00
when you terminate your EC2 instance.
00:00
To summarize, we did an introduction on
00:00
Elastic Block Storage Service and we
00:00
discussed the EBS functionality and its characteristics.
00:00
Hopefully this was helpful and made sense.
00:00
If not, please feel free to
00:00
reach out to me and ask me any questions.
00:00
If not, if you're all good to go,
00:00
then let's go jump into the next lecture.
00:00
I'll see you there.
Up Next
EBS Snapshots
22m
Working with AMI
34m
Introduction to Elastic File System (EFS)
1h 3m