100 Days AWS Day 45 Nat Gateway error

Day 45: Configure NAT Gateway for Internet Access in a Private VPC

The instructions ask to “Create a route table devops-pub-rt and associate it with the public subnet.”

However the task check fails with error “Private subnet is not associated with the private route table.”

Please compare your solution with Srikanth’s effort; this may answer your question.

That’s a completely different task.

Well, I’ll be… I have a table of the tasks, and 45 has changed, apparently. This guy has the same notion of Day 45 as you do. See if it’s more useful :slight_smile:

OK I can see he has one extra step in there.

The problem is that it’s not mentioned in the instructions, and it’s not necessary for the final objective of writing the file to the S3 bucket, so the task appears complete as is.

So I think the instructions could be updated to be clearer on the checks required.

1 Like

I got the same issue , Did you get the solution ?

I tried this task 2-3 times.
And even file is also coming in s3 as verification that private ec2 is able to access the internet.

But still it is failing with the same error that you have got.

What’s the problem ?

It would appear that the task has been changed slightly from what it used to be. A couple of questions, since I suspect that the grader may be broken for it:

  • What was the exact error you got when the grader indicated it was “red”?
  • Also, please include the full task description. This task used to require you to create the nat gateway yourself manually, rather than use a “packaged” NAT gateway, as the task appears to now require. But I can only access the regular KKE Level 2 version of the task, which might not be the same as the Day of Cloud version. So I’ll need to see the full task description, to make sure that I’m doing the same version of the task that you are attempting.

When I did it, I got the error “Private subnet is not associated with the private route table.”, which I don’t think is correct for the grader to do.