DEX-Company / koi-clj

Reference implementation of Invokable services for Ocean Protocol
https://dex-company.github.io/koi-clj/
Eclipse Public License 1.0
0 stars 1 forks source link

Fix Hostname or IP address for Azure Container instances #66

Open shark8me opened 4 years ago

shark8me commented 4 years ago

Once Koi is deployed on Azure container Instances (ACI henceforth), it get a new IP address, which is troublesome for users.

What's required is to fix IP addresses or hostnames. Here's one way to do it.

mikera commented 4 years ago

@pedrorgirardi weren't you using Heroku for this? Can you guys figure out a consistent approach?

@ervintwj @aishwarya-nair please make sure all instances / deployments are appropriately tracked and managed.

pedrorgirardi commented 4 years ago

@mikera this was before I had Surfer hosted on Heroku; Koi was using the Surfer instance running on Azure container service which had the “new IP per deployment” issue.

I believe we can change it to use the prod Surfer instance (hosted on Heroku).

shark8me commented 4 years ago

We (including @AyushVerma2 ) are still trying to get this to work on Azure. There are a couple of ways to fix the IP address and/or a domain name for a server when deploying with Azure container instances. Once we fix the issue, we can decide if Azure is easier than Heroku for the 'live' deployment