title: How to setup awscli without setting up access key & secret access key?
body: <p>I tried to find set aws-cli locally using IAM role &amp; without using access key/secret access key. But unable to get information from meta url[<a href="http://169.256.169.256/latest/meta-data]" rel="nofollow noreferrer">http://169.256.169.256/latest/meta-data]</a>.</p>
  
  <p>I am running Ec2 instance with Ubuntu Server 16.04 LTS (HVM), SSD Volume Type - ami-f3e5aa9c.I have tried to configure aws-cli on that instance.I am not sure what type of role/policy/user needed to get aws-cli configured in my Ec2 instance.</p>
  
  <p>Please provide me step by step guide to achieve that.I just need direction.So useful link also appreciated.</p>