Total Page Preview:   000000003874

How to create a PostGres instance using cloudshell in gcp?

In this article I am going to explain how to PostGres instance list in google cloud(gcp) cloudshell command.



gcloud sql instances create [INSTANCE_NAME] \
--database-version=[DATABASE_VERSION] --cpu=2 --memory=8GiB\
--region=[REGION] --root-password=[password123]


--database-version = POSTGRES_9_6, POSTGRES_10, POSTGRES_11

--region = REGION; default="us-central"  More



 gcloud sql instances create prod-instance \
--database-version=POSTGRES_9_6 --cpu=2 --memory=8GiB \
--region=us-central1 --root-password=[password123]



Creating Cloud SQL instance...done.
Created [].



Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn :