And welcome back now into this video we'll be discussing about one of the systems manager feature,
but is that uncommon?
Not uncommon, as the name suggests, it allows us to run a specific set of commands in the instances
where the system is installed.
So this can be easily understood with this diagram.
Very, very uncommon.
And you're supplying, I believe, as hyphen F command.
So this will flash the AP tables here.
So this command, the assistant agent will take it, will run it as part of the easy two instance.
It will fetch the result and the result will be sent back to the central service.
So this is the basic idea behind run command.
Now, run command is very useful.
So I still remember the organizations I used to work with many times.
There were a requirement of installing a certain agent.
It can be a antivirus agent, it can be a agent and so on.
And the number of instances that we had arranged, around 400 to 500 and in such cases are uncommon
used to help a lot.
Now, before we start with an interesting practical do not that run command provides much more granularity,
primarily because of a feature of command document.
Now, there are various command documents that are available related to ansible playbook.
You have configure Dr. Ranchettes, script, install windows updates and so on.
So by the name itself, we can pretty much identify what it allows you to do.
So, for example, run ansible playbook allows you to run Ansible playbook, configure Docker will go
ahead and install the doctor and configure it within your system and so on.
So with this basic let's go ahead and start that practice now within a systems manager console, one
of the first thing that you need to verify is whether the system is on line or not.
So in this case, is an agent statuses only.
So we're good to go.
So going back to the systems manager console, let's go bit down.
Let's open up the run command here.
So currently it states that there are no command that are executing.
That is fine.
Let's go ahead and run NEWCOMEN.
Now, as you're discussing that, you have a document feature where there are certain documents that
are available and each one of them is used for a specific purpose.
So, for example, eatables configure it will go ahead and configure the docker for your system.
And it supports both Windows and Linux.
So there are various documents that are available.
Let's start with a simple one that is associated with the Shell script.
So let me press enter.
And one important thing that needs to be noted is that each document, it supports different platform
types around remote scripts for Windows, Linux, wrenches for Linux, Mac OS.
So let's go ahead and explore the ranch's script here.
And it basically gives you the description on what it allows you to do.
So it allows you to run a shell script or a specific command.
So this is fine.
Let's go ahead and click on command audio and if you go back down, you have a command parameter.
So this is where you have to go ahead and type documents.
So let's say I touch them, run command and let it go.
This is my first command to them around Commander Pixilate.
So we're just running two sets of commands.
Force will go ahead and create this file under the temp directly and second will go ahead and append
this specific content to this file.
Perfect.
So this is what the command parameter allows you to do.
You can orginally setup working directly now under the targets.
You can either specify the instance Maytag's or let's say that you have 100 instances that are using
common set of time.
This is something that you can do.
You can also choose the instance manually.
Let's choose the instance manually.
So are instances easy to assess once?
Then let's go back down.
You can also go ahead and said the output we do not need.
Let's keep it simple so we'll be selected and let's go ahead and run this.
So currently the overall status is in progress.
So let's quickly wait for a moment here.
So it has been a minute.
So let's go ahead and quickly refresh the page.
And the overall status is now successful.
Now, from the easy to instance, let's quickly verify.
So if we go to the game directly, you should see a new coalesce.
Come on, let's do a guide on this specific file.
And you see you have the contents already.
So this is the basic offer.
Now, a few more important things I wanted to show you.
So let's do one thing.
Let's explore a few more documents here.
One that we are interested for to this video is configured so correctly.
If I just press the audio, you see, it states come not fun.
So let's go ahead and try to run this configured.
So first, let's go ahead and look into the description, what it does.
So it configures and intends to work with container.
And this seems to be good.
Let's go ahead and run this.
Let's go a bit down, let's do the instance manually, we'll use our easy to assist them in stings will
select the output option.
Let's go ahead and do a run.
All right.
So it has been one minute yet again.
Let's go ahead and refresh the page.
The overall status is success.
That's great.
And now let's go ahead and run yet again.
And now you see we are able to see the contents here, so it will quickly do a system called Streeter's
Locher.
You should see the Dockery's active and running.
That's great.
So I hope with this you understood the basics of it.
Uncommon not only allows you to just run a specific command or a set of command, but it also has a
document feature where there are a lot of ready-Made documents that will allow you to further customize
things according to your requirement.
Great.
So with this will conclude today's video.