We'll create an AWS AutoScaling Group with Mixed Instance Types. This is one of my favorite stacks because it allows us to mix and match spot and on-demand instances. With spot, we can save 50-90%.
Terraform AutoScaling Docs
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#attributes-reference
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#mixed_instances_policy
- GitHub Repo boltops-learn/terraform-aws/tree/main/terraform-aws-autoscaling-mixed-instances
Terraform AWS
2h 4m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day