Google Cloud Platform Cloud SQL 创建PostgreSQL数据库

选择进入Storage -> SQL,出现下面界面
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库

点击create instance
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库
创建一个 PostgreSQL instance。根据GCP的说明,对默认的postgre用户必须加密
When you create a new Cloud SQL for PostgreSQL instance, the default postgres user is already created for you, though you must set its password.

The postgres user is part of the cloudsqlsuperuser role, and has the following attributes (privileges): CREATEROLE, CREATEDB, and LOGIN. It does not have the SUPERUSER or REPLICATION attributes.
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库

Google Cloud Platform Cloud SQL 创建PostgreSQL数据库
默认状态下,单核CPU, 3.75GB内存,SSD存储,10GB存储空间。
这些设置选项均可以根据需要修改。升级账户后一个instance可以配置最高到64个内核
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库
细分的配置:服务器内核内存和网络传送速度
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库
细分配置:存储类型和空间,数据读写速度
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库
数据库instance创建成功,
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库

可以开始导入数据做下一步的编程了!
Google Cloud Platform Cloud SQL 创建PostgreSQL数据库

下一篇:Google Cloud Platform Cloud SQL 导入数据