#terraform-aws-modules (2020-01)

terraform Terraform Modules

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

Archive: https://archive.sweetops.com/terraform-aws-modules/

2020-01-15

cabrinha avatar
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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Terraform AWS modules

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

cabrinha avatar
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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Andriy Knysh (Cloud Posse)

cabrinha avatar
cabrinha

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

We’re using SpotInst.com instead

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Their blue ocean controller for kubernetes is far superior

cabrinha avatar
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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

oh, sorry! let me have @Andriy Knysh (Cloud Posse) take a look

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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

cabrinha avatar
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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

are you using k8s?

cabrinha avatar
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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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 (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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

cabrinha avatar
cabrinha

Good points

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

(and they have a terraform provider)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

(and the node pools are fully managed)

2020-01-22

Chase Ward avatar
Chase Ward
11:55:11 PM

@Chase Ward has joined the channel

2020-01-25

joshmyers avatar
joshmyers
Adds private_zone option to data lookup by joshmyers · Pull Request #19 · cloudposse/terraform-aws-route53-alias

what Adds private_zone option to data lookup. This maintains current behaviour by defaulting to false. why Because sometimes we want to lookup a private hosted zone.

aws1
    keyboard_arrow_up