#terraform-aws-modules (2020-1)

https://github.com/terraform-aws-modules/ (not cloudposse modules)

Discussions related to https://github.com/terraform-aws-modules Archive: https://archive.sweetops.com/terraform-aws-modules/

2020-01-22

Chase Ward
11:55:11 PM

@Chase Ward has joined the channel

2020-01-15

cabrinha
cloudposse/terraform-aws-ec2-autoscale-group

Terraform module to provision Auto Scaling Group and Launch Template on AWS - cloudposse/terraform-aws-ec2-autoscale-group

Erik Osterman
Terraform AWS modules

Collection of Terraform AWS modules supported by the community - Terraform AWS modules

cabrinha

Unfortunately no way to use spot here at the moment either: https://github.com/terraform-aws-modules/terraform-aws-autoscaling/pull/86

[Breaking Changes] Use Launch Template by michaelaw320 · Pull Request #86 · terraform-aws-modules/terraform-aws-autoscaling

Description Convert Autoscaling Group to use Launch Template instead of Launch Configuration Fixes #54 #81 and possibly fixes #44 This is backport from https://github.com/HENNGE/terraform-aws-autos

Erik Osterman

@aknysh

cabrinha

No way to use this with spot instances yet, huh?

Erik Osterman

We’re using SpotInst.com instead

Erik Osterman

Their blue ocean controller for kubernetes is far superior

cabrinha

Yeah but for the rest of us plebians still running ASGs, it’d be nice to get those open PR’s merged

Erik Osterman

oh, sorry! let me have @aknysh take a look

Erik Osterman

(spotinst.com is “free” - they only charge a % of savings)

cabrinha

we’ve talked with them and just decided to do it ourselves, but they’ve got a great business model and are doing cool stuff

Erik Osterman

are you using k8s?

cabrinha

EKS, yes, just starting to kickoff the migration from ECS to EKS and it’ll be slow. We’re using the terraform-aws-modules/terraform-aws-eks with spot instances for most of our workers

Erik Osterman

The brilliance with blue ocean is it knows (a) how much memory your cluster needs based on requested (b) how much cpu your cluster needs - so it can right size the spot instances in your cluster

Erik Osterman

but very often, the requested sources are set too high, so spotinst will then recommend how to rightsize your pods

Erik Osterman

this is why from a UX, we think it’s worth the investment.

cabrinha

Good points

Erik Osterman

(and they have a terraform provider)

Erik Osterman

(and the node pools are fully managed)

    keyboard_arrow_up