Last active
December 16, 2016 21:20
-
-
Save okram999/7c325850a6f23761f6251c3921050dd7 to your computer and use it in GitHub Desktop.
Some commands to provision env
This file contains hidden or 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
##aws cli command to create an EC2 | |
aws ec2 run-instances --image-id ami-d440a6e7 --security-group-ids sg-1a534363 --count 1 --instance-type t2.micro --key-name aws-hplap --query 'Instances[0].InstanceId' | |
##knife bootstrap | |
knife bootstrap ec2-54-202-209-195.us-west-2.compute.amazonaws.com -r "role[jenkinsCI_1]" -x centos -E utilities_dev_1 -N jen --sudo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment