Skip to content

Instantly share code, notes, and snippets.

@chtz
Last active October 4, 2016 12:16
Show Gist options
  • Save chtz/7301871 to your computer and use it in GitHub Desktop.
Save chtz/7301871 to your computer and use it in GitHub Desktop.
Sample AWS EC2 cli-command to start a new JBoss DEV Env instance
aws ec2 run-instances --image-id ami-687b4f2d --key-name chrigimacbook --security-groups HTTP_SSH --user-data `curl -s https://gist.github.com/chtz/7301111/raw/a66eba513f67e24d3e45415ddaebca34ff9e86c6/jboss_dev_env_cloudinit.sh | base64` --instance-type m1.small --iam-instance-profile Arn=arn:aws:iam::261512354225:instance-profile/adminRole --count 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment