Everyone, and welcome back to the Knowledge video series, and in today's lecture, we'll be speaking
about jobsworths and we look into a very high level overview related to what exactly this service is
all about.
So Idalis Officeworks is basically a configuration management service that provides managed instances
of chef puppet.
Now, in the earlier lecture, we were already discussing about what configuration management tools
are all about.
So in configuration management, will we write a small script?
So that script will depend upon various configuration management tools like for Ansible, the script
needs to be in your mind for SIFF.
It should be in a different format for Poppit.
It should be in a different format, depending upon the configuration management tool that you will
be using.
The way you write the script will differ.
Now, integration of easy duvid configuration management tool brings up a lot of great possibilities
on how servers can be configured, deployed and manage.
Now, generally in production environment nowadays, in most of the organization, some kind of configuration
management tools are used like Ansible, it might be Popat, it might be chef, etc., etc..
However, if you have unlimited integration by default, like as soon as you're in or as soon as an
instance gets launched, you want to do something like Ginelli.
Whenever your instance gets lines, we manually install Ansible and after the ansible is installed,
then we go ahead and we can deploy the ansible related all.
So what happens in this of sorts is that the instance that gets launched, it gets launched with the
Opsware or I would say it gets launched with the SIFF agent if you're using the ship as the configuration
management tool will be looking into how exactly that would work.
So let's look into the example use case where Wailin in two instances getting lines if we want to install
certain packages like Engine XP, HPF, RPM and my sequel, along with having custom SSX configuration
file followed by that is that offer SSL.
So now this is a very simple use case because trendily, let's assume you are launching a new Ishita
instance.
Now, if you want to run a shift in that instance, then ideally you need to install a shift agent over
there.
Now in order to install a ship agent, you might do it via some bash scripting or you would log in there
manually install the shift agent.
And once the chef agent is installed, you can go ahead and deploy their ship recipes.
So any instance that generally get launched via either is obsolete.
If it is configured with the chef, then the ship agent is automatically installed over there.
So there are a few concepts of stack and layers in ops worlds that we want.
We have to understand where you the overall.
You see this oral diagram, this is called Stack and within Stack, there are multiple related entities.
So this is and these related entities is called as the layer.
So this entire diagram is called as this stack.
And within this, you have multiple layers.
So this layer contains the logical grouping of similar instances.
So you have a ILB layer, you have the BHP application layer and you have that database layer.
And together, when all of these things are combined, you have a observables stack.
So when you talk about stacking layers, so you see you have an absolute stack here and there are three
layers.
You have that elastic load balance earlier, you have the applications earlier and you have the database
layer.
Now, for each of the layer, you can define a custom SIFF recipe which would do a custom, things that
you have defined, like for application layer.
You will have a cookbook repository which would install and Dynex, which would installed BHP, which
would do some other things for database layer.
You might want to install MySQL, you might want to upload some customizable connect file so that can
be configured in the database layer.
So you see the cookbook repository get integrated with the applier, it gets integrated with the database
layer and for each player there will be a different things switcher configuration management would do.
So let's do one thing.
Let's go ahead and open up observables so that it will become much more clear.
So within the Observer, the first thing that we are expected to do here is we are expected to create
a stack, so I'll call it as either stack.
So there are three stacks where you have one stack for ship living, you have one for a ship to it.
However, for our purposes, we'll create a sample stack.
This is also based on ship.
You see, this is a ship based sample stack, so.
What this tag basically will do, it contains a one layer, which is the application layer, which basically
configures the naughtiest application.
So let's go ahead and create this tech.
So first the stack gets created, then you have to basically said, yes, chef, cookbook repository.
So let me show you what I mean by this.
So this is my samples that based, not Linux.
And if you look into the layers, there is one layer, which is the newer application layer.
So if I go inside the layer, there is the node, this application layer and this node, this application
layer has a custom shift recipe.
So if you go into the recipe.
You'll see that there is a repository you ordered and also within the deployed state, there is a notice
from them.
So what this will do is once the two incidents gets launched, based on this specific clear that see
two incidents will get configured based on the chef recipe, which is configured now, a chef recipe
is not nothing, but what other things that you want to do once your instance gets launched.
Do you want to install Ingenix?
Do you want to update some packages like what we did in Ansible?
Do you want to date some such configuration files?
So anything that you want to do, you create a chef recipe for that and you put the chef recipe you
are in within the application layer.
Now, once the lid is configured, any instance that you launch within this lid, this instance will
be based on the chef, a recipe which is created.
So let me just start this easy doing things now was this AC2 instance will get started.
It will have the chef agent installed by default.
And that chef agent will basically pull the chef recipe and it will deploy all the things which are
mentioned in that chef recipe.
So.
Let's do one thing.
Let me click over here and let's go to the easy to instant's.
So basically, there you see two instances booting up, so you will see these instances booting up and
once the building up gets completed, then the shift agent will pull the recipe, which is mentioned
in this notice application layer, and it will perform all the things which are.
Mentioned Aurier.
So in here, it will just install the naughties application and it will start the server.
So let's wait for a while.
Let me just wait for the initialization to complete.
And meanwhile, I just show you a few things, you can definitely add your own lawyer as well so I can
add earlier now this layer can be beaten on.
So this will have to eat the chef related recipes that you can configure.
You have ideas and you also have Xolair if you want to manage the containers.
So let me call this as BHP up, and it certainly would be BHP.
So I click on Add Adla.
Now, you see there are two lawyers now, the recipe which will be present in this BHP at this recipe
will not only to be HP related, let's assume that the recipe that we mentioned earlier, it will install
the BHP related packages.
And the recipe that we mentioned in the note is a player that will install the node related packages.
Now, whenever you launch, for instance, you can launch instance in one of these layers.
So by default, you see there is an instance which has already got lines in this node, just applier.
So let's open up this AC2 instance.
Let's try this out.
OK, so let's just wait for a way, let's verify the security group.
OK, so it is getting initialized.
Now, if you want to launch the instance in BHP Applier, you can do it.
So you can click on add in space and you can add one more instance away.
So you have to specify the instances, the subnet, and you can even specify various things related
to ethnicity and all now.
Currently, there are a good amount of operating systems which are supported.
So earlier there was this Amazon Linux support, but now you have Amazon, the next S.O.S, as well
as Ubuntu with the option of launching it with custom iMac.
So.
Let's click on the notice tab and let me try it out, and now you see this is the easy instance, which
has the Jersey application in store and a website, configurator by default.
So now when you launch, so now whenever you launch one more instance based on this, this instance
will have the exact same setup because the setup is configured in this shift for this sub, which is
connected.
Oryu, you can definitely put your own chef recipes, which you want, so you can choose the repository
you ordered and you can put your own recipe, which would do a certain task.
So I hope you understood the basics about what STAC is and what layers are.
One thing to remember if you launch application in the easy to instance, if it gets launched in the
piece, it will boot up with the recipes that you have configured with only BHP.
Similarly, if you launch AC2 instance in North Jersey, it will take the recipes which are configured
in this not just applier.
So this entire part becomes a stack.
So this is the basics about observables.
I hope you got a very high level understanding about Eatables.
Officeworks.
One thing that I would share as a personal opinion, because I have been working with a lot of clients
and upswell is quite good.
But there are great alternatives to Officeworks, which includes terraformed as well as Ansible.
So when you use terraformed Ansible, you get something similar functionality.
So this is something that I would really recommend you to try it out.
So I just type in terraformed.
So TerraForm is a great infrastructure as a core tool and this has a direct integration with Ansible.
So this is something that you should try it out.
We already have a plan of launching the course and this is a very good alternative, which I have seen
a lot of big organizations using it quite effectively.
So anyway, is this where does the Cytoxan this or not terraformed will not come in, but Officeworks
related questions might come in your exams, so try it out and.
Check if you find this useful to be used in your organization.
I this has been useful for you and I look forward to see you in the next lecture.