I am trying to solve this task:
Configuring a Private RDS Instance for Application Development
I configured the below options:
Standard create
Engine type: MySQL
Engine version: 8.4.3
Templates: Sandbox
Instance class: db.t3.micro
Storage: gp2 with 50GB
but I get permission denied.
You don’t have permission to rds :CreateDBInstance . To request access, copy the following text and send it to your AWS administrator.
User: arn:aws:iam::471112567703:user/kk_labs_user_404625
Action: rds:CreateDBInstance
On resource(s): arn:aws:rds:us-east-1:471112567703:db:devops-rds
Context: a service control policy explicitly denies the action
Hi @shubheshswain91
Are you trying this on one of AWS courses or in AWS Playground?
The AWS Playground/labs support an RDS instance of size not more than 30GB. You can see the limits for different services on AWS Playground here.
hi @Santosh_KodeKloud, I’m solving tasks from Kodekloud Engineer Level 2 AWS.
This is the prblem statement:
The Nautilus Development Team is working on a new application feature that requires a reliable and scalable database solution. To facilitate development and testing, they need a new private RDS instance. This instance will be used to store critical application data and must be provisioned using the AWS free tier to minimize costs during the initial development phase. The team has chosen MySQL as the database engine due to its compatibility with their existing systems. The DevOps team has been tasked with setting up this RDS instance, ensuring that it is correctly configured and available for use by the development team.
As a member of the Nautilus DevOps Team, your task is to perform the following:
Provision a Private RDS Instance: Create a new private RDS instance named devops-rds using a sandbox template, further it must be a db.t3.micro type instance.
Engine Configuration: Use the MySQL engine with version 8.4.x.
Enable Storage Autoscaling: Enable storage autoscaling and set the threshold value to 50GB. Keep the rest of the configurations as default.
Instance Availability: Ensure the instance is in the available state before submitting this task.
The question needs to be updated in this case. As I mentioned, the size of the instance is capped to 30GB, and the question says to create it with 50GB, and that’s causing that error. If you try to create an instance with less than or equal to 30GB. The RDS gets created without error.
But, not sure how the validation will work in that case.
However, I’ll update the team about this and ask for a correction to the question and probably the validation as well.
Hello @Santosh_KodeKloud,
an you please update me if the problem is resolved? I can’t go to the next task and until I solve this.
Thanks,
Shubhesh
Hi @shubheshswain91 ,
Thank you for submitting your query. We reviewed it and found that you are attempting to increase the storage size from the default values to 50 GB, which was not part of the original task.
We had requested the user to increase the maximum threshold to 50 GB instead. Please try again and share the feedback.
Regards,
1 Like
Thank you for the support. It works now. 