24-02-2023, 12:23 PM
Yes first time when we deploy after giving host and container port the same i.e. 8080 it gets deployed and runs fine(only one ec2 instance exists at that time). When we increase the desired count to 2, the new one fails saying port is already in use(obvious).
We have allowed the inbound traffic for all ports on EC2 SG from ALB SG
We have not mentioned any network mode so its automatically taking bridge mode. other modes have some issues with dynamic port mapping so we are not specifying any network modes.
We rechecked the article and found that all the recommend settings are already in place as specified in the link.
We have allowed the inbound traffic for all ports on EC2 SG from ALB SG
We have not mentioned any network mode so its automatically taking bridge mode. other modes have some issues with dynamic port mapping so we are not specifying any network modes.
We rechecked the article and found that all the recommend settings are already in place as specified in the link.