100 Days of Cloud (AWS) Day 22

I am facing an issue in Day 22 of 100 Days of Cloud (AWS). When i submit the task, it fails and the reason is
“No instance information returned. Check if the instance devops-ec2 exists and is running.”
But the instance is up and running
can someone please check, i have tried mutiple time but the issue is same.


The question says to:

A new SSH key should be created on the aws-client host under the /root/.ssh/ folder, if it doesn’t already exist. This key should then be added to the root user’s authorised keys on the EC2 instance,

Could you confirm if you copied the key from /home/ubuntu/.ssh/authorized_keys to /root/.ssh/authorized_keys on the EC2 instance?

Once you SSH into the VM, you need to run:
sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/authorized_keys. This should help complete the task.

Humm, i missed that. Thankyou for pointing this out.
Let me retry this task and i hope it will work.