prakhar1989/docker-curriculum

The following resource(s) failed to create: [AWSEBLoadBalancer]

Opened this issue · 2 comments

Describe the bug
Everything ok until I validate the application creation. AWS try to deploy the environment.

2021-11-19 14:18:33 UTC+0100 INFO Environment health has transitioned to Pending. Initialization in progress (running for 9 seconds). There are no instances.
2021-11-19 14:18:19 UTC+0100 INFO Launched environment: Flaskapp-env. However, there were issues during launch. See event log for details.
2021-11-19 14:18:17 UTC+0100 ERROR Creating load balancer failed Reason: Default VPC not found (Service: AmazonElasticLoadBalancing; Status Code: 409; Error Code: InvalidConfigurationRequest; Request ID: 8c11b3dd-9e1d-408a-bf7c-363527c3243c; Proxy: null)
2021-11-19 14:18:17 UTC+0100 ERROR Stack named 'awseb-e-qhwemrmq4n-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBLoadBalancer].
2021-11-19 14:17:52 UTC+0100 INFO Using elasticbeanstalk-eu-west-3-683129997034 as Amazon S3 storage bucket for environment data.
2021-11-19 14:17:51 UTC+0100 INFO createEnvironment is starting.

(I'm sorry but I don't know what to add, I think I followed exactly the tutorial).
I posted a SO question but not enough informations so that people can help out.

w-h-a commented

Go to the AWS VPC console and create a default VPC.

Hi I would like to contribute to this issue. Being a beginner to AWS, can you please guide me through the process?
Thank you.