Container with Ansible and Boto used to deploy an HTCondor execute node in EC2
226
This container will deploy an HTCondor execute node in Amazon EC2 using an Ubuntu AMI.
docker container run --name=ansible \
-v $PWD/aws_full.bash:/ec2user/aws.bash \
-v $PWD/varsec2.yml:/ec2user/varsec2.yml \
-v $PWD/varshtcondor_full.yml:/ec2user/varshtcondor.yml \
-v $PWD/ec2remote.pem:/ec2user/ec2remote.pem \
-v $PWD/poolpass:/ec2user/poolpass \
-v $PWD/deploy.log:/ec2user/deploy.log \
--rm -it edza78/deploycondorec2:1.0
http://research.cs.wisc.edu/htcondor/manual/current/3_8Security.html#SECTION00483400000000000000
http://research.cs.wisc.edu/htcondor/manual/current/condor_store_cred.html#92136
Default values # EC2 CLI account key. export AWS_ACCESS_KEY_ID='YOUR_ACCESS_KEY_HERE' export AWS_SECRET_ACCESS_KEY='YOUR_SECRET_KEY_HERE'
Default values # Region to use aws_region: "us-east-2" # Security group with port 22 and 443 enabled sec_group: "default" # EC2 Key aws_key: "ec2remote" # Ubuntu AMI-ID, must exists in selected Region. aws_image: "ami-0f65671a86f061fcd" # Instances to start count: 1 # Instance type ins_type: "t2.micro" # Tag for EC2 console tag: uvcluster
Default values # HTCondor's master htmaster: "YOUR_MASTER_PUBLIC_NAME_OR_IP_HERE" # Domains allowed to run jobs htdomains: "YOUR_EXTRA_DOMAINS_HERE" # Extra options # -nd: Domain asigned to the node(s). # -passex: Enable password for execute node (password file: poolpass) # How to create poolpass file: # http://research.cs.wisc.edu/htcondor/manual/current/condor_store_cred.html#92136 htextra: "-nd amazonaws.com -passex" # Live time in minutes for the Instances, as Amazon charges 1 hours for every boot. # Define it as (Hours*60)-10. ie. 1 Hour=50, 2 Hours=110. livetime: 50
Content type
Image
Digest
Size
85.3 MB
Last updated
over 8 years ago
docker pull edza78/deploycondorec2:1.0