0

I used the firstRun to create our ECS cluster. The Whizzard automatically creates a Classic Load Balancer.

As we want to run multiple containers on the same machine on different ports behind the same Load Balancer port I have switched the Classic Load Balancer for an Application Load Balancer by deleting the old one and creating a new one with the same name.

Deploying a new Docker Image to our Cluster fails with:

An error occurred (InvalidParameterException) when calling the UpdateService operation: The load balancer EC2Contai-EcsElast-1R09N14WBDCZK does not exist.

I assume the Load Balancer's ARN is stored somewhere in the Service definition, but I cannot find where.

Any ideas?

Edit: The Application Load Balancer is working properly.

kev
  • 8,928
  • 14
  • 61
  • 103

1 Answers1

0

I have deleted the Service and created a new Service using the web interface (inside my cluster). It let me chose the existing Application Load Balancer and re-deployments work now too.

Shame on you Whizzard!!

kev
  • 8,928
  • 14
  • 61
  • 103