Hello, Siberians. Welcome to lesson 4.2. Off model for off this car stated is the trees were one Microsoft azure architect design.
So a quick introduction tow watch will be covering in this demo.
How started By reviewing the current environment that I have
never proceeds to create on as your automation account,
after which will impart Lennox pressure DSC models into as automation accounts
create lean ox, dear C configuration
and on bottle, not svm into as automation
will apply configuration to eat and then verify the applied configuration. So those that's the steps that are we walking true today.
So first, let's do a quick review of the environment.
I'm right now in the azure Pato and you can see my resource group over him
on you can see a veteran mission sent us the next venture mission that have deployed in Asia.
Now what I want to do is I want this sentence. The NOX machine. I want to create a *** automation account on dhe, then use it to automatically configure this sentence. The Nox machine
using these at ST configuration.
The first thing that I would do is help create a *** Automation accounted I'll be using. So let's go do that.
If I go over to the Azure Potter and actually can create a resource
and our search for automation
comes up with automation here, so I've actually can automation. Andi I click on Creates.
I can specify a name for my automation account.
I'll put these in the research group that I created,
and I'll leave that in your case off. Now it's gonna create a runner's account for years, and I can't. I can simplify rather than me having to go create service principles. It simplifies the whole process. So quiet and click on Create
on it should only take a few minutes to create this service.
So my service successfully created. I can see that under notifications. Yeah,
So if I go, I ardently can go to resource
and I can see my azure automation account. So let's go through the rest of the process.
So the next one that I'll show you is how to importantly Knox Pressure D s in Ma do into azure automation.
So back in the azure Pato, if I scroll down on the left hand side and I can see what's this process automation. I can see my run books on my room Book gallery.
If I scored and I have shared resources, we have my models and my mom would use gallery. So if I click on Models girl over here.
So this is a link directly to something called pressure Gallery. You can just go, go or use whatever favorite and such engine that you like to search for partial gonna be and it's gonna take you to pressure gallery. So this links into that
I can set for the model that I need.
So I said for an ex and I first enter. And I have this an ex model which is the Mahdi for D s, every sauces for Lennox.
So I want to make use of this muddy. So I will be using it in my
configuration. Are we creating to our quiet and click and that
on our quiet and click on in parts
on the import of this model would begin when I click. Okay,
so the model you now successfully impotent.
So if I click on close air
on If I go back on the Medusa on dhe, if I search for an ex, you can see that this model is available now.
So let's move on to the next step in our tasks,
the next one that I'll show you is creation off a Lennox DSC configuration. So let's go to do that.
If I go over to the azure portal over here on defy scroll up a beat and I click on states configuration D s see here
So then if I go on the configurations So this is where I can had conflagrations TSA configurations into the service.
Now he has the d s, a configuration that I want to have. It's a very simple, dear say configuration script. All it does it. It's gonna go and show that
Webster vice installed. And it's gonna ensure that all these different packages I installed on my Lennox ever and it's going to ensure that this different services are enabled. So that's what this DSC script us, and that's what I want to load in.
So if I gotta configurations and I click on hard
and I can go specify my conflagration foul.
So I select my configuration foul,
which is gonna uploads that I can give it a description
on defy Click okay to that's.
So I managed to refresh the screen and you can see that I have my
configuration here. So the next one I need to do is I need to compound this conflict aeration. So for those that enough familiar with DSC, when we create ideas, a script we need to compound early to generating more foul. So if I go ahead and click on that lumps ever
and I have the compound. But in this, if I go ahead and click on Compound, I say, Yes, I want to come power
These conflagration is gonna be cute on. It's going to start in a few seconds.
Hand the compare elation completed now.
So one of the things that human needs to do to be ableto see that the state of that's completely the human need to click out and then click backing to see that the status off the compile ations completed successfully.
So that's great. Let's move on to the next part of the task.
So in the next task, I'll show you out on body in the Knox, fetch your machine into as automation.
So back in the azure Potter, if I go back?
Thio State Configuration D SC If I school up the beets here, I can see my inventory. I can say to change tracking over here, but the part that I'm really interested in his notes If I click on notes, I can see that I currently do not have any note on the body it here. So why can't this ache and click on hard
on dhe? It's gonna give me the option toe on board my azure machines into as your permission. So
and I need to pacify the bloody for DSC so I can see my sentence. Lennox vm here. So if I go ahead and select that,
all I need to do is I need to click on connects.
And when I click on Connect, I can define the configuration for the local configuration manager again. For those are not familiar with DSC.
DSC walks on the business off. There's a local configuration manager that exists that needs to be configured in Thames off our it's going No retrieved the configuration, and I was gonna ply the con figuration. So I'm going on. It's gonna register. Tow this as your permission account, and that's what we're doing here.
So not configuration. I'll select the configuration that I created earlier
frequency I'll leave. That sets the default on the configuration most set to the default also,
so I'll leave everything else sets to the default.
So if I go ahead and click okay to that,
it's going to begin the on Bodine off local configuration manager.
So my veteran mission is now connected, so that's good for great and close displayed
on defy clothes displayed. Also,
if I refresh the screen, I should see that it's now embodied.
So the next thing that needs to do his own need to apply con figuration states. Now, before I play configuration two days, let's go do some checks.
So if I go to my Lennox machine, that's the public I p. Address of a day.
if I go to the public, I pee off my Lennox machine. Http, you can see that there's no webs ever installed. So and it says the speeches, No walking.
So then, if I go back to as automation on if I select my
virtual machine over here,
I have the option to assign node configuration. So if I go ahead and click on a signed note configuration,
the configuration I created early I stay. If I click on that configuration, I click on okay,
And once I've done that, the note configuration the configuration is now assigned to
this note on. What I can do is if I close out of this
on defy, refresh the screen, you can see that it's not showing us pending.
So what I expect to happen is that once it fully applied this configuration, I expect the Web sever Toby installed and Tubindo that I'll come back to refresh the screen after a few minutes.
So that took a while to complete. But it completed now, and it's train us compliant now.
So what I expect is if I go back to this party on If I were fresh
and I can get to the Web sever that was installed by my configuration
So that brings me to the end off this demo. Thanks very much for watching. I hope you found it useful, and I'll see you in the next lesson. Thanks