Task grading fails with "instance xfusion-ec2 does not exist" despite instance running (ALB/Target Group setup task)

Hi team,

I completed the “Set up EC2 with ALB and Target Group” task (xfusion-ec2 / xfusion-alb / xfusion-tg)
twice, and both times the grading result failed with:

instance 'xfusion-ec2' does not exist.

However, at the time of grading, the console clearly showed:

  • Instance xfusion-ec2 was in “Running” state with 2/2 status checks passed
  • Target group xfusion-tg showed the instance as “healthy”
  • Load balancer xfusion-alb was “Active” and Internet-facing
  • All security group rules were configured correctly per the task requirements

I’m attaching screenshots showing the instance running and passing status checks
at the time the task was marked failed.

This looks like it may be a timing/race condition with the grading script running
right as the lab environment expired, rather than an actual misconfiguration on my end.

Could someone from the team take a look, or let me know if there’s a known issue
with grading timing on this particular task?

Thanks!

I can’t find a task with that exact name. Do you mean “Setting Up an Application Load Balancer for an EC2 Instance”?

Task is “Day 36: Load Balancing EC2 Instances with Application Load Balancer” in “100 Days of cloud (AWS)”

i just tried this lab using the console and it worked for me (an alternative approach using the CLI you can find here).

The key thing is to check all the links.

  • Can you get into the ec2 instance and is nginx running?
  • Can you access port 80 for the ec2 instance?
  • Is the ALB running?
  • Does it respond on port 80?

I created a keypair for the EC2 instance based on a local ~/.ssh/id_rsa keypair, which might be relevant to your error. Also, check to make sure that the sg for the EC2 instance allows ssh and http, and that the ALB’s default sg allows port 80.

1 Like