Welcome to Microsoft Mechanics.
Coming up on the show
If you have Red Hat solutions in your IT environment
We will explore
how you can use the hyper scale of Azure
to run and manage those solutions.
Including, pre-built Red Hat Enterprise Linux images
in the Azure market place.
Integrated support to help you troubleshoot issues
and get access to Red Hat resources.
And, how you can take your on-premises apps
and run them on top of the Red Hat OpenShift infrastructure
running on Azure.
Microsoft Mechanics
I'm joined again by Corey Sanders
who leads the team for Azure Compute.
It's great to be back, Rick.
Now, last time you were on the show
we covered how you can get instantaneous infrastructure resources
for your app workloads
in the cloud and on premises
using Azure resource management templates.
But, we covered Microsoft resources.
How has your team been thinking about how to support
popular Linux and open source solutions
such as Red Hat?
We've had really exciting usage of Linux
for quite some time actually, Rick.
We've had deployments from great customers
whether they be Schiphol Airport
First American Trust.
We've seen great application deployment
like DataStax and Cloudera.
It's really been fantastic to see the growth
and the energy around deploying Linux and Azure.
In fact, one out of four VM's today
are deploying Linux in Azure.
Very exciting.
And with this big growth
it's been really wonderful to bring in Red Hat to the fold
and do a joint partnership with them
to be able to offer Red Hat solutions directly in Azure.
So, why do you actually gives a shot and shows us what it's like.
Absolutely, Rick.
So, I'm gonna start off here
in a slightly different place than you would expect these demos starting.
A little bit uncomfortable.
So, I'm going to start in the CLI
which is the Command Line Interface.
And, this is really the best way to deploy Linux based solutions in Azure.
And of course I'm deploying this on a Mac as you can see.
So, all of these experiences enable me to take track
of all of the deployments I've got
all of the resources I've got deployed.
All from this command line that I've installed here.
The first thing I do, I'm going to actually login.
Kind of a great place to start.
And so, one of the important things about logging in
is that for a lot of corporations
they want to make sure they have all of the access control
they normally would have.
So, the way that we enable that is by creating this login experience
Where I, go into the
website Device Login
So, I'm going to go over here
and hit Device Login
and I pass in this code
that was supplied to me by the CLI.
It tells me
The Microsoft Azure CLI.
This is who sent you this code.
I can login here.
And now I can login using all of the Azure Active Directory controls
I normally would use.
So, multi-factor off or whatever it may be.
So, I'm going to click in and login to this account.
And, it tells me I'm ready to roll.
So go ahead and close that
and I'll go back over the CLI.
So here I am.
And I've got all my subscriptions ready to go
and ready to play with.
The first thing I actually want to do is deploy a VM.
I'm looking to deploy a Red Hat VM.
So I need to understand what options I have.
The very first command that I'm going to use
is vm image list westus.
And that is what I want to deploy.
It's nearby.
So, from here the Publisher, well of course
redhat
So, this is going to tell me all the options I have.
I've got redhat image
that's available in version 6.7
and I've got a redhat image version 7.2.
Now I'm ready to actually start the VM.
So to start, there's a very simple command, Rick.
I can go in and do a very easy
azure vm quick-create
and this is going to prompt me for all the options
to go create the virtual machine that I want.
Now, the most important part of this
is I am going to use an SSH key
because you could look over my shoulder
and steal my password
get into my virtual machine
and that's just not acceptable.
So I'm going to use an SSH key
to lock you out of the system
specifically.
Oh, nice.
To do that, I actually need to type in the SSH
publickey-file.
And from there I'm going to type in the location of that file.
and so this is just sitting
I've already created it.
and it's just sitting here in my account.
and so it is, red_hat_sshkey.pub
And so, with this it will prompt me
me for all the parameters that I want to set for this virtual machine.
So, first the resource group
RedHatRGDemo11
and then a virtual machine name.
So, let's do
RedHatVM11
Location like I said, westus
It's nearby.
I am going to use Linux
for this deployment.
Now, here I get to pick the image name.
And so, I'm going to pick
Red Hat Enterprise Linux.
And so that is the publisher name is redhat.
The offer is RHEL
as you can see from this section up above.
The SKU is 7.2
like I said I'm going to pick the latest and greatest
that's the type of person I am.
And for version I can actually type in latest
and so this is going to pick the latest regardless of what time I deploy.
The beautiful part about this
We are constantly updating these images
with the latest version
patch version and so on
working with Red Hat to deliver on that.
And so, what this now I know I'm getting latest version.
Now username
type in Corey.
And so, password.
You were going to use an SSH key, why does it prompt you for a password?
So, you leave this blank
and it will fall back to the SSH key that I've already delivered
Go ahead and leave those blank.
And, with that
away I can go, and spin up my virtual machine
and it's off to the races.
It will create the storage account
create the network
and, away we go.
But, we're not going to wait for that.
I do think you have time, you're a very busy guy.
So, we're actually going to go to the VM that's already created in my account.
So this is RedHatVM.
So, I'm going into the portal experience.
You can see I've got this running here
on the portal experience.
RedHatVM
So, I click in here and it's running.
You can see I have the CPU
monitoring down here.
It's running in West US, as I said.
and it's got D1.
this was all created with that simple command.
So once I've got this running
maybe something goes wrong.
Right, and so I need to go investigate.
I need to go see what could be the problem.
So, first I'm going to start with Boot diagnostic
and this will allow me to go in
and look at the actual serial output
of the virtual machine.
So, I scroll down here, you can investigate, you can take a look.
What is this Linux machine telling me?
What could be wrong?
So, I can click through this
but, let's say
maybe I don't find the problem
maybe I'm not as sharp as you are.
And so,
I have to pull back out
and the beauty of this is
because it's the Red Hat image, it was deployed
through that simple CLI command.
But, because of its Red Hat image and a partnership that we've got with Red Hat
I can directly go into the Red Hat customer portal experience
with a single sign-on connection
and be able to access
all of the Red Hat capabilities
associated with this VM.
They are absolutely linked
as far as the support engines knowing the VM's are in their?
Exactly.
This is a single sign-on
they now know this VM is running in Azure.
It's now connected to the Red Hat portal experience.
And so, I can go in
I can actually experiment with the aspects of the virtual machine
Or, in this case
go ahead and open a support case.
So, I can go through this experience
sitting right here in the Red Hat portal
it's connected back to the VM that's running
in the Azure account.
The beautiful part about this
the support engineers who this will go call
are actually sitting, fully co-located
next to our support engineers.
So, when issues come in
they can basically pass things with a nudge
versus, with a phone call.
And so, a lot of bruised ribs
obviously, in those types of communication
but it does speed things up for customers
which of course is much more important
than bruised ribs. Okay.
So, if this was a Windows Box
I would just be able to open up an RDP window
and connect that to my machine.
What do you do on a Linux Box?
When you're connecting to a Linux Box
the best way to do it is through an SSH command.
And so, if I'm right here sitting with my Mac
the beautiful part of the Mac is I've got the SSH command directly built in
So, from here I can do SSH
and log straight into my virtual machine.
Now, an important point here
I connect using an SSH key.
Right, so this isn't a username and password.
So, what I've done here
is I've actually set up the config file
to be able to auto connect
with the right key
very very quickly.
So, I've got the host in here
RedHatVM, that I just showed you in the portal.
I've got the IP address for me to connect
and the username
and of course it points to the key in my directory.
And so, from here
I can go straight in
and I can SSH, right into that box
and so just typing in RedHatVM.
And, you see I'm already in.
Right, and so in here of course is the Red Hat Box
I can install anything I want
So, sudo yum
Install
mysql
And, away I go.
It finds the latest one, and installs it on the box
just like that.
We've been working one off machines right now at this point in time.
What are you able to do with templates?
Because you said it works on the Linux side as well.
Yeah, absolutely.
The templates that we showed last time
are very exciting.
You can install these full applications, the same exact story
is possible here on the Linux side.
So, if I pull back out into the Azure portal
and then pull back to the landing page.
I can go in the same way that I've done the last time.
Go straight to the template section.
Okay.
So, here I've got a large variety of templates and capabilities
available to me.
I'm going to go ahead and search
for Red Hat.
I search Red Hat, and I've got one here
ready to roll.
Built by a good friend of mine, Boris.
So, I clicked in.
This is going to tell me
all the parameters that I pass in, and what this thing does.
I can then go straight into GitHub
and take a look at the actual details.
So, clicking into GitHub
I can actually take a look at this template.
I can even click visualize
and take a view
of what's being deployed.
Virtual Machine, Storage Account, NIC.
It allows me to get this really clean idea
of what this app looks like.
And so, if I wanted to edit this
I can click on to JSON here it is in GitHub
Yes. So I can play with it
But, GitHub is nice
but it's not really a flashy experience.
And so, the other option that I can do
is I can use Visual Studio code
running on a Mac
to be able to visualize this JSON template.
Cross-platform works on Windows, works on Mac
Works on Linux.
Good stuff. Nice formatting too.
Fantastic, thank you. I did this myself here.
So, what you've got with the deployment here
in Visual Studio code
that same template that I just showed you.
its all color-coded, it's very easy to see
you can click down and make it easier to separate the parts.
So, now that I've been able to work in Visual Studio code
and experiment all the different pieces and components that I've got
Now, maybe I want to actually deploy.
If I go back to GitHub
and actually take a look at the options here.
Right here in the GitHub parameters I can see
the Azure CLI commands
to be able to launch this.
So, just a couple of very simple commands.
I can copy and paste them
I can go back to the CLI
that I was working in before
paste them in
and away I go.
It creates the group for me.
It will create the VM for me
using that template sitting in GitHub
it pulls it down, all of it ready to go.
So, what are some other things we're doing with Red hat?
In addition to all the infrastructure product
that I just walked through.
We've also offered a capability deploy OpenShift
Red Hat's platform as a service offering
directly on top of Azure's infrastructure.
Oh, okay. Are you queued up to show us that?
No, absolutely not.
No, I'm just kidding. Let me show you.
What we've got here is we've actually deployed
OpenShift Enterprise
directly on top of Azure infrastructure.
And so
you can take advantage of this very scalable
very agile platform as a service offering
but, sitting on top of the agile Azure infrastructure.
So, right here I've got an application deployed.
It's a mysql application with a website
very simple stuff.
And so, you can see here
I can click on this and here's the website.
Hello Microsoft Mechanics!
that's for you, Rick.
And so, you can see the website
the containers that are deployed
the ID's of those containers.
So, this is the website that I built.
If I go back to that web console, I can actually take a look
at the visualization of this application.
So here I've got the breakdown.
I've got the different components
that make up this application.
I can very easily see
and picture how this app works
the pieces that go together
and, I can even sort of make him dance.
So, if I go back
to the actual deployment
what's great about the platform as a service offering
it makes it really simple to change with my customers.
And so, right here I've got three pods deployed
I can quickly go up and start scaling this, right?
Let me scale it up to 14 pods.
And, just really really quickly
I'll now be able to have this application scale-out
be able to take more load on the website front end
without necessarily doing much work.
So again, the power of OpenShift
directly on Azure infrastructure.
So, we've seen
up-to-date Red Hat Enterprise Linux images
inside a marketplace.
We've seen co-located support of engineers.
The ability to link your support tickets
from the Azure portal over to the Red Hat portal as well for support.
And, you gave us a quick preview of Red Hat OpenShift.
That's all we have time for today.
You can keep checking back
to Microsoft Mechanics more updates.
Thanks for watching.
Microsoft Mechanics
www.microsoft.com/mechanics