Time
14 hours 28 minutes
Difficulty
Intermediate
CEU/CPE
15

Video Transcription

00:00
Hello, Siberians. Welcome to lessen 5.6 Off Model five off Discuss stated. Is that reserva? One Microsoft Azure architect design.
00:10
So
00:11
here, the different tax that will complete in this demon.
00:15
We'll start by creating an azure continue registry
00:19
half their way. Toe push. A container image that exists on a local machine into the registry
00:26
wouldn't create a Nadja Community service cluster.
00:29
Well connected the cluster using Cube City here or keep Cotto however you pronounce that
00:35
would deploy container image. That's Allstate in a see how into our case notes
00:41
was killed the parts in the A. K s cluster and then was killed. The A ks cluster notes. Let's get into this.
00:50
So the first us that I'll be showing you is the creation of an azure container registry. Instance
00:56
on Actually, before going ahead to create instance, I'll give you a quick review off one I currently have set up in my test or demo in development.
01:07
In my demo environment, I currently have a Knox machine
01:11
that has the following applications. In start
01:15
it has get installed, and if you're not familiar with out install get, I'm using a bundle in knocks at the commands that you can use to install, getting they can use to verify if it's installed.
01:27
I have Dr installed on this bomb to machine.
01:32
I have a juicy Ella installed, and that's the command also to install and verify the installation.
01:38
And finally, I have the Cube Cotto installed on. That's the command to install and verified that also.
01:46
So what are we showing you in? This very first task is that I'll be creating on as your continent registry instance. So let's go to my Lennox machine. We'll show you how to do this. So I'm currently in my Lennox machine here. I'm not loved into a job as a CIA lie, so he needs to that first of all, So although is it
02:06
McGinn
02:07
and it's gonna give me a u R L to go to and put in the code to authenticate. So our copy that you are well on dhe I'll bring up a browser. I'll go to the euro and I'll put in the court
02:21
now because I'm already logged into the azure pot off the browser. I can simply selects my current authenticated user and automatically authenticates me.
02:31
So if I go back to the command line. I should be authenticated now. Excellent. So here the commands that I'll be using the complete his very first task
02:40
first are being created. Every such group is in the lead group. Create command.
02:46
Are we creating a larger container? Registry is in the Is that a C L create command on? Then I'll be logging into the registry.
02:53
So let's go ahead and launch industry
02:55
sets off. Commence.
02:59
So that's done. The 1st 1
03:01
Onda second command on Dhe. Then finally the last command and I can see here. It says Logan succeeded, so that does not take long to create. So I think we're on the right track. Let's move it to the next task.
03:15
So in the next task, I'll show you howto push a continent image into the other container registry.
03:23
On there's a visual representation of what are between you. So currently on my machine I have this image called as your vote front image
03:32
on. I'm gonna be used in the doctor push command toe, push this image into the actual content of registry. So the 1st 1 I need to do is I need to talk to him age, But let's go ahead and do that. First of all, so back to the instructions that I'm following the 49 needs to do is I need to tag my image.
03:49
So what are these? If I go back to my Lennox machine, let's clear the screen.
03:54
And if I do Dhaka
03:59
images and you can see the image that I want to push, you can see that it's currently as just a little stuck.
04:05
So I need to target. Andi needs toe had information about mija Continent registry in front of that.
04:15
Let's copy that's command and let's go on it.
04:20
So, having run that, let's verify again. Now I can see my tugged image over here so just creates a copy and then tucks it Unnatural about this. I'll be pushing the image into the registry. So for used to do this, make sure you're logged into your azure subscription using the Is it
04:40
log in command?
04:41
I would have done Alia.
04:43
It's quiet and copy that command.
04:46
Let's pace that day and let's run that
04:49
on. We can see that his dream if you face,
04:55
so that's completed now,
04:59
so let's go ahead and verify if the image now exist in the registry. So again I'll clear the screen
05:06
and I'll paste that command knife. I run that.
05:11
I can see that my image now exist in the content of registry. And if I want to see information about a tug
05:17
on division, I can go ahead and use dis Command to city tax for the specific image.
05:25
And I can see the dad Division One and the next task. I'll show you how to create an azure community service cluster using Is that cli?
05:34
So to do this, it's actually a simple command that I'll be using to the distal. Just that commander creates the cluster,
05:42
so I'm using the A's at a KS creates command. Suppose find a research group the name off the cluster that I want to create. How many notes? So I want to exist in the cluster. I'm specifying toe automatically generate a s s H key.
05:59
And also I want to give this cluster permission to my Jacques container registry. Instance, because the cluster needs to be ableto pull images down from that registry and I'll show you the permission that's gonna automatically set up because off this permitted that I'm a touching.
06:15
So let's go ahead and copy and run this command.
06:20
So it's currently creating our azure, a ks cluster that would take a few minutes to complete. So a glide and pasta recording after it's completed to sexually. How is Jim the recording on? Then we can go to the rest of the tasks.
06:36
So the deployment off the a ks cluster completed successfully. On what? All this. I'll go to the other Potter to show you a few things that happened.
06:46
If I go on the resources groups, the resource group that I created for the Cluster is this research group here. If I quiet and click on that,
06:56
you can see that I have my community service and I also have my continent registry here.
07:01
If I click on the Cuban Eaters service on dhe, if I go on the not poor, you can see that I have a single note pool, which is Lennox based on. I haven't not count off, too, and you can see the size that I specified.
07:15
Also, if I go to my content of registered I created earlier,
07:19
if I go under the access control and I go on the rule assignments.
07:25
You not is that it automatically given permissions to Mike Yes, cluster
07:30
forthis content of registry, and it's given me to devote to be ableto pull images directly from this registry. So that's good.
07:40
So here's a visual representation off what I just eat.
07:44
I just created a community's cluster
07:46
wheat to walk and not in it.
07:50
In the next task. One obedience, I'll be connecting to my Ekeus cluster using Cube Cotto,
07:58
which is a communities to that we can use for managing communities clusters. Now, if Q Cattle is not currently installed on your Lennox machine, you can install it is in this command here. So how already everything start bought? Yeah, there's no harm in running it again, so let's go ahead and run that.
08:16
So let's clear the screen again on a wide and pissed that, and I'll run that
08:22
on dhe that's executed successfully. I just need to ensure that I have this path in my sedge puff.
08:31
Now I need to connect my case closer using keep city, and to do that, I'll use the Is that a ks? Get credentials command. I'll specify the name of my resource group on the name of my eks Kloster.
08:43
So let's quiet and one that's
08:48
on. Get quiet and execute that
08:52
so you can see that it's currently created a cube conflict foul that's looking good.
08:58
Let's go ahead and verify some
09:01
information about a cluster,
09:03
so I'm gonna Cube City. I'll get notes if I won that.
09:09
I can see the two months that I have in my cluster,
09:13
and there are on that same command ball with cluster info, and it's giving me information about my cluster. So that looks good. It looks as if I'm connected successfully to my a ks cluster using keeps it here,
09:28
by the way I'm using keep sitio and keep cattle entertaining interchangeably.
09:33
So here's a visual representation off what I just eat. I just connected to my community's cluster using Cube Cottle, cocky of City Hall.
09:43
So the next thing that I'll be showing you is a deployment of the continent image from our azure continent registry toe a ks
09:54
on. There's a visual representation of what are between you now. Between this deployment, using something called a Cabinet is a manifest fell.
10:01
This exists locally on my machine. I'm connected my community's cluster using Kid Cotto.
10:07
I'll be providing the community's manifest file, which contains information about the container image to use, and we have to grab it from on. Are we providing that? Tow my community's cluster,
10:22
which would then go to my registry and grabbed a necessary image on deploys Eat on my walker notes within the cluster. Let's go ahead into this.
10:33
So here I am Amelia Knox machine. If I do a dream and I have my company, it is manifest foul
10:39
if I go ahead and open that foul.
10:43
So if I score down the beats on dhe just to look at some information contained in discovering it is manifest foul,
10:50
The main thing that I want to modify here is I want to modify the
10:56
location that is gonna be pulling the image from so very temple in the image from Dhaka. HAB. What I want to do is I wanted to pull the image directly from my private as your container registry on. I need to put a terrific stare off my continent registry log in 7 a.m.
11:13
I can get the log in seven name by going to my content registry going on the overview on I Have the lug in several days. Let's copy that.
11:22
Unless peace that there.
11:24
Andi, If I go ahead and save this community's manifest foul there now, go ahead and deploy the manifest foul.
11:33
And once I provide these, tow my community's cluster, it's going to grab the necessary him age and then is going to deploy the images as container pods within the cluster.
11:45
So it looked as if nothing happened because that was very quick. It's just saying it's created certain services.
11:50
Let's go ahead and verify what I can do this. I can use this commandment yet. Cube City. I'll get service
11:56
to watch for the service because the service we have described it needs to have a public i p address so I can reach it so I can monitor when all the necessary resources a prohibition, including the public I p address for quiet and run, that's
12:15
you can see that it's currently pending, so I'll just go ahead and post the recording and wait for this to complete. Once I have an extra high P, we can verify that we can get to this as your vote front and service
12:26
directly from the Internet. So as you can see here, I have my external I P addresses. Let's quiet and copy that
12:35
on, Deacon said. I can get to the service excellence or dis looking good. So the next thing that I'll be showing you is this killing off the pods in the chaos cluster. So the vory find the current deployments that I have. I can use dis command to verify that Cube City. I'll get deployment
12:54
on to verify the parts that are deployed. I can just keep City. I'll get pot. So let's go ahead and run butts. So let's copy that.
13:01
Let's go to our Lennox machine unless pissed at. So I can say I have two deployments the vote back end on the front end. So the front end is what I mainly concerned about.
13:13
So if I t o keep city, I'll get parts.
13:18
I can see that I have it pulled the plate for each of the services. So one for the front and one for the back in. So what I want to do is I want to scale this front end
13:28
Toby five parts instead of one.
13:31
To do that, I'll be using this command here. Keep city our skill replicas and I can specify the number off replicas that I want in this case. How, actually, skillets to four, not five,
13:43
and I was specified the name of the deployment that I want us kill. So let's quiet and copy that,
13:50
Andi, if I pay stats
13:54
So it said it's killed. So let verified by using our cube city will get parts on. You can see that it's currently creating more containers for the seven. So I have the front end and now have four instances off that.
14:09
So and in the final task, what I'll be showing you is out of skill. The key s cluster notes
14:15
on the visual representation of what I'll be showing you
14:18
will be using. I just see a lie. In this case, Toe had an extra working node
14:24
to my cabinet is cluster so that maybe something that I want to do if I'm getting resource allocation issues on Do tow the amount off walk loads that my close ties currently handling. Let's go ahead and see how to do that. So he had the command somebody needs to do so I can use keep city out gets notes to gets the current on both notes that I have
14:45
but in our needs to use the is that a ks kill command? Specify my research group name on my
14:50
It gets close the name on the number off note counts that I wants our copy that command
14:58
go to my Lennox machine. Let's clear the screen again on our years
15:03
que tu gets
15:07
notes. I can say I currently have two notes Letter on that command to make them tree and I'll take a little while to complete was gonna spin up on extra note for house. Once it's complete, head out. Go ahead and use the Cube City. I'll get not command of a fight, and now I have three notes
15:26
so that looks to have completed successfully. Now
15:28
let's clever screen and let's run the command again. And now you can see that I have to re notes in this cluster.
15:37
So that brings me to the hand off this demonstration. I hope you found it useful. Thanks very much for watching, and I'll see you in the next lesson.

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