Set up Databases
Create 2 databases, care-db and metabase-db
SQL > Create instance > PostgreSQL (link)
Create instance for care:
Instance ID: care-db
Password: <use your own strong password>
Database version: PostgreSQL 14
Cloud SQL edition: Enterprise
Region: asia-south1
Zonal availability: Single zone
Click show zones
Primary zone: asia-south1-a
Click show configurations
Machine configuration: Dedicated core (2 vCPU, 8 GB)
Storage type: SSD
Storage capacity: 20 GB
Enable automatic storage increases: Enabled
Under connections, set
Instance IP assignment: Private IP
Associated networking: care-vpc
If not presented with setup connection dialog, skip to p
Select SET UP CONNECTION for setting up a private service connection and Click ENABLE API
Select Use an automatically allocated IP range
Click create connection
Public IP: Disabled
Under Data protection
Automated backups: Enabled
automated backup window: 2:30 AM - 6:30 AM
Enable point-in-time recovery: Enabled
Days of logs: 7
Enable deletion protection: Enabled
Maintenance window: Sunday
Once the db instance is initialized, create a new database:
Click on care-db > Databases > create database
Enter the db name care
Click create
Repeate the above steps for metabase-db with the following changes
Instance name: metabase-db
Machine configuration: Dedicated core (1 vCPU, 3.75 GB)
db name: metabase
Last updated