Step 2 - Create a role
Following on from Creating a policy, you now need to create a role in AWS that uses that policy. You then need to inform EDB Postgres AI of the role ARN so that it can access the RDS and S3 metadata in your AWS account.
Go to the AWS console UI, and in the left-hand navigation pane, choose Roles and then select the Create role button.
Select Custom trust policy role type.
In the Custom trust policy section, paste the trust policy you obtained from Step 2 in the Cloud Hosted Databases UI. It looks similar to this:
Note
The EDB Postgres AI Cloud Hosted Databases UI shows a snippet like the one above but with the
<project-id>
already specified.Select the Next button.
Select the policy you created earlier. In this example, we used
edb-postgres-ai-addon-policy
.Select the Next button.
Give the role a name. Note that you must give the role a name that starts with
biganimal-role
, such asbiganimal-role-beacon
.Select the Create role button.
Still in the AWS console, select the View role button in the green banner at the top of the Roles dashboard in the AWS console.
Copy the role ARN from the Summary section of the Role page in AWS console and paste it into the form at the bottom of the Cloud Hosted Databases UI labeled Role ARN.
Select the Next: Regions and Services button in the Cloud Hosted Databases UI to move to Step-3: Regions and Services.
Could this page be better? Report a problem or suggest an addition!