- Okay so now let's review a demo
of mounting an EBS Volume on Windows.
All right, from the EC2 Dashboard,
let's take a look at our Volumes.
We'll scroll down here under Elastic Block Store.
And of course here are the two that we created earlier,
our Linux and our Windows volumes.
And again just like we saw earlier
that some of them are in use
means that they are attached
and our Windows volume here is available.
And so again before we can mount it
and format it and use it,
we have to attach it.
So we'll go ahead and say Attach Volume
and then we will choose our Windows instance.
And then of course in this particular case, unlike Linux,
the Amazon side is attaching it as xvdf rather than sdf.
All right, so we'll go ahead and attach that.
And now you can see it changes pretty quickly.
It changes to in use.
So just like that, it's attached.
Again very similar to a USB drive
that you might have on your desk.
You plug it in and just like that,
it's ready to use, all right.
And so now we'll go back to our Instances,
and here is our c5 large
that we created in an earlier demo,
and we are going to gain
a remote desktop into that instance,
and then from there we can mount and format that volume.
So let me get my remote desktop in place here.
All right, so we'll go ahead and use the existing connection
just like we did earlier when we created that instance.
And again you may see these warnings
saying the certificate can't be trusted
but for now that's okay.
All right, so now we have our remote desktop,
and we should be able to go to,
right-click on the Start
and then you would go to Disk Management.
And from here it says you must initialize a disk, right?
So this is now,
this disk is attached and available for us to use, right?
So we'll go ahead and say OK, we can initialize that disk.
And you can see here this is our 30-gig root volume.
And here is our disk, 100-gig disk that is unallocated,
and we can take a look at the properties of that
and see this is an NVMe Amazon Elastic SCSI Disk Device
at least as far as Windows is concerned,
and so we can see all of the information
we need to see about that.
Here is again 100 meg.
All right, so then all we really need to do
is right-click on this unallocated space
and say New Simple Volume,
that will bring us to the Wizard,
we can then of course specify that volume size.
If we wanted to create multiple partitions, we could.
And then we could go Next,
assign it whatever drive letter we want,
I think D is perfectly fine.
And then we'll go Next,
then of course we get to format it, right?
exFAT, NTFS, whatever you feel is appropriate
for your particular use case.
And then the Volume Label we might call this one Data
if we want it to have this as a store
for SQL server or SharePoint or anything else, right?
And then of course we could also
choose to perform a quick format, right?
So we'll go Next and finish that.
And there we go, just like that,
we have a 100-gig volume
that we attached to the Windows instance,
and then we used Disk Manager
to create and format a partition with NTFS, right?
And so here is that.
And so then of course we could go to the Explorer,
and we should be able to see
here is our Data disk now available
for us to write to, right?
So that's how we can attach
and format a volume
for Windows instances.