CloudShell - error when running "aws ssm start-session --target cfxtxc6pmq18"

0

Hi re:Post, I'm trying to CloudShell connect to one of our RDS servers: db-demo.cfxtxc6pmq18.us-east-2.rds.amazonaws.com using this command:
aws ssm start-session --target cfxtxc6pmq18

I've been reading "https://repost.aws/knowledge-center/ec2-linux-connection-options". But am receiving error (screenshot), "Error when retrieving credentials from container-role: Error retrieving metadata: Received non 200 response 500 from container metadata." And it displays some HTML coding...

Please advise. Thank you for your help! Best Regards, DonaldEnter image description here

profile picture
asked 8 months ago431 views
1 Answer
1
  • Thank you for your quick reply and help Sivaraman! I am not looking to port forward to a remote host and my question is incorrect as ultimately I'm trying run "df -h" on the linux host. I will research this some more. Thanks again! Best Regards, Donald

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions