I am new to AWS. I wish to know -
- how to configure AWS-CLI (setup access and secret keys) automatically by bootstrap the EC2 instance, such that when somebody logs into the running instance he gets the AWS CLI already configured automatically and can straight away start running commands using the cli
- Also, if I create a custom AMI and configure AWS CLI on it, would all the instances that are derived from this custom AMI be getting the cli already configured ?
Any help will be appreciated.