Invalid endpoint: https://rds..amazonaws.com when retrieving RDS endpoint in lab

When running the AWS CLI command provided in the DeepLearning.AI lab to retrieve the RDS endpoint:

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

I receive the following error:

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

This suggests the AWS CLI is attempting to call the RDS service without a region specified. Adding an explicit region (e.g., --region us-east-1) resolves the endpoint error. I am using the provided lab environment and have not manually configured AWS credentials.

1 Like

FYI: There will be some delay before anyone can assist with this issue, since this course has no active mentors, and the DLAI staff is on holiday until Jan 2, 2026.

1 Like

I’m getting the same error here. following for a common resolution.

1 Like

I am encountering an issue when attempting to add a region flag to my AWS CLI command.

When I run: aws rds describe-db-instances --db-instance-identifier de-c1w4-rds --region us-east-1 --output text --query "DBInstances[].Endpoint.Address"

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

If I remove the region parameter, I receive the “invalid endpoint” error instead…

Has anyone successfully resolved this problem?

Yeah, I got the same issue.

My reply from yesterday is still valid.

i have same error

my lab_id is: uzwdqlkqzqye

My lab_id is - jghjutnykhmu

i have the same problem

I’m also facing the same problem

Facing the same problem also. my lab id is vfpblujbhfoi and lab is due tomorrow.

Facing the same problem as well, My lab id is ogrrstsmxxku

same here, my lab id is mrtmlhdfenra

See this thread for updates on the DE courses:

1 Like