C1w2: Amazon RDS MySQL connection error

Input

aws rds describe-db-instances --db-instance-identifier de-c1w2-rds --output text --query “DBInstances[].Endpoint.Address”

Output

“Invalid endpoint: https://rds..amazonaws.com”

Adding a region

Input:

aws rds describe-db-instances --region us-east-1 --db-instance-identifier de-c1w2-rds --output text --query “DBInstances[].Endpoint.Address”

Output:

An error occurred (InvalidClientTokenId) when calling the DescribeDBInstances operation: The security token included in the request is invalid.

It is very likely that the access key ID we send does not exist or is not valid for this account.

1 Like

Why are there two dots in the URL (between “rds” and “amazonaws”)? That’s not a valid URL specifier.

1 Like

Yes… the two dots are an issue. They are output. I thought inserting the region would mitigate the problem but it produced a new error. I believe the issue is credential related. Right now, i’m sitting at a big fat zero for the activity.

There are other threads in the Forum about this issue. Perhaps one of them has a solution.

I am facing the same issue

This appears to be a third-party vendor configuration issue… It needs to be escalated.

There are no local credentials loaded:

cat ~/.aws/credentials

default

aws_access_key_id =
aws_secret_access_key =
aws_session_token =

aws sts get-caller-identity

Invalid endpoint: https://sts..amazonaws.com

same issue … no credentials found .. its empty …

An error occurred (InvalidClientTokenId) when calling the DescribeDBInstances operation: The security token included in the request is invalid.

This thread has tags for both the Coursera and DL.AI Learning Platform.

Are there problems with both versions?

Please don’t everyone answer, just one answer of “Yes” is sufficient for each platform.

This should be in Coursera platform. It seems it was the similar issue back in Dec, where AWS resources were not created.

Hi everyone - The issue with C1W2 assignment has been fixed.