Haidian and welcome back now in the early video we were discussing about some of the advantages of a
unified cloud, what region and how it allows us to send videos, tricks like memory disk and others,
as well as send the logs to the cloud watch using a single agent.
So in today's world, you will go ahead and configure this from scratch.
So as part of our overall demo, there are five steps that are required.
First steps that you need to create an role for the cloud.
What agents or policy?
So for the agent to send the data to cloud what service it needs to have permission.
And this is the reason why you have to create a IAM role and associated and roll to the easy to understand.
So in the second step, you create a situation that I am role in the third step.
You go ahead and install the cloud watch agent in the fourth step, you go ahead and run the cloud.
What agent configuration?
We will be discussing what exactly this is.
And in the fifth step, you start the unified cloud Vortigern.
So these are the high level steps that will be performing in today's video.
So let's get started.
So the first one, let's create run now within the IBM console, under the rules.
Let's go ahead and quickly create a rule.
The use case would be easy to do under the policy.
Let the cloud watch Caijing server policy.
So this is the policy that we need.
Let's do a next we'll do a review and let's just call it as easy to cloud.
Watch for a better understanding.
Both XO and role is created in the second step will go ahead and create a new Ishita instance with this.
And so from the easy to console, let's go ahead and launch.
An instance will be using the Amazon.
The next two will select a three eligible one.
And within the Amazon, let's select the easy to clode.
Which ones?
Then you can do a review and launch and let's launch the instance with are great, for instance is currently
in the creation speed.
Now the third step is you can go ahead and install the cloud Vortigern.
Now for this, you can go ahead and refer to the documentation.
So basically the command to install the cloud agent specifically related to the rate hike based system
is very straightforward.
So all you do is you do a yum install Amazon cloud what?
And so from the easy to it's currently running.
So let's go ahead and quickly connect to it.
That's a great connector.
Let's switch to the road user and let's go ahead and copy this commandeer video of a perfect storm cloud,
which is and is currently installed now after cloud.
What agent is installed?
The next step is to go ahead and define what kind of matrix and which is the log path that you want
to send to the Central Cloud Watch Dashboard.
And then later you can go ahead and start the unified.
And so it will go to their documentation.
This documentation, in fact, contains a lot of information.
So if you go back down, you have the command to go ahead and start the engine with the configuration
file and various others.
So what I have done to make things simple is I have already documented the commands.
I'll also be posting after this video so you can go ahead and directly try.
So first step was to install the cloud, what?
We have already done that.
And before we start the cloud agent, you need to have a configuration file.
So for this declawed watch, this broider configuration, Vizag.
So let's go ahead and copy this up.
Let's clear the screen.
Let's render configuration verdure.
So Viginia, it will ask you a series of questions and all you have to do is you have to select the
appropriate option.
So the first one on which always you are planning to install the agent by default is one Linux.
This is fine.
The second is whether it is easy to run.
So in our case, it is easy to do so.
We just presented, since it is a default choice for this, which user you are planning to run, the
agent, your route cloud agent, others.
So for simplicity Lizer, select the default choice here.
The next question is, do you want to turn understatedly demon?
I'll just say no.
I just see no even for Carletti.
And the next question is, do you want to monitor any hosting matrix?
And the answer is yes.
We want to capture various matrix like CPU memory.
This is important.
So the default choice is one.
So I'll present.
And the next question, do you want to monitor C.P.U, Matrix, Bercaw?
This might be important maybe for production, but not for a demo and it can also encourage judges.
So let's just do it a no.
And for the SC to dimensionless us use the default option for the duration us select 60 seconds.
That is fine.
Will press enter yet again?
And the next important question is which default matrix configuration do you want busiek standard at
once or none?
Now, within another cloud documentation, as we were discussing, we are running the cloud watch configuration
wizard and the question that it was asked whether you want Busiek standard in advance now do know that
depending upon the detail level that you need, the overall tax collection would also differ.
So for basic, you have Membrey used presentation disk used percentage for standard, you have more
granularity, you get a node related information and various others.
And for it, once you get more detailed related to the CPU disk, memory net debt as well as swap related
information, so will be using the advanced one year.
So let's go ahead and press three and now it will go ahead and give you various other information related
to the type of matrix that will be collected.
You can go ahead and review it.
This seems fine.
I'll do one, which is the default choice.
Now it is asking do you have any existing Laugesen region in case if you want to do or import, we do
not have will just choose not, which is the default choice yet again.
And the next important question is, do you want to monitor any log sites as are discussing this is
another functionality of a unified agent will press one which is again the default choice.
And you can specify a log file, but let's say log messages I'll present.
And the default choice here for the group name is messages.
This is fine.
I'll present the logs.
Name would be the instantiating.
Again, this is fine.
Let's Betancur and now it is asking if we want to specify any additional log files.
We do not want it for the time.
I just do know that the option of two and it is asking if you want to store the configuration in SSL
parameters to let this do a no for simplicity and things are good.
Our program has accepted no and it has gathered and created a configuration file.
So if you see the configuration file is located in this specific location.
So if you will quickly do a guide on the location here, you see this is the exact configuration file
that was created based on the answers as part of the configuration visit.
Now, also note that we had also specified the log, but as as log messages.
So if I'll quickly do a list on viral messages, you should see some of the contents here.
I like talking or do not that if you're trying it in a different operating system, the commands would
also change and the log.
But would also I recommend you to use the same operating system that we are using for simplicity.
And the last step is to go ahead and.
Start to cloud what agent within you.
We go ahead and also specify the configuration file that the cloud agent needs to use.
So let's go ahead and copy the entire command here and let's based it.
Great.
So things seems to be good.
So if you want to quickly verify so you can do a system called status Amazon Cloud Watch agent and you
should see the agent is active and running.
So now from the Eatables console, let's quickly go to the cloud watch dashboard.
So within the cloud, what console?
First, let's go ahead and go to the law groups.
Let's quickly verify the logs have been pushed.
So within the law group, you now have a new law group of messages and you should have a law passed
in the instance ID.
So the instance it is if 36, which should be similar to the instance ideal.
And within you you should have all of the contents that are part of the log messages file.
So you see these are all the logs that are available.
The second important thing is related to Matrix.
So let's quickly open this up.
And within you, you have a custom namespace of cloud aging.
Let's open this.
And within a year there'll be multiple matrix letter categories.
Let's look into one among them.
So you have memory used personal data, Neistat related, related and various others now do not that
since we had just installed the unified agent, it can take a while for the nice dashboards to be created.
So this is one thing to note.
However, at this moment, if you log onto the memory, use the percentage, you will see that we have
one data point.
In fact, if we change this to number, it will be much more better.
So you have ten point seven percent of the memory utilization?
That's correct.
So I hope with this you understood the overall procedure for installing the unified cloud.
What agent?
And also about the detail on the cloud.
What agent, configuration advisor.
So with this will conclude today's video.