Search code examples
postgresqlgoogle-cloud-platformgoogle-compute-enginegoogle-cloud-sql

how to create postgresql server on rhel7 linux vm in gcp


I am actually planning to have a PostgreSQL instance on rhel7 linux vm running on google cloud platform,

Can you let me know the process for the same.

One more query is it ok to install postgresql on vm rather than going for a cloud sql instance on gcp?

Thanks, Moin.


Solution

  • Just go to the PostgresSQL official downloads page for redhat and install the software.

    You can get the RPMs there if you need to do an air-gapped installation.

    You'll need to configure postgres later. See Posgres docs Chapter 18. Server Setup and Operation.