Launch Configuration Template
Links: 101 AWS SAA Index
- Launch configuration is legacy
-
Launch template is the newer version
-
In launch templates we can have:
- Multiple versions
- We can use inheritance by creating partial launch templates
- We can provision a mix of on demand and spot instances. This is not possible in launch configuration.
To remember T > C.
- Launch templates are recommended by AWS.
- Launch configurations cannot be versioned and you have to create new ones every time if you want to make any changes. They cannot be modified.
Which tenancy to use?
- When you create a launch configuration, the default value for the instance placement tenancy is null and the instance tenancy is controlled by the tenancy attribute of the VPC.
- If you set the Launch Configuration Tenancy to default and the VPC Tenancy is set to dedicated, then the instances have dedicated tenancy.
- If you set the Launch Configuration Tenancy to dedicated and the VPC Tenancy is set to default, then again the instances have dedicated tenancy.
Always dedicated.
Last updated: 2022-05-05