Getting authorization error for RDS database

Hi Team,
I’m doing 100 days of cloud tasks. At Day 31, While creating the RDS instance database getting error related to authorization in AWS UI. I am using kodekloud account details to login.
Check the below error and please provide me solution.
An error has occurred.

User: arn:aws:iam::492885544999:user/kk_labs_user_578009 is not authorized to perform: rds:CreateDBInstance on resource: arn:aws:rds:us-east-1:492885544999:db:database-1-instance-1 with an explicit deny in a service control policy: arn:aws:organizations::487349550619:policy/o-0mgf8ua334/service_control_policy/p-icntgjha

Hi @DivyaSmily

Please refer to the solution here and try again https://github.com/Srikanth0824/kodekloud-engineer/blob/main/100_Days_of_Cloud-AWS/Day31.md

1 Like

why don’t have access on AWS console to create RDS database. Can you pls explain the issue

You can use the AWS Console if you prefer. The main requirement is to create the RDS instance with the correct instance type and max storage. You can refer to the solution for the configuration values and use them to create the instance in the AWS Console.

I have tried in AWS console but there I’m getting authorization error. Don’t have permission to create database.

I see this as well; I’ve asked our lab team to fix this. But doing it using CLI as per Raymond’s link works for me, even if the console appears to be blocked.

1 Like