Skip to content

AWS Industry Quest: Financial Services; Unable to complete, Boosting Banking Application Performance

1

Hi I am trying to complete the segment by changing the default DB parameter group to the custom parameter group created by me, and it has the parameter change of query_prealloc_size to 20480 saved from the default value, and the DIY says to change the Aurora DB cluster to use custom parameter group to complete DIY and I tried to modify the same and custom parameter can be seen as the choice for the selection on the modify section in db parameter, but when I click save changes in the bottom. the web page is throwing an error with not having to create the role and having the monitor role, IS it something anyone experienced the same? or it is something I missed

Steps to boost the performance was done and is is clearly seen the performance is enhanced as mentioned in the practice lab

Problem with saving the custom db cluster parameter group to the aurora cluster only to complete the DIY 3 DIY 1 creation of the custom parameter group is a success DIY 2 and updating the Pre_allocsize is a success DIY 3 Updating the Aurora DB cluster is giving me the issue, And the lab is not allowing me to change the IAM role or create roles restricted as the lab environment is controlled.

Thanks in advance if any can guide me through this Cheers

Error: Access denied to iam:CreateRole You don't have permission to iam:CreateRole. To request access, copy the following text and send it to your AWS administrator. Learn more about troubleshooting access denied errors. User: arn:aws:sts::888771997894:assumed-role/AWSLabsUser-HAXE9STzZuDur3rj3zG16/bb01f40a-d253-42ca-aa2d-a0956093cf66 Action: iam:CreateRole On resource(s): arn:aws:iam::888771997894:role/rds-monitoring-role Context: no identity-based policy allows the action

3 Answers
1
Accepted Answer

I tried contacting support, and they replied with the needed info along with screenshots and a video of the process of the steps. For them to check out, I did another time with screen recording, and miraculously, it worked this time, asking for the change of the cluster immediately or later for the modification. It is working now. I am able to move forward.

Thanks to everyone who tried to help me out!!

answered 2 years ago

1

I understand you're having difficulty completing the AWS Industry Quest: Financial Services lab, specifically the part about boosting banking application performance by changing the DB parameter group for your Aurora cluster. Let me clarify the situation and provide some guidance.

The issue you're encountering is not related to the DB parameter group change itself, but rather to IAM permissions in the lab environment. The error message you're seeing about "Access denied to iam:CreateRole" is a separate issue and not directly related to changing the DB cluster parameter group.

To address your main concern:

  1. You've successfully created a custom DB cluster parameter group (DIY 1).
  2. You've successfully modified the query_prealloc_size parameter to 20480 in this custom group (DIY 2).
  3. For DIY 3, you should be able to associate this custom parameter group with your Aurora DB cluster without needing to create any new IAM roles.

To associate the custom parameter group with your Aurora DB cluster:

  1. Go to the RDS console and select your Aurora DB cluster.
  2. Click on "Modify" for the cluster.
  3. Scroll down to the "Additional configuration" section.
  4. Look for "DB cluster parameter group" and select your custom parameter group from the dropdown.
  5. Scroll to the bottom and click "Continue".
  6. Review the changes and click "Modify cluster" to apply them.

The change should be applied immediately, regardless of the "Apply immediately" option, as this is how parameter group changes work for Aurora clusters.

The IAM role error you're seeing is likely unrelated to this process and might be triggered by some other action or setting in the lab environment. As you mentioned, the lab environment is controlled and restricts certain actions, so you don't need to (and can't) create the IAM role it's mentioning.

If you've followed these steps and are still unable to save the changes to use the custom parameter group, it may be a specific limitation or issue with the lab environment. In that case, I would recommend reaching out to the AWS training support team or the lab administrators for further assistance, as they would have more detailed information about any specific restrictions or issues in the lab environment.
Sources
Associating a DB cluster parameter group with a DB cluster in Amazon Aurora - Amazon Aurora
Modifying parameters in a DB cluster parameter group in Amazon Aurora - Amazon Aurora
Modifying parameters in a DB cluster parameter group - Amazon Relational Database Service

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

  • Hi Firstly thanks for responding, here i did the same for DIY 3 as mentioned by you in the answer, The modify cluster is showing the custom parameter group but not able to save it. I believe it may be something related having the IAM role policy issues as i see in the error the role does nt have the permission to update or modify permission in the Lab environment and the environment is controlled Not able to save with the Lab role i currently have in the Practice Lab Here is the error its throwing me Error: Access denied to iam:CreateRole You don't have permission to iam:CreateRole. To request access, copy the following text and send it to your AWS administrator. Learn more about troubleshooting access denied errors. User: arn:aws:sts::888771997894:assumed-role/AWSLabsUser-HAXE9STzZuDur3rj3zG16/bb01f40a-d253-42ca-aa2d-a0956093cf66 Action: iam:CreateRole On resource(s): arn:aws:iam::888771997894:role/rds-monitoring-role Context: no identity-based policy allows the action

  • I believe its something related to the Lab environment and i contacted the AWS training team for guidance on the error.

1

Hello.

The IAM role displayed in the error is the one to be configured when enabling enhanced monitoring.
Try unchecking Enable Enhanced Monitoring when changing Aurora settings.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Monitoring.OS.Enabling.html#USER_Monitoring.OS.Enabling.Procedure

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Hi, Thanks for the post In the Lab Environment, Enhanced monitoring is not enabled.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.