- Now let's review another demo
of creating an EBS volume within Amazon EC2.
Here we are back in the console from the console dashboard.
I'm gonna click into EC2.
I'm going to come down here
to Elastic Blockstore volumes.
And you'll see that we have one, but
this one is the root volume.
You can see that it's in use.
It's considered to be in use.
This is the root volume of our Windows instance
that's still running.
But I'm gonna create a new one, perhaps a new one
that I want to attach to an instance and use
as a data volume apart from the root volume.
So I'm gonna click create.
From here, I can choose whether or not I want
General Purpose SSD,
Provisioned IOPS,
Magnetic, Throughput Optimized, or Cold storage.
So, for this particular case, I'm just gonna
choose a General Purpose.
It's just gonna be a basic data volume.
I'm going to say, leave it at 100 gigs.
I'm gonna make sure that this one is in 2b
because that's where we put our Windows instance.
So I need to make sure that this volume is in the same
availability zone as the instance to which
I want to attach it.
Now I have the option to encrypt the volume if I wanted to.
For this particular demo, I'm not gonna worry about that.
I'm gonna go ahead and click create.
And then you'll see that the
volume is in a creating state.
So it takes a few minutes to make that volume available.
It's allocating the storage behind the scenes.
So here, I might call this one Data Volume,
just to give it a name and keep my environment organized.
And there we go, now you can see that
the state of that volume is available.
That means that it so far is not attached
to any particular instance.
So, we could then use it however we want.
We can attach it to whatever instance we want,
as long as the instance is in the same availability zone.
So I'll go ahead and create one more while we're here,
and make this one a Provisioned IOPS.
And so I'm gonna say, you know what, I want a 100 gig volume
and where the General Purpose would have a baseline of
about 300 IOPS, here I can say, you know what,
I need more than that.
I need 1,000 IOPS, and I'm also gonna put this one in 2b.
So this is how we would go about creating a
Provisioned IOPS volume, by specifying the size
and the degree of IOPS that we need.
I'm gonna go ahead and hit create.
And again, I'm gonna call this one
Data Volume High IOPS.
And there we go.
You can see that our General Purpose
has a baseline of about 300
with the ability to burst up to 3,000.
But our Provisioned IOPS will guarantee us
a consistent performance level of 1,000 IOPS.
So that is creating EBS volumes in Amazon EC2.