question

AamerAshraf-2654 avatar image
0 Votes"
AamerAshraf-2654 asked ·

Secure Azure Machine Learning REST Endpoints (deployed in ACI) with TLS

We have developed and deployed machine learning models in AML Studio. The models were deployed using ACI and we have REST endpoints that we can make calls to successfully. Next thing that I need to do is to secure the endpoints using TLS. I am going through the following article:

https://docs.microsoft.com/en-us/azure/machine-learning/how-to-secure-web-service#enable

The article suggests that I need to get a domain and then update our DNS point to the IP address of scoring endpoint. I have a subdomain ready to use but as for the IP address, I can't work out where I would get the IP address of the scoring endpoint and how I would even be able to map this to the endpoint as the current endpoint do not contain and IP address and look nothing like the example in the article.

URIs currently look like the following:
http://xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx.northeurope.azurecontainer.io/score

Anyone able to help with this one please as it's a little confusing and I can't find any guidance online anywhere?

azure-machine-learning
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YutongTie-MSFT avatar image
0 Votes"
YutongTie-MSFT answered ·

Hello,

You can do it according to DNS.

A “URL” is a full specification to a page. For example:

http://example.com/this_is_example.html is a URL. It has three parts:

The protocol specifier: http:

The domain name: example.com

The page location: /this_is_example.html

The protocol specifies the port that will be used. http, for example, is
port 80. ftp uses ports 20 and 21. SMTP, the mail sending protocol, is usually
on port 25. You can actually find the full list of “official” ports here.

It’s only the domain name that has an IP address associated with it. So that’s what you would be looking up.

My approach is to use the “ping” command in a Windows command prompt. For
example:

C:\>ping example.com

Then you can get it.


Regards,
Yutong

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your reply Yutong,

I have obtained an IP address by pinging the domain. I'm not sure though if this is a long term solution as the IP address is probably not static and perhaps may change in future, not sure.

0 Votes 0 ·

Hello Aamer,

Yes, I am seeking more options. Will let you know if there is one.

Please accept this answer to help the community.


Regards,
Yutong

0 Votes 0 ·