Last active
October 2, 2017 17:58
-
-
Save bvanderlugt/f93a1cd1b1d212105201ddc783ba678f to your computer and use it in GitHub Desktop.
Amazon CLI trikz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# filter amis on region and name | |
aws ec2 describe-images --region us-west-2 --filters "Name=name,Values=rancheros-v1.1*" "Name=virtualization-type,Values=hvm" --query 'Images[*].Name' | |
# create key-pair and save to file | |
aws ec2 create-key-pair --key-name dummy --query "KeyMaterial" > dummy.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment