Looking at creating a GCP database instance that i...
# general
h
Looking at creating a GCP database instance that isn’t one of the tiny ones, and it says it must be a custom instance, how do I go about creating one of those w/ Pulumi?
g
I think you have to specify as tier something like
custom-<NUMBER_OF_CPUS>-<AMOUNT_OF_MEMORY>
e.g.
custom-4-4000
which ends up as 4 cpu and 4000 MB memory. I got that from here: https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#creating_the_instance and here: https://www.terraform.io/docs/providers/google/r/compute_instance.html#machine_type
h
Thanks!
Doesn’t seem to work properly
I get an error, but still digging in
got it, has to be
db-custom-X-Y