<?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>question Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226369#M82607</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/335/rkovacs.html" nodeid="335"&gt;@rkovacs&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I used the same json block to set Instance Profile.&lt;/P&gt;&lt;P&gt;But the IAM Role for the ec2-instances in the cluster are not getting set.&lt;/P&gt;&lt;P&gt;I looked cloudbreak 2.7 release code, and the code to picks up instanceProfile.&lt;/P&gt;&lt;P&gt;I am still in the process of debugging cloudbreak 2.7 to see why IAM Role is not getting set.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Sep 2018 23:17:25 GMT</pubDate>
    <dc:creator>rajkamalmn</dc:creator>
    <dc:date>2018-09-16T23:17:25Z</dc:date>
    <item>
      <title>Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226366#M82604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Requirement: Set IAM role for AWS ec-2 instances in the cluster.&lt;/P&gt;&lt;P&gt;Cloudbreak 2.4: Using cloudbreak 2.4 I used to create cluster with the following property in the template.&lt;/P&gt;&lt;PRE&gt;"parameters": {    

    "instanceProfile": "AWS_INSTANCE_PROFILE",    

    "instanceProfileStrategy": "USE_EXISTING"

}&lt;/PRE&gt;&lt;P&gt;This setting would create instances in the cluster with Role ARN of the Instance Profile as IAM Role.&lt;/P&gt;&lt;P&gt;Cloudbreak 2.7: In the process of recreating the clusters using cloudbreak 2.7, I am facing difficulties setting IAM Role for the instance.&lt;/P&gt;&lt;P&gt;I tried specifying instanceProfile like cloudbreak 2.4&lt;/P&gt;&lt;PRE&gt;"parameters": {    

    "instanceProfile": "AWS_INSTANCE_PROFILE",    

    "instanceProfileStrategy": "USE_EXISTING"

}&lt;/PRE&gt;&lt;P&gt;However the IAM Role was not set. &lt;/P&gt;&lt;P&gt;I created a HDP 3.0 cluster by selecting the CloudStorage option from UI and also saw that the IAM Role is not set.&lt;/P&gt;&lt;P&gt;Also I couldn't access S3 buckets that the role has access to.&lt;/P&gt;&lt;P&gt;I also tried creating a cluster using the following block inside "cluster" in the template.&lt;/P&gt;&lt;PRE&gt;"cloudStorage": {
  "s3": {
    "instanceProfile": "instance-profile-arn"
   }
}
&lt;/PRE&gt;&lt;P&gt;However the IAM Role is not set for any instance in the cluster.&lt;/P&gt;&lt;P&gt;And I am not able to access S3 from any instance in the cluster.&lt;/P&gt;&lt;P&gt;Can you please let me know, how to set IAM Role for the instances in the cluster.&lt;/P&gt;&lt;P&gt;My requirement is to access S3 Locations from the cluster.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:01:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226366#M82604</guid>
      <dc:creator>rajkamalmn</dc:creator>
      <dc:date>2018-08-24T06:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226367#M82605</link>
      <description>&lt;P&gt;cc: &lt;A href="https://community.hortonworks.com/users/10827/pdarvasi.html"&gt;@pdarvasi&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/10146/dbialek.html"&gt;@Dominika Bialek&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 19:05:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226367#M82605</guid>
      <dc:creator>rajkamalmn</dc:creator>
      <dc:date>2018-08-24T19:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226368#M82606</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18255/rajkamalmn.html" nodeid="18255"&gt;@Rajkamal Mahamuni Natarajan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Here is an example how the instance profile needs to look like:&lt;/P&gt;&lt;PRE&gt;"cloudStorage": {
      "locations": null,
      "s3": {
        "instanceProfile": "arn:aws:iam::1234567890:instance-profile/full-access"
      },&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Sep 2018 21:30:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226368#M82606</guid>
      <dc:creator>rkovacs</dc:creator>
      <dc:date>2018-09-05T21:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226369#M82607</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/335/rkovacs.html" nodeid="335"&gt;@rkovacs&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the response. I used the same json block to set Instance Profile.&lt;/P&gt;&lt;P&gt;But the IAM Role for the ec2-instances in the cluster are not getting set.&lt;/P&gt;&lt;P&gt;I looked cloudbreak 2.7 release code, and the code to picks up instanceProfile.&lt;/P&gt;&lt;P&gt;I am still in the process of debugging cloudbreak 2.7 to see why IAM Role is not getting set.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 23:17:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226369#M82607</guid>
      <dc:creator>rajkamalmn</dc:creator>
      <dc:date>2018-09-16T23:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226370#M82608</link>
      <description>&lt;P&gt;I am able to successfully set the IAM Role by creating a cluster from UI.&lt;/P&gt;&lt;P&gt;However, If i get the template for the cluster and use the template to create cluster using cb shell, the IAM Role is not getting set.&lt;/P&gt;&lt;P&gt;I will update the thread with progress.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 02:21:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226370#M82608</guid>
      <dc:creator>rajkamalmn</dc:creator>
      <dc:date>2018-09-25T02:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting IAM Role for AWS ec2 Instances using Cloudbreak 2.7</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226371#M82609</link>
      <description>&lt;P&gt;The IAM Role was not getting set as i was using cb shell 2.4 and not 2.7.&lt;/P&gt;&lt;P&gt;Once I downloaded the CLI 2.7, I was able to created a cluster with Iam Role set.&lt;/P&gt;&lt;P&gt;I used the Cloud Storage as mentioned by &lt;A rel="user" href="https://community.cloudera.com/users/335/rkovacs.html" nodeid="335"&gt;@rkovacs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did a Blunder not upgrading CB shell !&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 08:34:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-IAM-Role-for-AWS-ec2-Instances-using-Cloudbreak-2-7/m-p/226371#M82609</guid>
      <dc:creator>rajkamalmn</dc:creator>
      <dc:date>2018-09-27T08:34:05Z</dc:date>
    </item>
  </channel>
</rss>

