<?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 The cluster with the instance profile cannot access the S3 bucket. 403 permission denied is thrown in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/the-cluster-with-the-instance-profile-cannot-access-the-s3/m-p/21914#M14977</link>
    <description>&lt;P&gt;The &lt;A href="https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html" alt="https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html" target="_blank"&gt;document&lt;/A&gt; has been followed to configure the instance profile. The ec2 instance is able to access the S3 bucket when configured the same instance profile. However, the cluster configured to use the same instance profile failed to access the S3 bucket due to permission denied. &lt;/P&gt;</description>
    <pubDate>Mon, 21 Jun 2021 23:05:50 GMT</pubDate>
    <dc:creator>User16752239289</dc:creator>
    <dc:date>2021-06-21T23:05:50Z</dc:date>
    <item>
      <title>The cluster with the instance profile cannot access the S3 bucket. 403 permission denied is thrown</title>
      <link>https://community.databricks.com/t5/data-engineering/the-cluster-with-the-instance-profile-cannot-access-the-s3/m-p/21914#M14977</link>
      <description>&lt;P&gt;The &lt;A href="https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html" alt="https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html" target="_blank"&gt;document&lt;/A&gt; has been followed to configure the instance profile. The ec2 instance is able to access the S3 bucket when configured the same instance profile. However, the cluster configured to use the same instance profile failed to access the S3 bucket due to permission denied. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 23:05:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/the-cluster-with-the-instance-profile-cannot-access-the-s3/m-p/21914#M14977</guid>
      <dc:creator>User16752239289</dc:creator>
      <dc:date>2021-06-21T23:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: The cluster with the instance profile cannot access the S3 bucket. 403 permission denied is thrown</title>
      <link>https://community.databricks.com/t5/data-engineering/the-cluster-with-the-instance-profile-cannot-access-the-s3/m-p/21915#M14978</link>
      <description>&lt;P&gt;I suspect this is due to AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY has been added to the spark environmental variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run %sh env | grep -i aws on your cluster and make sure  AWS_ACCESS_KEY_ID is not present. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, then please remove it either from the cluster advanced options -&amp;gt; spark -&amp;gt; Environment Variables or from the init scripts. Please make sure check both cluster scope init script and global init script. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 23:14:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/the-cluster-with-the-instance-profile-cannot-access-the-s3/m-p/21915#M14978</guid>
      <dc:creator>User16752239289</dc:creator>
      <dc:date>2021-06-21T23:14:16Z</dc:date>
    </item>
  </channel>
</rss>

