docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

A load balancer cannot be attached to multiple subnets in the same Availability Zone

Open afisher-bpp opened this issue 3 years ago • 1 comments

Description Our VPC has multiple subnets on the same availability Zone. When attempting to run docker compose up compose begins, but fails on the load balancer with the following error: A load balancer cannot be attached to multiple subnets in the same Availability Zone (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: InvalidConfigurationRequest

Steps to reproduce the issue:

Pull most recent docker-magento with existing project Create new ECS context Try to run docker compose up on the new context

Expected Outcome: Successfully run and finish building docker containers.

Actual Outcome: Fails on load balancer with error: A load balancer cannot be attached to multiple subnets in the same Availability Zone (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: InvalidConfigurationRequest

What has been tried: Tried specifying VPC Tried specifying subnet(s)

afisher-bpp avatar Mar 02 '22 20:03 afisher-bpp

I'll leave this ticket open for a bit in case someone else wants to chime in, but note that this environment is intended purely for local development purposes. It is not meant to run on production.

markshust avatar Mar 05 '22 17:03 markshust