featurebase/qa/tf
Garrison Davis bc01e4c55c Make spot instance selection dynamic
The idea behind this is to give AWS more information about what
instances we can let it actually instantitate, rather than have it be
one fixed instance type.

e.g., in this case, we are okay with any Graviton instance with at least
2 vCPU and 8 GiB memory.

The easist way to do that is to instead use a launch template, with
ec2_fleets or spot fleets.

I took out the part where we even support on-demand instances. This can
be readded later if it is necessary.

(cherry picked from commit 3bfb65eb58)
2022-12-12 09:01:20 -08:00
..
.modules/featurebase-cluster Make spot instance selection dynamic 2022-12-12 09:01:20 -08:00
ci Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
gauntlet/backuprestore Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
perf merge: featurebase merge updates for 2022-10-28 (#2188) 2022-10-28 13:08:23 -04:00
README.md Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00

Deploy testing environments with this one weird trick!

This directory contains Terraform to deploy test environments both ad-hoc and as part of CI/CD pipelines.

The .modules contains the guts of the operation, the things you probably want are in the other directories, each with a README.

How to Terraform

With terraform installed (brew install terraform if not)...

You can do terraform plan -> terraform apply to spin up a cluster, terraform destroy to tear one down.

Other prerequisites:

Please read these carefully.