Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating load balancer failed Reason: Default VPC not found

i m trying to deploy my app spring boot to aws elastic beanstalk , but i got these errors:

enter image description here

like image 671
Justin Zuñiga Torres Avatar asked Dec 13 '17 01:12

Justin Zuñiga Torres


People also ask

Why default VPC is not recommended?

The default VPC lacks the proper security and auditing controls. The default VPC does not make the best use of critical VPC functionality. VPC flow logs – The default VPC does not enable flow logs. The feature allows users to track network flows in the VPC for auditing and troubleshooting purposes.

What is VPC in load balancer?

Access Elastic Load Balancing using an interface endpoint (AWS PrivateLink) PDF. You can establish a private connection between your virtual private cloud (VPC) and the Elastic Load Balancing API by creating an interface VPC endpoint.

Why is my load balancer not working?

If the load balancer is not responding to requests, check for the following issues: Your internet-facing load balancer is attached to a private subnet. You must specify public subnets for your load balancer. A public subnet has a route to the Internet Gateway for your virtual private cloud (VPC).


1 Answers

Some AWS service uses the Default VPC, for some reason you don't have it in your region (according to the image is Oregon).

Fortunately now is really easy to recover your default VPC, go to your VPC Dashboard and click on "Your VPCs", then click button "Actions" and then "Create Default VPC".

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#create-default-vpc

like image 198
Koe Avatar answered Oct 23 '22 17:10

Koe