aws auto scaling docker instance not work

I had create an instance by myself. I install docker in my instance, and I created an alb, I open the alb domain, it can open my web.

This is my docker container structure.

alb will forward to 9192 port

alb --->  nginx ----> php
         9192:80

I want use my instance as my auto scaling AMI.

This is my instance docker structure.

  nginx ----> php
 9192:80

Use this AMI as my Launch configuration, and my Target group's port is 9192 for my new alb, I found the health check is work, but my new alb domain name isn't work. I have no idea how to fix it. Thanks your help.



Read more here: https://stackoverflow.com/questions/64404240/aws-auto-scaling-docker-instance-not-work

Content Attribution

This content was originally published by lighter at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: