C1_W2 assignment is not working. When I run the below command:
coder@b0fb3733abf8:~/project$ aws rds describe-db-instances --db-instance-identifier de-c1w2-rds --output text --query “DBInstance.Endpoint.Address”
I get the following error - Invalid endpoint: https://rds..amazonaws.com
Even when I add the region us-east-1, I get the new error saying - An error occurred (InvalidClientTokenId) when calling the DescribeDBInstances operation: The security token included in the request is invalid.
The issue seems to be there for a long time and others are also facing the same. Why isn’t it being resolved?
By rebooting the lab three times, it somehow worked probably but it is throwing a new error now:
An error occurred (AccessDenied) when calling the DescribeDBInstances operation: User: arn:aws:sts::561018442895:assumed-role/voclabs/user4777274=odfljfmsxepl is not authorized to perform: rds:DescribeDBInstances on resource: arn:aws:rds:us-east-1:561018442895:db:de-c1w2-rds with an explicit deny in an identity-based policy: arn:aws:iam::561018442895:policy/voc-cancel-cred (voc-cancel-cred)
I can set the region to us-east-1 but I don’t have the aws_access_key_id, aws_secret_access_key, nor the aws_session_token to set.
If we had these, we could proceed. My opinion is that the lab was not working (the lab has an extensive history of not working, then working, then not working), so they likely removed the credentials to prevent AWS from being hammered with credential authentication requests.
@toxiccoder We did not configure Sagemaker for the Data Engineering labs and there’s no need for it. You can open and run the jupyter notebook directly in VS Code.
I was able to complete this activity yesterday. I have not checked to see if I could duplicate my experience a second time. However, the next activity, C1W3, is having problems on the AWS console. Cloudshell launches but has no permissions to execute the required commands.