<?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 Unable to Access S3 from Serverless but Works on Cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112187#M44129</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to access data from S3 using an access key and secret. When I run the code through Databricks clusters, it works fine. However, when I try to do the same from a serverless cluster , I am unable to access the data.&lt;/P&gt;&lt;P&gt;I have already checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The credentials (access key and secret) are correct.&lt;/LI&gt;&lt;LI&gt;databricks scope&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could someone guide me on what additional configurations or steps I need to follow to make this work from a server?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 17:34:59 GMT</pubDate>
    <dc:creator>HarryRichard08</dc:creator>
    <dc:date>2025-03-10T17:34:59Z</dc:date>
    <item>
      <title>Unable to Access S3 from Serverless but Works on Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112187#M44129</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to access data from S3 using an access key and secret. When I run the code through Databricks clusters, it works fine. However, when I try to do the same from a serverless cluster , I am unable to access the data.&lt;/P&gt;&lt;P&gt;I have already checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The credentials (access key and secret) are correct.&lt;/LI&gt;&lt;LI&gt;databricks scope&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could someone guide me on what additional configurations or steps I need to follow to make this work from a server?&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 17:34:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112187#M44129</guid>
      <dc:creator>HarryRichard08</dc:creator>
      <dc:date>2025-03-10T17:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Access S3 from Serverless but Works on Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112191#M44132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/152072"&gt;@HarryRichard08&lt;/a&gt;&amp;nbsp;, Can you please provide the sample code you are using? And the error you get with serverless?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 19:22:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112191#M44132</guid>
      <dc:creator>KaranamS</dc:creator>
      <dc:date>2025-03-10T19:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Access S3 from Serverless but Works on Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112272#M44156</link>
      <description>&lt;P&gt;Hi Karanam&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please find the syntax below&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"fs.s3a.access.key"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"xxxxxxxxxxxxxxxxxxxx"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spark.conf.&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"fs.s3a.secret.key"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"xxxxxxxxxxxxxxxxxxxxxx"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:20:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112272#M44156</guid>
      <dc:creator>HarryRichard08</dc:creator>
      <dc:date>2025-03-11T11:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Access S3 from Serverless but Works on Cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112310#M44172</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/152072"&gt;@HarryRichard08&lt;/a&gt;, Databricks recommends using instance profiles (IAM roles) to connect to AWS S3 as they provide a secure and scalable method without embedding credentials in a notebook. Have you tried this approach?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/connect/storage/tutorial-s3-instance-profile" target="_blank"&gt;https://docs.databricks.com/aws/en/connect/storage/tutorial-s3-instance-profile&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 21:38:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-access-s3-from-serverless-but-works-on-cluster/m-p/112310#M44172</guid>
      <dc:creator>KaranamS</dc:creator>
      <dc:date>2025-03-11T21:38:16Z</dc:date>
    </item>
  </channel>
</rss>

