Now that we have prepared an image for the worker nodes in our cluster, we can set up an autoscaling group to manage the launching of the EC2 instances that will form our cluster.
EKS doesn't tie us to managing our nodes in any particular way, so autoscaling groups are not the only option for managing the nodes in our cluster, but using them is one of the simplest ways of managing multiple worker instances in our cluster.
If you wanted to use multiple instance types in your cluster, you could repeat the launch configuration and autoscaling group configuration for each instance type that you wanted to use. In this configuration, we are launching c5.large instances on demand, but you should refer back to Chapter 6, Planning for Production ...