Refer to the modules README.md files under modules directory for the complete usage details.
This module supports following types of mysql database.
- Single instance, without HA
- Single instance, with HA
- Primary(master) instance with replicas in different zones and diffrent region, without HA.
- Primary(master) instance with replicas in different zones and diffrent region, with HA.
Note: By default binary_log_enabled
is true for standlone and primary(master) instance, to enable HA set availability_type
to REGIONAL
.
This module supports following types of mysql database.
- Single instance, without HA
- Single instance, with HA
- Primary(master) instance with replicas in different zones and diffrent region, without HA.
- Primary(master) instance with replicas in different zones and diffrent region, with HA.
Note:
- By default
binary_log_enabled
isfalse
for postgres instance, to enable HA setavailability_type
toREGIONAL
. - Postgres supports only shared-core machine types such as db-f1-micro, and custom machine types such as db-custom-2-13312
- To build custome machines see https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create