Created
August 18, 2012 19:04
-
-
Save jclouds/3389111 to your computer and use it in GitHub Desktop.
create a windows VM in jclouds 1.5.0-beta.10
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
;; deps: 1.5.0-beta.10 org.jclouds/provider/aws-ec2 org.jclouds/driver/jclouds-bouncycastle | |
(use 'org.jclouds.compute2) | |
(def compute (compute-service "aws-ec2" "ACCESS" "SECRET" :bouncycastle )) | |
;; image has winrm installed | |
(def windows (create-node compute "windows" (build-template compute { :inbound-ports [5986, 3389] :image-id "us-east-1/ami-0cb76d65" :hardware-id "m1.small" } ) ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment