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.
ec2-user
?service- id
in the EC2 instances. All users who log in should be able to run aws cli commands which should be preconfigured using the service id. 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 preconfigured ?service-id
? What is it and how is it associated with a user?