You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-secure-kubernetes-online-endpoint.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,13 @@ TLS and SSL both rely on *digital certificates*, which help with encryption and
31
31
32
32
This is the general process to secure an online endpoint:
33
33
34
-
1. Get a [domain name](#get-a-domain-name).
34
+
1.[Get a domain name](#get-a-domain-name).
35
35
36
-
1. Get a [digital certificate](#get-a-tlsssl-certificate).
36
+
1.[Get a digital certificate](#get-a-tlsssl-certificate).
37
37
38
38
1.[Configure TLS/SSL in the Azure Machine Learning extension](#configure-tlsssl-in-the-azure-machine-learning-extension).
39
39
40
-
1.[Update your DNS with FQDN to point to the online endpoint](#update-your-dns-with-fqdn).
40
+
1.[Update your DNS with an FQDN to point to the online endpoint](#update-your-dns-with-an-fqdn).
41
41
42
42
> [!IMPORTANT]
43
43
> You need to purchase your own certificate to get a domain name or TLS/SSL certificate, and then configure them in the Azure Machine Learning extension. For more detailed information, see the following sections of this article.
@@ -46,21 +46,21 @@ This is the general process to secure an online endpoint:
46
46
47
47
If you don't already own a domain name, purchase one from a *domain name registrar*. The process and price differ among registrars. The registrar provides tools to manage the domain name. You use these tools to map a fully qualified domain name (FQDN) (such as `www.contoso.com`) to the IP address that hosts your online endpoint.
48
48
49
-
For more information on how to get the IP address of your online endpoints, see the [Update your DNS with FQDN](#update-your-dns-with-fqdn) section of this article.
49
+
For more information on how to get the IP address of your online endpoints, see the [Update your DNS with an FQDN](#update-your-dns-with-an-fqdn) section of this article.
50
50
51
51
## Get a TLS/SSL certificate
52
52
53
-
There are many ways to get a TLS/SSL certificate (digital certificate). The most common is to purchase one from a *certificate authority* (CA). Regardless of where you get the certificate, you need the following files:
53
+
There are many ways to get a TLS/SSL certificate (digital certificate). The most common is to purchase one from a *certificate authority*. Regardless of where you get the certificate, you need the following files:
54
54
55
-
-**Certificate**. The certificate must contain the full certificate chain, and it must be PEM encoded.
56
-
-**Key**. The key must also be PEM encoded.
55
+
-A certificate that contains the full certificate chain and is PEM encoded
56
+
-A key that's PEM encoded
57
57
58
58
> [!NOTE]
59
59
> An SSL key in a PEM file with passphrase protection is not supported.
60
60
61
61
When you request a certificate, you must provide the FQDN of the address that you plan to use for the online endpoint (for example, `www.contoso.com`). The address that's stamped into the certificate and the address that the clients use are compared to verify the identity of the online endpoint. If those addresses don't match, the client gets an error message.
62
62
63
-
For more information on how to configure IP banding with an FQDN, see the [Update your DNS with FQDN](#update-your-dns-with-fqdn) section of this article.
63
+
For more information on how to configure IP banding with an FQDN, see the [Update your DNS with an FQDN](#update-your-dns-with-an-fqdn) section of this article.
64
64
65
65
> [!TIP]
66
66
> If the certificate authority can't provide the certificate and key as PEM-encoded files, you can use a tool like [OpenSSL](https://www.openssl.org/) to change the format.
@@ -72,7 +72,7 @@ For more information on how to configure IP banding with an FQDN, see the [Updat
72
72
73
73
For a Kubernetes online endpoint that's set to use inference HTTPS for secure connections, you can enable TLS termination with deployment configuration settings when you [deploy the Azure Machine Learning extension](how-to-deploy-managed-online-endpoints.md) in a Kubernetes cluster.
74
74
75
-
At deployment time for the Azure Machine Learning extension, the `allowInsecureConnections` configuration setting is `False` by default. You need to specify either the `sslSecret` configuration setting or a combination of `sslKeyPemFile` and `sslCertPemFile` configuration-protected settings to ensure successful extension deployment. Otherwise, you can set `allowInsecureConnections=True` to support HTTP and disable TLS termination.
75
+
At deployment time for the Azure Machine Learning extension, the `allowInsecureConnections` configuration setting is `False` by default. To ensure successful extension deployment, you need to specify either the `sslSecret` configuration setting or a combination of `sslKeyPemFile` and `sslCertPemFile` configuration-protected settings. Otherwise, you can set `allowInsecureConnections=True` to support HTTP and disable TLS termination.
76
76
77
77
> [!NOTE]
78
78
> To support the HTTPS online endpoint, `allowInsecureConnections` must be set to `False`.
@@ -104,7 +104,7 @@ type: Opaque
104
104
105
105
For more information on configuring `sslSecret`, see [Reference for configuring a Kubernetes cluster for Azure Machine Learning](reference-kubernetes.md#sample-yaml-definition-of-kubernetes-secret-for-tlsssl).
106
106
107
-
After you save the secret in your cluster, you can use the following CLI command to specify `sslSecret` as the name of this Kubernetes secret. (This command will work only if you're using AKS.)
107
+
After you save the secret in your cluster, you can use the following Azure CLI command to specify `sslSecret` as the name of this Kubernetes secret. (This command will work only if you're using AKS.)
@@ -124,7 +124,7 @@ The following example demonstrates how to use the Azure CLI to specify PEM files
124
124
> - A PEM file with passphrase protection is not supported.
125
125
> - Both `sslCertPemFIle` and `sslKeyPemFIle` use configuration-protected parameters. They don't configure `sslSecret` and `sslCertPemFile`/`sslKeyPemFile` at the same time.
126
126
127
-
## Update your DNS with FQDN
127
+
## Update your DNS with an FQDN
128
128
129
129
For model deployment on a Kubernetes online endpoint with a custom certificate, you must update your DNS record to point to the IP address of the online endpoint. The Azure Machine Learning inference router service (`azureml-fe`) provides this IP address. For more information about `azureml-fe`, see [Managed Azure Machine Learning inference router](how-to-kubernetes-inference-routing-azureml-fe.md).
130
130
@@ -168,7 +168,7 @@ TLS/SSL certificates expire and must be renewed. Typically, this happens every y
If you directly configured the PEM files in extension deployment command before, you need to run the extension update command and specify the new PEM file's path:
171
+
If you directly configured the PEM files in the extension deployment command before, you need to run the extension update command and specify the new PEM file's path:
0 commit comments