Getting Started with OCI Database with PostgreSQL
This getting started guide walks you through creating the necessary OCI prerequisites, network configurations, and instances to host and access an OCI Database with PostgreSQL.
The overall process includes:
Prerequisites
Ensure that you have installed, obtained, or created the prerequisites:
- An Oracle Cloud Infrastructure tenancy.
- An account with the privileges to create users, add users to user groups, create security policies, and create compartments. For more information, see Overview of IAM.
This getting started guide assumes that the tenancy is migrated to use identity domains. To find out whether a cloud account uses identity domains, open the Oracle Cloud Infrastructure navigation menu and click Identity & Security. Under Identity, check for Domains.
If the tenancy isn't migrated see Overview of Identity and Access Management.
Set Up IAM Resources
To get started quickly with OCI Database with PostgreSQL, IAM resources and policies are required. See the following steps for more information:
- Create or choose a compartment to contain PostgreSQL-related network infrastructure and resources. For more information, see Managing Compartments.
- Create or choose a group of PostgreSQL administrators. For more information, see Managing Groups and Creating a User.
- Create the IAM policies required for PostgreSQL administrators to manage OCI Database with PostgreSQL resources.
Set Up the OCI Network
To get started quickly with OCI Database with PostgreSQL, networking resources are required. See the following steps for more information:
- Create a Virtual Cloud Network (VCN) and subnets. You can use a quickstart to quickly create a VCN and related resources. For more information, see VCN and Subnet Management.
- Create a Compute instance that's accessible from the internet.
- Create a private Compute instance to access the database.
Create an OCI Database with PostgreSQL
After the necessary OCI prerequisites and network are in place, you can create the database.
- Create or choose a vault for the database administrator password. For more information, see Managing Vaults.
- Create a key for the database password. For more information, see Managing Keys.
- Create a secret for the database password. For more information, see Managing Vault Secrets.
- Create an OCI Database with PostgreSQL.
After you create the database, you can connect to the database system. See Connecting to a Database.