Difference between revisions of "AWS/CLI"
< AWS
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
or | or | ||
sudo apt-get install awscli #it will update a lot of packages to Python3 but will leave 2.7 as default | sudo apt-get install awscli #it will update a lot of packages to Python3 but will leave 2.7 as default | ||
= Configure = | |||
Create default profile in ~/.aws/credentials file | |||
aws configure | |||
= Examples = | = Examples = |
Revision as of 15:16, 9 April 2017
Install AWS cli (command line)
curl -O https://bootstrap.pypa.io/get-pip.py python get-pip.py pip install awscli
or
sudo apt-get install awscli #it will update a lot of packages to Python3 but will leave 2.7 as default
Configure
Create default profile in ~/.aws/credentials file
aws configure
Examples
Create a reusable delegation set with a unique string '20170409'
aws route53 create-reusable-delegation-set --caller-reference 20170409
List the reusable-delegation-set created in ~/.aws/credentials profile
aws route53 list-reusable-delegation-sets --profile terraform-profile
References
- [create-reusable-delegation-set http://docs.aws.amazon.com/cli/latest/reference/route53/create-reusable-delegation-set.html] aws . route53 cli
- [Configuring White Label Name Servers http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html] AWS docs