<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Model Serving Endpoint Creation through API in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/108501#M3938</link>
    <description>&lt;P&gt;Hi, any update on this? I am hosting bedrock in the separate account and configured Databricks to use cross-account setup with all necessary trust configured on both sides. Getting the same error with trust relationship&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 04:04:10 GMT</pubDate>
    <dc:creator>denys_t</dc:creator>
    <dc:date>2025-02-03T04:04:10Z</dc:date>
    <item>
      <title>Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/56783#M2830</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a model serving endpoint via the API as explained here:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/servingendpoints/create" target="_blank"&gt;https://docs.databricks.com/api/workspace/servingendpoints/create&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created a&amp;nbsp;trusted IAM role with access to DynamoDB for the feature store. I try to use this field,&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"instance_profile_arn"&lt;/SPAN&gt;&lt;SPAN&gt;: "arn:aws:iam:..."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But I get the following error:&lt;BR /&gt;b'{"error_code":"BAD_REQUEST","message":"IAM role arn:aws:iam:..." does not have the required trust relationship."}'&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas? What does databricks expect of an IAM role so that it can be used by the model serving cluster?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jan 2024 15:32:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/56783#M2830</guid>
      <dc:creator>pablobd</dc:creator>
      <dc:date>2024-01-09T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/57947#M2887</link>
      <description>&lt;P&gt;Hi, Could you please see if this is satisfied,&amp;nbsp;&lt;A href="https://docs.databricks.com/en/compute/sql-warehouse/data-access-configuration.html#confirm-or-set-up-an-aws-instance-profile-to-use-with-your-serverless-sql-warehouses" target="_blank"&gt;https://docs.databricks.com/en/compute/sql-warehouse/data-access-configuration.html#confirm-or-set-up-an-aws-instance-profile-to-use-with-your-serverless-sql-warehouses&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 07:35:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/57947#M2887</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2024-01-20T07:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/58258#M2897</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/26078"&gt;@Debayan&lt;/a&gt;&amp;nbsp;- this article helped&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:35:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/58258#M2897</guid>
      <dc:creator>pablobd</dc:creator>
      <dc:date>2024-01-23T10:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/96366#M3748</link>
      <description>&lt;P&gt;I have a similar issue with a model serving endpoint I created for serving external models (Amazon Bedrock) with Mosaic AI model serving (&lt;A href="https://docs.databricks.com/en/generative-ai/external-models/index.html" target="_blank"&gt;https://docs.databricks.com/en/generative-ai/external-models/index.html&lt;/A&gt;). For this also, I can use an instance profile. I have added trust relationships as suggested to IAM role of the instance profile. Still I get this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 05:36:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/96366#M3748</guid>
      <dc:creator>malanevans</dc:creator>
      <dc:date>2024-10-28T05:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/108501#M3938</link>
      <description>&lt;P&gt;Hi, any update on this? I am hosting bedrock in the separate account and configured Databricks to use cross-account setup with all necessary trust configured on both sides. Getting the same error with trust relationship&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 04:04:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/108501#M3938</guid>
      <dc:creator>denys_t</dc:creator>
      <dc:date>2025-02-03T04:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/108663#M3942</link>
      <description>&lt;P&gt;This was a missing piece for me to make the serving endpoint work with the instance profile. The JSON below needs to be added to the IAM role trust which is used for the instance profile:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "arn:aws:iam::790110701330:role/serverless-customer-resource-role"
                ]
            },
            "Action": "sts:AssumeRole"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 21:24:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/108663#M3942</guid>
      <dc:creator>denys_t</dc:creator>
      <dc:date>2025-02-03T21:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Model Serving Endpoint Creation through API</title>
      <link>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/136775#M4391</link>
      <description>&lt;P&gt;If you're using the databricks terraform provider, make sure the role's name matches the instance-profile name.&lt;/P&gt;&lt;P&gt;If not, use the `iam_role_arn` attribute to explicitly set the role's arn when creating the databricks instance profile&lt;/P&gt;&lt;PRE&gt;resource "databricks_instance_profile" "this" {
  instance_profile_arn = aws_iam_instance_profile.this.arn
  iam_role_arn         = aws_iam_role.this.arn
}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;In addition to adding the databricks serverless role to the trust policy as others have stated above.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 16:01:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/model-serving-endpoint-creation-through-api/m-p/136775#M4391</guid>
      <dc:creator>EugeneBad</dc:creator>
      <dc:date>2025-10-30T16:01:02Z</dc:date>
    </item>
  </channel>
</rss>

