Hi,
I'd like to create an ECS task with network mode "awsvpc". The container in the task should have a health check command calling a REST endpoint in the container via curl.
With bridge network mode I'd add the health check command as "CMD,curl,--fail,http://localhost:8080/health/check/endpoint".
However with awsvpc mode, it seems that the container is not reachable via localhost.
How does a healthcheck work if the network mode is "awsvpc"?
Cheers,
Markus