Search code examples
amazon-web-servicesawsdeploy

Deploy on aws failed, because of AWSEBLoadBalancer doesn't exist


I have a app deployed on aws, which works fine for months, and the last time I deployed it is a month ago, and I have no trouble at that time. But when I did my deploy process yesterday, I got the error "AWSEBLoadBalancer doesn't exist". But in my aws admin loadbalancer page, it shows I do have a loadbalancer, now I don't know what's going on.

Error messages:

INFO: Environment update is starting.                               
ERROR: "option_settings" in one of the configuration files failed validation. More details to follow.
ERROR: Load Balancer ListenerEnabled setting cannot be applied because AWSEBLoadBalancer doesn't exist. 
ERROR: Load Balancer CrossZone setting cannot be applied because AWSEBLoadBalancer doesn't exist. 
ERROR: Load Balancer ConnectionDrainingEnabled setting cannot be applied because AWSEBLoadBalancer doesn't exist. 
ERROR: Failed to deploy application.

Any one can help me?

I am using ElasticBeanstalk, by the way.


Solution

  • It's a configure mistake, one of my colleagues changed the Classic Load Balancer to Application Load Balancer, and some configure files did't adopt to this change, that's why we get this error.

    It's weird this error did't emerge early, because this change has been made almost a month ago before we receive the error.And we did't make any changes after that.