Configure PE to use Google Cloud SQL
This guide describes how to configure Puppet Enterprise (PE) to use a Google Cloud SQL PostgreSQL instance as its backing database.
Ensure the following:
-
A running PE primary server.
-
Administrative access to:
-
Google Cloud Platform (GCP)
-
The PE primary server
-
-
Access to the following utilities on the PE primary:
-
psql -
pg_dump -
pg_restore
-
-
Network connectivity from the PE primary to the Cloud SQL instance.
-
A complete backup of the PE primary. PE services must be stopped during the migration process.
Configuring PE to use Google Cloud SQL involves the following high level steps:
-
Provision a PostgreSQL instance in Google Cloud. See Provision a Cloud SQL PostgreSQL instance.
-
Configure networking and SSL connectivity. See Configure database connectivity.
-
Migrate PE database roles and tables. See Migrate PE roles and database tables.
-
Verify the migration. See Verify database migration.
-
Update
pe.confto point to the external database. See Update pe.conf. -
Apply the configuration. See Apply configuration.






