Time
14 hours 28 minutes
Difficulty
Intermediate
CEU/CPE
15

Video Transcription

00:00
Hello, Siberians. Welcome to lesson 4.2. Off model for off this car stated is the trees were one Microsoft azure architect design.
00:10
So a quick introduction tow watch will be covering in this demo.
00:15
How started By reviewing the current environment that I have
00:20
never proceeds to create on as your automation account,
00:24
after which will impart Lennox pressure DSC models into as automation accounts
00:31
create lean ox, dear C configuration
00:36
and on bottle, not svm into as automation
00:40
will apply configuration to eat and then verify the applied configuration. So those that's the steps that are we walking true today.
00:47
So first, let's do a quick review of the environment.
00:52
I'm right now in the azure Pato and you can see my resource group over him
00:57
on you can see a veteran mission sent us the next venture mission that have deployed in Asia.
01:03
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
01:15
using these at ST configuration.
01:19
The first thing that I would do is help create a *** Automation accounted I'll be using. So let's go do that.
01:26
If I go over to the Azure Potter and actually can create a resource
01:33
and our search for automation
01:37
comes up with automation here, so I've actually can automation. Andi I click on Creates.
01:44
I can specify a name for my automation account.
01:49
I'll put these in the research group that I created,
01:53
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
02:07
on it should only take a few minutes to create this service.
02:15
So my service successfully created. I can see that under notifications. Yeah,
02:20
So if I go, I ardently can go to resource
02:23
and I can see my azure automation account. So let's go through the rest of the process.
02:30
So the next one that I'll show you is how to importantly Knox Pressure D s in Ma do into azure automation.
02:37
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.
02:46
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.
02:53
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
03:07
I can set for the model that I need.
03:10
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.
03:19
So I want to make use of this muddy. So I will be using it in my
03:24
configuration. Are we creating to our quiet and click and that
03:29
on our quiet and click on in parts
03:30
on the import of this model would begin when I click. Okay,
03:40
so the model you now successfully impotent.
03:44
So if I click on close air
03:47
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.
03:55
So let's move on to the next step in our tasks,
03:59
the next one that I'll show you is creation off a Lennox DSC configuration. So let's go to do that.
04:06
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
04:17
So then if I go on the configurations So this is where I can had conflagrations TSA configurations into the service.
04:28
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
04:38
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.
04:55
So if I gotta configurations and I click on hard
04:59
and I can go specify my conflagration foul.
05:06
So I select my configuration foul,
05:10
which is gonna uploads that I can give it a description
05:14
seeing
05:17
ficus web and
05:23
database
05:28
on defy Click okay to that's.
05:32
So I managed to refresh the screen and you can see that I have my
05:36
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
05:53
and I have the compound. But in this, if I go ahead and click on Compound, I say, Yes, I want to come power
06:00
These conflagration is gonna be cute on. It's going to start in a few seconds.
06:04
Hand the compare elation completed now.
06:09
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.
06:19
So that's great. Let's move on to the next part of the task.
06:24
So in the next task, I'll show you out on body in the Knox, fetch your machine into as automation.
06:32
So back in the azure Potter, if I go back?
06:36
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
06:58
on dhe? It's gonna give me the option toe on board my azure machines into as your permission. So
07:04
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,
07:13
all I need to do is I need to click on connects.
07:15
And when I click on Connect, I can define the configuration for the local configuration manager again. For those are not familiar with DSC.
07:25
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.
07:43
So not configuration. I'll select the configuration that I created earlier
07:47
on Dhe the
07:49
frequency I'll leave. That sets the default on the configuration most set to the default also,
07:56
so I'll leave everything else sets to the default.
08:00
So if I go ahead and click okay to that,
08:03
it's going to begin the on Bodine off local configuration manager.
08:09
So my veteran mission is now connected, so that's good for great and close displayed
08:16
on defy clothes displayed. Also,
08:18
if I refresh the screen, I should see that it's now embodied.
08:24
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.
08:33
So if I go to my Lennox machine, that's the public I p. Address of a day.
08:37
And
08:39
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.
08:50
So then, if I go back to as automation on if I select my
08:58
virtual machine over here,
09:01
I have the option to assign node configuration. So if I go ahead and click on a signed note configuration,
09:07
the configuration I created early I stay. If I click on that configuration, I click on okay,
09:13
And once I've done that, the note configuration the configuration is now assigned to
09:22
this note on. What I can do is if I close out of this
09:26
on defy, refresh the screen, you can see that it's not showing us pending.
09:31
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.
09:45
So that took a while to complete. But it completed now, and it's train us compliant now.
09:52
So what I expect is if I go back to this party on If I were fresh
09:56
and I can get to the Web sever that was installed by my configuration
10:01
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

Up Next

AZ-301 Microsoft Azure Architect Design

This AZ-301 training covers the skills that are measured in the Microsoft Azure Architect Design certification exam. Learn strategies to plan for the exam, target your areas of study, and gain hands-on experience to prepare for the real world.

Instructed By

Instructor Profile Image
David Okeyode
Cloud Security Architect
Instructor