You can add master or standby instances for AlloyDB Omni cluster.
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The database Overview page appears.
-
From the Add instance list, select Database server.
The Configure Database Instance page appears.
-
Select PostgreSQL Cluster, and then click Next.
The Add Instance page appears.
-
Select an existing backup plan or add a new backup plan.
-
Click Next.
The Configure PostgreSQL Cluster Instance Name page appears.
-
In the Instance name box, enter the name of the database instance.
-
From the Cluster type list, select AlloyDB Omni, and then click Next.
The Configure PostgreSQL Cluster Instance Nodes page appears.
-
Select an existing Kubernetes Credential or add a new one to connect to the Kubernetes cluster. To add a new credential, do the following:
Steps to add a Kubernetes credential
-
Click +.
The Add credential dialog box appears.
-
In the Credential name box, enter a credential name.
-
In the Kubernetes API server, enter a suitable Kubernetes cluster API server. To find the API server, run the Kubectl cluster-info command.
-
In the CA Certification box, enter the encoded root certification.
-
In the Service account box, enter the service account used to connect to the Kubernetes cluster.
-
In the Service token, enter the service account token for your Kubernetes service account. To find the service token, run the Kubectl describe command.
-
From the Key Rotation Reminder Interval list, select a suitable interval.
-
Click Save.
-
-
From the Access node list, select one or more access nodes.
-
In the Label selected field, enter the label to filter the instances.
-
From the DB Cluster list, select a database cluster. You can use the Discover button to discover the database cluster.
-
Select an existing PostgreSQL credential or add a new credential. To add a new credential, do the following:
Steps to add a database credential
-
Click + icon.
The Add Credential dialog box appears.
-
From the Account type list, select a database account.
-
From the Database credential type list, select a credential type.
-
From the Credential Vault list, select a credential vault to store credentials for different types of accounts.
-
In the Credential name box, enter a name for the credential.
-
Under the Azure AD/AWS IAM Authentication section, enter the following details:
-
In the Username box, enter the user name to access the Azure Database for PostgreSQL application.
-
In the Password box, enter the password to access the Azure Database for PostgreSQL application.
Note
If you move the Azure AD/AWS IAM Authentication toggle to the right, you only need to enter the user name detail.
-
-
The Use SSL options toggle key is unselected by default. By moving the toggle key to the right, you can perform the following actions:
-
In the SSL CA file field, provide the SSL CA file path on the proxy computer.
-
In the SSL Cert file field, provide the SSL certificate file path on the proxy computer.
- In the SSL Key file field, provide the SSL key file path on the access node.
-
-
In the Description box, enter the details of the credential.
-
From the Key Rotation Reminder Interval list, select a suitable interval.
-
Click Save.
-
-
Click Next.
-
On the Summary page, verify the information, and then click Finish.
What to Do Next
Perform restore operations.