From GCP or from the flexible environment, you can also choose from a variety of third-party databases to use with your WordPress. More details on the "Using Third-Party Databases"
page. You can connect using IP addresses or the Cloud SQL Proxy. How do you prefer connecting to your third-party database, in this case?