Skip to content

AWS Cloud Quest - Improve Code Quality using Generative AI Project

0

On AWS Cloud Quest - Improve Code Quality using Generative AI Project The practise step 51 failed for 3 days consecutively with the error below and the resources provided did not allow us to create the solution needed to get it working so the provided steps can do with a review

`he resource LoadBalancer is in a CREATE_FAILED state This AWS::ElasticLoadBalancingV2::LoadBalancer resource is in a CREATE_FAILED state.

Resource handler returned message: "VPC vpc-*********** has no internet gateway (Service: ElasticLoadBalancingV2, Status Code: 400, Request ID**********-************)" (RequestToken: ***************************, HandlerErrorCode: InvalidRequest)`

1 Answer
0

The error you're encountering suggests that there's an issue with the VPC configuration for your Elastic Load Balancer (ELB) deployment. Specifically, the error indicates that the VPC you're trying to use for the load balancer does not have an Internet Gateway attached to it.

For an Elastic Load Balancer to function properly in a public-facing scenario, the VPC it's associated with must have an Internet Gateway. This gateway allows communication between instances in your VPC and the internet, which is crucial for a load balancer to distribute traffic from the internet to your instances.

To resolve this issue, you would typically need to:

  1. Check if the VPC has an Internet Gateway attached. If not, create and attach one to the VPC.
  2. Ensure that the route tables associated with the subnets where you're trying to create the load balancer have routes to the Internet Gateway.
  3. Verify that the VPC has public subnets configured correctly.

However, since this is occurring in an AWS Cloud Quest project, you may not have direct control over these VPC settings. In this case, it's possible that there's an issue with the project setup or instructions.

Given that the problem has persisted for three days and the provided resources don't allow you to create the necessary solution, it would be appropriate to report this issue to the AWS Cloud Quest support team or through the feedback mechanism provided in the learning platform. They may need to review and potentially update the project configuration or instructions to ensure that the VPC is properly set up with an Internet Gateway for the load balancer creation to succeed.
Sources
Troubleshooting - Generative AI Application Builder on AWS
VPC - Generative AI Application Builder on AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

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.