Setup AWS RDS for Onyx
Create an RDS PostgreSQL instance
Configure database settings
onyx-prod-db
postgres
)db.t3.micro
for testing, db.t3.medium
for production)Configure connectivity and security
Configure Onyx environment variables
5432
postgres
if using default.env
file:values.yaml
file:Enable IAM authentication on RDS
Create IAM database user
Configure IAM policy
DbiResourceId
or DbClusterResourceId
:region
, account-id
, resource-id
, and attach it to your EC2 instance role:Download SSL certificate
Configure Onyx for IAM authentication
.env
file:docker-compose.yml
:values.yaml
file:values.yaml
file.Go through each container and replace the empty volumes
and volumeMounts
with the following:Restart Onyx