Background
EDB Postgres AI Cloud Service can host your database for you on AWS, GCP, or Azure managing the infrastructure and billing in one place - this is using EDB Hosted Cloud Service.
Or you can use your own cloud account to have databases deployed into your own cloud - this is using Your Cloud Account.
This article provides step-by-step instructions about connecting your cloud account to EDB Postgres AI Cloud Service.
Prerequisites
1. To access the Console, you need an account with EDB Postgres AI. If you don't have an account, you can sign up for one for free at registration page.
2. Ensure you have the correct access permissions for your cloud account. -> Checking your cloud readiness
Cloud Provider | Privileges Required |
AWS | IAMFullAccess policy and ServiceQuotasFullAccess policy |
Azure |
Global Administrator or Privileged Role Administrator and you must be a Subscription Owner. |
GCP |
roles/owner or at least the following combined roles:
|
3. You are the project owner of the EDB project you are going to use. If you need clarification, please contact Support with your organization name and EDB Account(Email address).
Connecting your cloud account to EDB Cloud Service
- Download biganimal CLI in your Cloud Shell or terminal window while logged into your cloud account.
curl -LO "https://cli.biganimal.com/download/$(uname -s)/$(uname -m)/latest/biganimal"
chmod +x biganimal - Run preflight command to precheck resource limits for running Cloud Service
./biganimal cloud-provider preflight
- Create a credential for biganimal cli
./biganimal credential create --name <cred>
You will be asked to select the organization,
or you can specify the org in the command./biganimal credential create -n <cred> --organization "Your organization"
The show command can tell which organization you logged in to for the credential./biganimal credential show
- Setup CSP in your cloud account
./biganimal cloud-provider setup -c <cred>
- Connect CSP (you can also copy and run the last line returned by the setup command)
./biganimal cloud-provider connect
- Go back to EDB Cloud Console, and verify the CSP in Your Cloud Account is connected
- Activate the Region where you are going to create clusters. Region activation usually takes 30-60 minutes.
If you have any questions, contact EDB Cloud Support.