Now that we have our virtual machine up and running,
let's go ahead and look at how we add additional storage.
If we open up the disc management tool, you'll
see currently we have an image that's 127 gigabytes that's
been created inside the Azure portal as a storage
account, so let's go ahead over to the Azure portal.
And we're going to go over to Disks, and we're going to say, Create.
Now, when you first come in here, you might
be thinking, well, how much is that storage going to cost?
And as a reminder, I want to show you at the
top left here, before I pointed out that this isn't
where you get to the home pricing documentation, Downloads, Community
and Support sections, if we go under the Pricing section.
I have the ability to look at virtual
machines for both Windows, so you'll see Windows.
You will see Linux and you'll see sql server.
Sql server actually includes both a sql server
and a Windows license and will be billed accordingly.
One of the things you may also notice in this
pricing details page Is that prices are billed per hour.
That may change over time.
And in fact you may see different
per minute billings on different sections in Azure.
The pricing
section of Windows Azure Portal is where you can get
all of the latest up to date information on pricing.
And in fact, you can click pricing and do calculator.
If we move over to virtual machines, and I say I have a windows virtual machine,
that's a small instance and I have two of these and you'll see $133.92 a month.
I also have the ability to move down and
look at both the pay as you go, 6 month and 12 month plans.
One additional area you may want to check
out is under support, trust center, and then compliance.
If you're in an industry that looks for ISO certifications or other things such
as HIPPA, this will give you the
latest certification across all of the Azure services.
Let's go back into our portal, we're going to click on our virtual machine disks.
So, if I wanted to create a new disk here, this is where
you would bring in the VHD for
the different images that were already created.
What we're going to do is, we're going to click over on Virtual
Machine Instances, and at the bottom command bar, we're going to say Attach.
I'm going to say, attach an empty disk And we're going to create one that's 250 GB.
That should be enough storage for what we want to do on our server.
You also notice that we
have the ability to do host caching.
This is usually important if this is going to be the operating system disc.
But since we're going to use this just as
a storage drive, I'm going to leave that turned off.
You'll notice at the bottom now it's saying, attaching an empty disc.
Now that my new storage has been initialized, if I click over on the
disc tab we'll see up and running has been attached to up and running.
Let's move back to our remote desktop
connection and into the disc manager you'll notice at the bottom
we now have a new 250 gigabyte disc that has been allocated.
I'm going to right click and say initialize disk.
I'll say Okay. That disk has become online.
I'm going to create a new simple volume. Hit next and take the default.
It's now formatting that drive, and once that
drive has been completely formatted, it will show
up inside of our computer here.
You can see it's now appearing healthy, and we have a new volume.
This will act just like any other disc inside of Windows.
I can click on it.
I can right-click, format, rename it, whatever I want.
For all intents and purposes, this is
actually a drive that's attached to that server.
Now remember this is part of Azure storage.
We'll get more into this in the course later, but it's
important to remember that Azure storage is written across multiple disks.
It's going to load balance traffic for
consistent performance, and it's also going to georeplicate.
So by creating this as a storage account
in Azure, we have all those capablilities built in.
In just a few clicks from the portal, we created a new disk.
And then we initialized it for our server.
This would work exactly the same
way for Linux.
So we would create a e x t 3, or 4 drive,
and then you would see that appear inside of your operating system.