How do I troubleshoot Access Denied errors when I connect to RDS for MySQL with IAM authentication?

preview_player
Показать описание


0:00 Intro
0:32 Error Code
0:45 Demo Start/ Create DB Instance
1:33 Check connectivity
1:41 Check IAM role permissions
2:14 Check connectivity
2:20 Connect to mySQL in CLI
3:01 Check if using correct connection string
3:40 Ending

Kyathi shows you how to troubleshoot Access Denied errors when I connect to RDS for MySQL with IAM authentication.

Subscribe:

ABOUT AWS
Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

#AWS #AmazonWebServices #CloudComputing
Рекомендации по теме
Комментарии
Автор

The summary of the video.
1. Check if IAM authentication in the DB configuration is enabled
2. Check that IAM user policy is correct and the database name, username etc. is correct in the policy
3. Check if the IAM user in the DB, otherwise create a DB user that uses AWS authentication token instead of a password.
4. Check if you are using the correct command and all the params are correct.

Thanks for this great and amazing video ❤

ApnaCryptoChannel
Автор

I don't want to use IAM ... I am trying to use the existing DB user/passwords ... I've set them in my laravel .env and put the new endpoints but still can't connect .. even when connecting from terminal on the instance it won't accept my user and password .. If I connect directly to the RDS instance it works ..

razvancomsa
Автор

why showing access to resource is denied while calling amazon sp api for time slot in easy shipment

jerinchacko
Автор

I have done all these, but still get the same error

MrRyonnsan