C2W1 Assignment 1: Troubleshooting Database Connectivity on AWS

Hi everyone, I’m working on the Assignment 1: Troubleshooting Database Connectivity on AWS. I ran into an error at instruction 2.13 and can’t add a new rule. Any ideas on how to fix this?

“AWS was not able to validate the provided access credentials”

2.13. You know that the RDS database is a PostgreSQL database, and the default port allowed to establish communication to a PostgreSQL database is port 5432 . You need to add a new rule allowing traffic to that port. Click on the Edit inbound rules button, then Add rule . For type use Custom TCP , and for port range just use the port number 5432 . For source, you can choose 0.0.0.0/0 from the Source search list.

Hello @katiehx,

It seems I couldn’t reproduce the issue. Do you get a similar error when seeing the security groups from VPC, f you go to security groups and choose de-c2w1a1-sg. Please if the issue continues you could ask for a lab refresh via this form, thanks :

what you did how to delete these security groups ?? hmm

Hello @Muhammad_Hassaan,

You don’t need to delete the security groups just edit the inbound rules inside de-c2w1a1-sg. This issue is not able to validate credentials error hopefully will be fixed with a lab refresh. My screeshot is from VPC showing all the security groups not just the RDS, that is why I have more Security Groups. Hope it helps

1 Like

got it dude … now I’m learning this stuff and dataops…

1 Like

Hi @Georgios, I tried again and received the same error when I searched for de-c2w1a1-sg. I’ll request for a lab refresh then - thanks for your help!

1 Like

Hi @Georgios, I’m re-doing the assignment, but I’m unable to connect to the EC2 instance at step 1.4. Could you help me troubleshoot? Thanks!

This is the error I received:

Hello @katiehx,

Sorry for the inconvenience there were other learners with the same issue in this post. Perhaps a staff @hawraa.salami could help you with troubleshooting, like adjusting the security group in this video. Someone tried to connect from a different laptop to make it work, thanks