JHipster Registry - Problems deploying to ECS

75 Views Asked by At

I am trying to deploy JHipster registry to ECS - that's an OOTB 7.1.0 image. I created an ECS task, overriding the environment variables in the container definition:

Overriden environment variables

I also updated EUREKA_CLIENT_SERVICEURL_DEFAULTZONE and EUREKA_INSTANCE_HOSTNAME env. variables to point to the correct service discovery URLs, but I keep on getting UnknownHostException when the registry starts:

UnknownHostException

So it looks like some vars are picked up, while Eureka URLs are still using the defaults... In turn, I am not getting any instances registered:

Empty Eureka page

Am I just missing how it all works? Any help is greatly appreciated!

1

There are 1 best solutions below

3
Anthony Piñero On

Maybe this tutorial will he

Jhipster Registry on ECS Tutorial