And welcome back now in today's video, we'll be discussing about the launch templates now, when you
launch an instance, there are various configurations that you need to set forth.
So some of the common configurations are imadi instance type security group keypad.
You have storage you have and also VPC and so on.
So what you do is you go across multiple screens in the easy to to configure each one of them.
So let me quickly show you this post, which we'll be discussing in more detail.
So the first step, we go ahead and choose the e-mail.
So let me go ahead and do that in the second screen.
You can go ahead and select one of the instant stay in the third screen.
You can go ahead and configure various aspects like VPC subnet, maybe the placemen groups, the IAM
role in this step for you, configure the storage in this step for you, configure their tags in these
tactics, you configure security, you and in the last step, when you click on launch, you also configure
that keypad associated with the easy to instant's.
So let's say you regularly go ahead and launch an easy to instant's after Asiel three days or four days.
You do not really want to go ahead and manually go through each and every step all the time.
So every time when you intend to launch and instead of going through the entire process of configuration,
it's time consuming.
So instead, what you can do is you can go ahead and configure the launch template.
So launch template enables you to store the launch parameters so that you do not have to specify them
every time when you launch an instance.
So currently you're there are a launch template and there are three versions from it.
In the first version, you have a specific instance that Imadi keypad and the subnet that is specified
in the version.
Do you have added additional detail related to the security group?
And in the version three, you have modified various aspects like instance type the immunity as well
as a security group.
So based on a specific version, you can go ahead and quickly launch an instance from.
So let's do one thing, let's jump in to practicals so that this can be better understood.
So let's go back to the easy to console.
And within you, you have the option of launch templates.
And from your let's go ahead and click on create launch template, so let's give it a name of a demo
template and you can also specify the version of that template.
Let's call it depth.
Now, if you go back down, now comes the configurations here so you can select the idea here.
Let's use one of the random one, which is Amazon, Linux, too.
As of now, you can select the instant state.
So there are multiple instance they let.
Let's quickly use the key to make it.
You can also configure the keyboard.
Let's use the keyboard.
You can also configure the BBC as well as the classic if you're using.
So let's go ahead and use one of the security group that is associated with the website.
Now, you can also configure various things like storage in case if you want to add additional volumes,
the instance that lets add one type, let's call it as name and al-khalidi launch template, easy.
Now you can configure network interfaces if you go back down.
There are a lot of configurations here, like you can configure the instance profile, you can request
for spot instances, cloud watch monitoring and various others.
So let's do one thing.
Let's keep it simple as of now, will go ahead and create a launch template here.
So once the launch template is created, you can actually do a lot of things from here.
You can go ahead and launch an instance from this launch template.
You can go and associated with the auto scaling group and others.
So let's click on View Launch templates here.
And currently you'll see that you have one launch template that is available.
Let's go ahead and open this up.
And here it will give you an overview about the configuration that you had associated with that launch
template in terms of instance, in terms of storage, in terms of instant step network interfaces and
advanced details.
So now let's go back to the launch templates here.
So once you have selected the launch template, you can go ahead and launch an instance from the template.
So let's go ahead and do this.
Now, you can specify the number of instances that you want to launch from this template.
And other things that he means to be the default that are part of the template.
Let's go ahead and click on down to instance from a template grid.
So an instance has been launched successfully.
Let's go ahead and click on the instant city.
And as expected, if you see the instance Nimish launched Impacto and all the configuration that is
associated with the instance is part of the launch template that we had used.
Now, as we're discussing in this data, a launch template can have multiple versions as well.
So let's also look into it.
Let's go to the launch template here and we can go ahead and click on Modify Template, which is creating
a new version.
So the new version, let's call it up before we leave.
Everything is the fault.
Let's do things then side to be 2.8 like.
And now we can go ahead and create a complete division.
So let's go ahead and view the launch template here.
So as expected, you have one launch template and this launch attempt will have two versions.
So if you see you have version one and version two.
Now, one important part to remember, even if you see in datum that there can be multiple versions
of a launch template, but there can be one default version.
So in this case, the default version is still the version one.
However, you can also go ahead and select the broad as the default template in case if that is required.
So in case if you want to set the default version, you can go to actions, you can set the default
version, and now it will ask you which is their default version that you want to use.
Let's use the default.
And great, if you see within the do you have that before I did.
Great.
So that's the high limit.
What you're about launch templates.
I hope this video has been informative for you.
And I look forward to seeing the next video.